Hi all, especially Henrique,

I'd like to run the clean goal during all maven builds. So I added the maven 
"clean" plugin to a shared parent pom, right before the 
maven-wolifecycle-plugin:

    <plugins>
      <plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.4.1</version>
        <executions>
          <execution>
            <id>auto-clean</id>
            <phase>initialize</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.objectstyle.woproject.maven2</groupId>
        <artifactId>maven-wolifecycle-plugin</artifactId>
        <version>2.0.17</version>
        <extensions>true</extensions>
      </plugin>
      …
   </plugins>
 
Alas, the maven-wolifecycle-plugin runs before the clean plugin, which results 
in a build failure. I've tried changing the phase to "validate", but that 
doesn't help. Is there an easy way to resolve this?

Fabian
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to