-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 2.2.1
-
Component/s: Maven plugin
-
None
The latest version of the Maven plugin, 3.7, doesn't seem to work with Maven 2.0.9.
See this build on the Confluence Bamboo server, which failed with 2.0.9:
https://bamboo.extranet.atlassian.com/browse/CONFFUNC-ITCOVERAGE-68/log
The problem is this:
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: Replace: source file /opt/j2ee/domains/bamboo.atlassian.com/confluence/webapps/atlassian-bamboo/data/current/xml-data/build-dir/CONFFUNC-ITCOVERAGE/confluence/target/classes/com/atlassian/confluence/default.properties doesn't exist
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
Where it seems that the resources it can't find are actually in target/classes/clover/, rather than target/classes/.
It works properly with 2.0.8, if you see the other builds.
Geoff mentioned that you guys might have already raised this with Maven, but I think it still needs to be tracked here for people who might look for an issue in Clover (like I did).