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

Class-Path manifest entry should support maven repository layout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • maven-archiver
    • None

    Description

      The assembly plugin supports outputting all dependencies in a repository layout.
      The jar plugin should support adding the classpath manifest entry based on the repository layout.
      The combination of the two makes it easy to write a script to run the app: "java -jar org/domain/project/projectApp.jar" at the base of the repository layout.

      Example of a Class-Path entry:
      ClassPath: org/springframework/spring-core/2.0/spring-core-2.0.jar;org/drools/drools-core/4.0/drools-core-4.0.jar;org/domain/project/projectApp.jar

      Also see maven user mailing list "maven-jar-plugin: how to avoid conflicts in <addClasspath>"

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              olamy Olivier Lamy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: