• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
maven clean plugin vs maven-wolifecycle-plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maven clean plugin vs maven-wolifecycle-plugin


  • Subject: maven clean plugin vs maven-wolifecycle-plugin
  • From: Fabian Peters <email@hidden>
  • Date: Mon, 13 Oct 2014 21:46:13 +0200

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: ERRest skipping my NSDictionary
  • Next by Date: State of the art in browser capability detection
  • Previous by thread: Re: Eclipse 4.2.2 + WOLips 4.2 WOComponent editor crash
  • Next by thread: State of the art in browser capability detection
  • Index(es):
    • Date
    • Thread