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

DependencySet: Jars with scope runtime not assembled anymore in 2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2-beta-1
    • None
    • None

    Description

      Hi!

      After upgrading from 2.0.1 to 2.1 suddenly only my scope=compile dependencies are assembled, no runtime anymore. I therefore had to downgrade again to 2.0.1 in my POM to have the correct behaviour again.

      I attach my POM and my assembly-descriptor.

      Maybe this is a hint: All runtime deps in the POM are originally compile deps within the indirect POMs (POMs of other projects which have compile scope in my POM), in most cases with different versions. This means I overwrite the original references, replace them with other versions and move scope to runtime (because I do not need them for compilation).

      Attachments

        1. descriptor-bin.xml
          3 kB
          Michael Schneider
        2. pom.xml
          7 kB
          Michael Schneider

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              m_schnei Michael Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: