Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: TRAC-0.2
-
Fix Version/s: TRAC-0.3
-
Component/s: Trac
-
Labels:
-
Environment:Sonar 2.11 running on Apache Tomcat 6.x. Trac 0.2 plugin has been install and is active.
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
Our environment supports both ANT and Maven builds. When run with Maven the Trac plugin works as expected but when run with ANT we experiance a NPE in the following scenerio
1) The project is not yet in Sonar (First Build for this project)
2) ANT is used instead of Maven.
I've attached a patch fix that skips the test if the pom is missing. Let me know if this approach is acceptable. All tests pass.