Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAR-37

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAR-37
    Summary: maven.jar.manifest.classpath.add should work like ejb plugin
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: 2 hours
 Time Spent: Unknown
  Remaining: 2 hours

    Project: maven-jar-plugin
   Versions:
             1.6

   Assignee: Jason van Zyl
   Reporter: Dan Greening

    Created: Tue, 10 Aug 2004 8:42 PM
    Updated: Tue, 10 Aug 2004 8:42 PM

Description:
Setting maven.jar.manifest.classpath.add=true only adds the classpath to the jar file, 
but does not include the actual jars in the dependency.

A much cleaner approach is provided by the EJB plugin, where you add properties in the 
POM dependencies, thus:

  <properties>
    <ejb.manifest.classpath>true</ejb.manifest.classpath>
    <ejb.bundle>true</ejb.bundle>
  </properties>

For the JAR plugin it should be:

  <properties>
    <jar.manifest.classpath>true</jar.manifest.classpath>
    <jar.bundle>true</jar.bundle>
  </properties>

And then, we should completely get rid of that maven.jar.manifest.classpath.add thing.

A related issue (but not quite the same) appears in 
http://jira.codehaus.org/browse/MPJAR-25.

An alternative approach, including a patch, was provided in 
http://jira.codehaus.org/browse/MPJAR-4, HOWEVER, the patch unzips 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.)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to