maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Herscu <bmf1...@fastmail.fm>
Subject [m2] cobertura-maven-plugin specify: '-Dinstrumentation=VALUE'
Date Sun, 22 Apr 2007 17:11:47 GMT
Hi all,

I am using the cobertura-maven-plugin 2.0 and I want to make it ignore 
the classes in some package, so I am specifying:
         <configuration>
           <instrumentation>
             <ignore>org.foo.*</ignore>
           </instrumentation>
         </configuration>
This causes the build to fail with the following message:
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for: 
org.codehaus.mojo:cobertura-maven-plugin:2.0

on the command line, specify: '-Dinstrumentation=VALUE'

Cause: Cannot find setter nor field in 
org.codehaus.mojo.cobertura.configuration.ConfigInstrumentation for 'ignore'

Adrian.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message