You must have an older version of the plugin which does not support the exclude parameter.
Upgrade to a newer version by specifying a specific version for the plugin or using mvn -U. Wayne On 4/26/06, alexis parratte <[EMAIL PROTECTED]> wrote: > > I have followed this informations: > http://mojo.codehaus.org/cobertura-maven-plugin/usage.html#Instrumentation > > and this is my build section: > > > <build> > > <plugins> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>cobertura-maven-plugin</artifactId> > > <version>2.0-SNAPSHOT</version> > > <configuration> > > <instrumentation> > > <exclude>com/plop/eai/plip/translator/beans/impl/*Impl.java</exclude> > > </instrumentation> > > </configuration> > > <executions> > > <execution> > > <goals> > > <goal>clean</goal> > > </goals> > > </execution> > > </executions> > > </plugin> > > </plugins> > > </build> > and i always have the same error > thanks > Alexis > > > On 4/26/06, Piéroni Raphaël <[EMAIL PROTECTED]> wrote: > > > > have you folowed the instruction in the cobertura howto ? > > see : http://codehaus.org/cobertura-maven-plugin > > > > Raphaël > > > > > > 2006/4/26, alexis parratte < [EMAIL PROTECTED]>: > > > > > > > > > > > > > > Hi, > > > I'm a french student, and i'm actually working on Continuuous > Integration Project. > > > I have some problems with cobertura plugin > > > > > > when i test to exclude some files, it doesn't work and i have an error > like > > > > > > Cannot find setter nor field in > org.codehaus.mojo.cobertura.configuration.ConfigInstrumentation > for 'exclude' > > > > > > Does someone have an idea please > > > thanks :D > > > > > > > > > Alexis > > > > > > > >
