You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Martin Jozef Jamszolik (JIRA)" <ji...@codehaus.org> on 2010/11/01 16:20:03 UTC
[jira] Commented: (MSHARED-169) *-SNAPSHOT.jar referenced in
manifest as *-20101029.223815-3.jar
[ http://jira.codehaus.org/browse/MSHARED-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241648#action_241648 ]
Martin Jozef Jamszolik commented on MSHARED-169:
------------------------------------------------
After studying maven-archiver code. I used <useUniqueVersions>false</useUniqueVersions> under <manifest> tag and that seems to correct the mismatch. However, I find it disturbing that the default configuration breaks the project runtime until we add this configuration flag. Hence i still believe it's a bug.
> *-SNAPSHOT.jar referenced in manifest as *-20101029.223815-3.jar
> ----------------------------------------------------------------
>
> Key: MSHARED-169
> URL: http://jira.codehaus.org/browse/MSHARED-169
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-archiver
> Affects Versions: maven-archiver-2.4
> Environment: Maven 2.2.1 and Maven 3.0. Linux build machine and Windows xp development box
> Reporter: Martin Jozef Jamszolik
> Priority: Critical
>
> Build involves an EAR, WAR and JAR projects.
> Steps to reproduce:
> 1)project business.jar hold dependency on project security.jar
> 2)security.jar is accessible only from remote repository (important!) and as an snapshot. ( ex security-10.04.20-20101029.223815-3.jar)
> 3)business.jar adds classpath entries to manifest as security-10.04.20-20101029.223815-3.jar.
> 4)business.jar and security.jar get packaged in an EAR as business-SNAPSHOT.jar and security-SNAPSHOT.jar.
> On startup application fails to load due to unresolved compilation errors. security-10.04.20-20101029.223815-3.jar cannot be found.
> I believe that the entry in the manifest should have been security-SNAPSHOT.jar to match the actual jar that's copied into the ear or war.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira