Affects Version/s: maven-archiver-2.4
Fix Version/s: None
Environment:Maven 2.2.1 and Maven 3.0. Linux build machine and Windows xp development box
Number of attachments :
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.