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

Think about WARNING for module dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4
    • 2.4.1
    • moduleSet
    • None

    Description

      Currently the maven-assembly-plugin produces a WARNING like this:

      [INFO] 
      [INFO] --- maven-assembly-plugin:2.4:single (make-bundles-attached) @ dist ---
      [INFO] Reading assembly descriptor: proj1-assembly.xml
      [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs.
      [INFO] Building zip: /Users/kama/ws-git/apache/massembly/massembly-628/dist/target/dist-1.0.0-SNAPSHOT-bin.zip
      [INFO] 
      [INFO] --- maven-assembly-plugin:2.4:single (make-bundles-not-attached) @ dist ---
      [INFO] Reading assembly descriptor: proj1-dir.xml
      [WARNING] NOTE: Currently, inclusion of module dependencies may produce unpredictable results if a version conflict occurs.
      [INFO] Copying files to /Users/kama/ws-git/apache/massembly/massembly-628/dist/target/dist-1.0.0-SNAPSHOT-bin-dir
      [INFO] ------------------------------------------------------------------------
      

      If you use a moduleSet within your descriptor which should only happen if really problem exist. In this case it does not exist really a problem, cause all versions are fine.

      This means that we need to check the versions? Can we predict this in a better way...? Is this really possible within maven-assembly-plugin ?

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            khmarbaise Karl Heinz Marbaise
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: