Maven 2.x Assembly Plugin

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.2-beta-2
  • Fix Version/s: 2.2-beta-3
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows XP SP2, Maven see above, JDK 6
  • Number of attachments :
    2

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"

  1. debug-2.0.9.log
    28/Oct/08 8:16 AM
    626 kB
    Michael Osipov
  2. debug-2.1.0-M1.log
    28/Oct/08 8:16 AM
    625 kB
    Michael Osipov

Issue Links

Activity

Hide
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

Show
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
Hide
Brett Porter added a comment -

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

Show
Brett Porter added a comment - I built with a clean repository and can't reproduce this issue.
Hide
Michael Osipov added a comment -

Hi Brett,

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

Show
Michael Osipov added a comment - Hi Brett, did you change the sfl4j version to the commented range? [1.5.5,1.6)
Hide
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.

Show
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.
Hide
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?

Show
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?
Hide
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.

Show
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.
Hide
John Casey added a comment -

marking fixed.

Show
John Casey added a comment - marking fixed.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: