Skip to content

Instantly share code, notes, and snippets.

@andgomes
Created October 7, 2016 21:03
Show Gist options
  • Save andgomes/50c2cb1fe562418b8ec0c4c2f2144bbf to your computer and use it in GitHub Desktop.
Save andgomes/50c2cb1fe562418b8ec0c4c2f2144bbf to your computer and use it in GitHub Desktop.
POM configurado para executar o goal clean automaticamente.
<project ...>
...
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>auto-clean</id>
<phase>initialize</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment