Maven 1

NPE copying resources when no directory

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1-beta-3
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

eg: build commons-compress on maven 1.1 beta 2.

This is not related to any change in the java plugin, it seems to be a change in the result of the expression that checks whether the resources are empty. This is probably because resources come back null instead of an empty list from the model?

Activity

Hide
Brett Porter added a comment -

actually, there were some listed - in the parent project. they have no directory. 1.0.2 assumed no directory meant a directory of '.'

Show
Brett Porter added a comment - actually, there were some listed - in the parent project. they have no directory. 1.0.2 assumed no directory meant a directory of '.'

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: