hmm, it works for me
On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
I already have that as it was in the example usage for this plugin. But I use modules and sub-modules heavily and the files are not cleaned. On 10/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > Put this > > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>cobertura-maven-plugin</artifactId> > <executions> > <execution> > <goals> > <goal>clean</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > > in your parent pom, so that it is propagated to all submodules. Note it > is > invoked at clean phase implicitly by default > > > On 10/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > > > Did that as well, and no dice. > > > > Are you using modules heavily? I am, and I have sub-modules as well. > > > > > > > > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote: > > > > > > Mick > > > Is it in the <build> plugins? > > > The stanza with the "clean" information needs to be in the <build> > > > section. > > > > > > I also have this in the <reporting> section > > > <plugin> > > > <groupId>org.codehaus.mojo</groupId> > > > <artifactId>cobertura-maven-plugin</artifactId> > > > </plugin> > > > > > > I should have added that information, sorry. > > > > > > Gail > > > Mick Knutson wrote: > > > > > > > I had that, minus the <id>clean</id> in my code already, and that > does > > > > > > not > > > > work for me. > > > > > > > > Thanks though. > > > > > > > > On 10/4/06, Gail Bowman <[EMAIL PROTECTED]> wrote: > > > > > > > >> > > > >> Mick Knutson wrote: > > > >> > > > >> > I want to know how I can put cobertura.ser into my target DIR so > > when > > > >> > I run > > > >> > mvn clean, the cobertura files get cleaned as well. > > > >> > > > > >> I read somewhere to put this in your plug-ins so cobertura files > > > >> would be > > > >> cleaned as part of the clean goal. It works for me. > > > >> > > > >> > > > >> <plugin> > > > >> <groupId>org.codehaus.mojo</groupId> > > > >> <artifactId>cobertura-maven-plugin</artifactId> > > > >> <executions> > > > >> <execution> > > > >> <id>clean</id> > > > >> <goals> > > > >> <goal>clean</goal> > > > >> </goals> > > > >> </execution> > > > >> </executions> > > > >> </plugin> > > > >> > > > >> Gail > > > >> > > > >> > > > >> > > > >> > --------------------------------------------------------------------- > > > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >> For additional commands, e-mail: [EMAIL PROTECTED] > > > >> > > > >> > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > > > Thanks > > > > DJ MICK > > http://www.djmick.com > > http://www.myspace.com/mickknutson > > > > > > -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson
