Maven 2 & 3

ActiveProjectArtifact.getFile(..) and .setFile(..) result in StackOverflowException, since they are effectively recursive

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Cannot Reproduce
  • Affects Version/s: 2.0.4
  • Fix Version/s: 2.0.5
  • Component/s: General
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

When in a reactor situation, calling ActiveProjectArtifact.getFile(..) or ActiveProjectArtifact.setFile(..) will usually result in recursive calls and a StackOverlowError, since it tries to set/get the file of the project's artifact, which is usually a reference to itself.

Activity

Hide
John Casey added a comment -

this was a problem on my side.

Show
John Casey added a comment - this was a problem on my side.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: