IDEMPIERE-3531: clean stuff download by download-maven-plugin to resulve issue report at group also auto run clean (eclipse)

let eclipse don't call auto-clean, otherwise it will don't see jar (updated) on classpath and give compiler error
m2e also don't recognize this phase/goal
This commit is contained in:
hieplq 2019-01-08 01:51:27 +07:00
parent c38dcec5cc
commit b69462198f
1 changed files with 16 additions and 1 deletions

View File

@ -40,6 +40,7 @@
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version> <version>${maven-clean-plugin.version}</version>
</plugin> </plugin>
@ -61,7 +62,21 @@
</goals> </goals>
</pluginExecutionFilter> </pluginExecutionFilter>
<action> <action>
<ignore /> <ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<versionRange>[2.5,)</versionRange>
<goals>
<goal>clean</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action> </action>
</pluginExecution> </pluginExecution>
</pluginExecutions> </pluginExecutions>