Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-169

*-SNAPSHOT.jar referenced in manifest as *-20101029.223815-3.jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • maven-archiver-2.4
    • None
    • maven-archiver
    • None
    • Maven 2.2.1 and Maven 3.0. Linux build machine and Windows xp development box

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mjreged Martin Jozef
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: