Maven 1.x Jar Plugin

add jar.bundle property for dependencies

Details

  • Type: Wish Wish
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    2

Description

Enable including content of another jar in this archive. Reduce the number of jar files of an application.

  1. maven-759.2.patch.diff
    17/Sep/03 1:26 AM
    4 kB
    Joachim Bader
  2. patch.diff
    01/Sep/03 1:04 AM
    2 kB
    Joachim Bader

Activity

Hide
Joachim Bader added a comment -

wrong issue name: "add jar.bundle property for dependencies" better is "add jar.include property for dependencies", sorry

Show
Joachim Bader added a comment - wrong issue name: "add jar.bundle property for dependencies" better is "add jar.include property for dependencies", sorry
Hide
Joachim Bader added a comment -

provides jar include with filset.includes/excludes

Show
Joachim Bader added a comment - provides jar include with filset.includes/excludes
Hide
Dan Greening added a comment -

The patches Joachim provided unzip the included jar files, complicating the jar file unnecessarily. (I suppose this could be an option, such as "maven.jar.explode.jars", to support J2ME, which cannot handle embedded jar files.)

See an alternate proposal in http://jira.codehaus.org/browse/MPJAR-37, which argues for an EJB plugin-like approach.

Show
Dan Greening added a comment - The patches Joachim provided unzip the included jar files, complicating the jar file unnecessarily. (I suppose this could be an option, such as "maven.jar.explode.jars", to support J2ME, which cannot handle embedded jar files.) See an alternate proposal in http://jira.codehaus.org/browse/MPJAR-37, which argues for an EJB plugin-like approach.
Hide
Alwyn Schoeman added a comment -

Ok, this might be a stupid comment based on inexperience, but for something like making sar files, I would like the jar plugin to have a jar.bundle and then
actually put the jar inside the jar as is.

If not so stupid, then it is important that you can specify it in the
dependency part of the pom as I am not going to put the jar in my cvs/svn
repository and it must work for a team.

Show
Alwyn Schoeman added a comment - Ok, this might be a stupid comment based on inexperience, but for something like making sar files, I would like the jar plugin to have a jar.bundle and then actually put the jar inside the jar as is. If not so stupid, then it is important that you can specify it in the dependency part of the pom as I am not going to put the jar in my cvs/svn repository and it must work for a team.
Hide
Henrik Lynggaard added a comment -

I really hope this gets into the next release..

What I am looking for is something like what the javaapp plugin does ( http://maven-plugins.sourceforge.net/maven-javaapp-plugin/index.html ),
but I want it to be the jar:jar goal that has this ability

That way I can avoid all sort of hooks, in order for dist and others to pick up the "real" jar

Show
Henrik Lynggaard added a comment - I really hope this gets into the next release.. What I am looking for is something like what the javaapp plugin does ( http://maven-plugins.sourceforge.net/maven-javaapp-plugin/index.html ), but I want it to be the jar:jar goal that has this ability That way I can avoid all sort of hooks, in order for dist and others to pick up the "real" jar

People

Vote (3)
Watch (3)

Dates

  • Created:
    Updated:

Time Tracking

Estimated:
30m
Original Estimate - 30 minutes
Remaining:
30m
Remaining Estimate - 30 minutes
Logged:
Not Specified
Time Spent - Not Specified