Maven 2 & 3

StringIndexOutOfBounds -1 during path translation while reading pom.xml

Details

  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

<directory>${basedir}</directory> expresses this. The problem is that the DefaultPathTranslator expects there to be more than the simple basedir expression, and chokes if it encounters that expression as the only part of the value.

Issue Links

Activity

Hide
Benjamin Bentmann added a comment -

MNG-3475 has a patch attached that might be of interest for this issue.

Show
Benjamin Bentmann added a comment - MNG-3475 has a patch attached that might be of interest for this issue.
Hide
John Casey added a comment -

Fixed in 2.0.9 (see http://www.nabble.com/-2.0.9-RC6--Release-Candidate-testing-to16435467.html#a16435467), but forgot to close the issue. I'm marking fix version for both 2.0.9 and 2.0.10, to allow it to show up on the 2.0.10 changelog, since I just re-verified that this fix is in place.

Show
John Casey added a comment - Fixed in 2.0.9 (see http://www.nabble.com/-2.0.9-RC6--Release-Candidate-testing-to16435467.html#a16435467), but forgot to close the issue. I'm marking fix version for both 2.0.9 and 2.0.10, to allow it to show up on the 2.0.10 changelog, since I just re-verified that this fix is in place.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: