Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0
-
Fix Version/s: 1.3
-
Component/s: Web Interface
-
Labels:None
-
Number of attachments :
Description
review usage so that we can look at code coverage for the webapp
Looks like the <classesDirectory> config below in Cobertura Maven Plugin is causing the error 'Error configuring: org.apache.maven.plugins:maven-war-plugin. Reason: ERROR: Cannot override read-only parameter: classesDirectory in goal: war:inplace':
<lifecycles> <lifecycle> <id>cobertura</id> <phases> <phase> <id>process-classes</id> <executions> <execution> <goals> <goal>instrument</goal> </goals> </execution> </executions> </phase> <phase> <id>test</id> <configuration> <classesDirectory>${project.build.directory}/generated-classes/cobertura</classesDirectory> <testFailureIgnore>true</testFailureIgnore> <forkMode>once</forkMode> </configuration> </phase> </phases> </lifecycle> </lifecycles>The same parameter is also present as read-only in Maven War Plugin. Is there someway we can work around this?