Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2
-
None
-
Win 7, Java 6, Maven 3.0.4
Description
A NullPointerException occurs on line 1495 of class ChangeLogReport, when the pom.xml file does not specify a scm <url> tag, even if the <displayFileDetailUrl> is specified.
From what I saw in the code, the offending line is (in generateLinks() method):
if ( !scmUrl.equals( linkFile ) )
reversing the comparison should be sufficient (I think):
if ( !linkFile.equals( scmUrl ) )
Regards,
Gabriel