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

NullPointerException when a dependency uses version range and another uses an actual version incompatible with that range

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2-beta-2
    • 2.2-beta-3
    • None
    • None
    • Windows XP SP2, Maven see above, JDK 6

    Description

      This is simply a regression/reoccurence of MNG-2123, test dependency makes the whole system fail.

      Debug logs are attached.

      If I test with slf4j-nop with soft version 1.5.5 it works flawlessly.
      Here is the source: http://svn.fckeditor.net/FCKeditor.Java/trunk/ r2607
      run with "mvn site package assembly:assembly"

      Attachments

        1. debug-2.1.0-M1.log
          625 kB
          Michael Osipov
        2. debug-2.0.9.log
          626 kB
          Michael Osipov

        Issue Links

          Activity

            marking fixed.

            jdcasey John Dennis Casey added a comment - marking fixed.
            michael-o Michael Osipov added a comment -

            Brett,

            I made a fresh rev checkout with Maven 2.0.11 and the same error still occurs. I have bumped plugin version from beta-3 throughout beta-5. All subsequent beta-2 releases have this bug fixed. So beta-2 fails all others work flawlessly.

            You can mark this one fixed with beta-3.

            michael-o Michael Osipov added a comment - Brett, I made a fresh rev checkout with Maven 2.0.11 and the same error still occurs. I have bumped plugin version from beta-3 throughout beta-5. All subsequent beta-2 releases have this bug fixed. So beta-2 fails all others work flawlessly. You can mark this one fixed with beta-3.
            brett Brett Porter added a comment -

            This only occurs in the assembly plugin. I can reproduce it with the fckeditor source at the given revision, but have had trouble building a small project to reproduce. Are you still experiencing this?

            brett Brett Porter added a comment - This only occurs in the assembly plugin. I can reproduce it with the fckeditor source at the given revision, but have had trouble building a small project to reproduce. Are you still experiencing this?
            brett Brett Porter added a comment -

            ok, yes, I see it now. This is not a regression (it occurs in several versions of Maven), but probably a related bug.

            brett Brett Porter added a comment - ok, yes, I see it now. This is not a regression (it occurs in several versions of Maven), but probably a related bug.
            sgfan Michael Osipov added a comment -

            Hi Brett,

            did you change the sfl4j version to the commented range? [1.5.5,1.6)

            sgfan Michael Osipov added a comment - Hi Brett, did you change the sfl4j version to the commented range? [1.5.5,1.6)
            brett Brett Porter added a comment -

            I built with a clean repository and can't reproduce this issue.

            brett Brett Porter added a comment - I built with a clean repository and can't reproduce this issue.
            brett Brett Porter added a comment -

            unclear to me if this was a regression in 2.1.0-M1 or never worked - will check it out

            brett Brett Porter added a comment - unclear to me if this was a regression in 2.1.0-M1 or never worked - will check it out

            People

              jdcasey John Dennis Casey
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: