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]

Reply via email to