Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-850

Class-path ignores runtime dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Pending Closed
    • None
    • None
    • None
    • None

    Description

      I add runtime-scoped dependencies using custom assembly descriptor and use <addClasspath>true</addClasspath> in POM. Runtime dependencies are correctly added to the JAR, and classpath is added to the manifest, however, it only contains compile-scoped dependencies.
      This worked correctly with maven 2 and assembly:attached goal.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            ondrej.par@devterium.cz Ondrej Par
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: