Commit d0823848dbf78b7fd10d0bd799aa11af000a38af
1 parent
2c72ba1f
Exists in
master
[pom.xml] Add a to remove warning.
Showing
1 changed file
with
32 additions
and
13 deletions
Show diff stats
pom.xml
... | ... | @@ -23,6 +23,19 @@ |
23 | 23 | |
24 | 24 | <plugins> |
25 | 25 | <plugin> |
26 | + <artifactId>maven-clean-plugin</artifactId> | |
27 | + <version>2.5</version> | |
28 | + <executions> | |
29 | + <execution> | |
30 | + <id>auto-clean</id> | |
31 | + <phase>validate</phase> | |
32 | + <goals> | |
33 | + <goal>clean</goal> | |
34 | + </goals> | |
35 | + </execution> | |
36 | + </executions> | |
37 | + </plugin> | |
38 | + <plugin> | |
26 | 39 | <artifactId>maven-compiler-plugin</artifactId> |
27 | 40 | <version>3.3</version> |
28 | 41 | <configuration> |
... | ... | @@ -122,19 +135,6 @@ |
122 | 135 | </execution> |
123 | 136 | </executions> |
124 | 137 | </plugin> |
125 | - <plugin> | |
126 | - <artifactId>maven-clean-plugin</artifactId> | |
127 | - <version>2.5</version> | |
128 | - <executions> | |
129 | - <execution> | |
130 | - <id>auto-clean</id> | |
131 | - <phase>initialize</phase> | |
132 | - <goals> | |
133 | - <goal>clean</goal> | |
134 | - </goals> | |
135 | - </execution> | |
136 | - </executions> | |
137 | - </plugin> | |
138 | 138 | </plugins> |
139 | 139 | <pluginManagement> |
140 | 140 | <plugins> |
... | ... | @@ -166,6 +166,25 @@ |
166 | 166 | <execute /> |
167 | 167 | </action> |
168 | 168 | </pluginExecution> |
169 | + <pluginExecution> | |
170 | + <pluginExecutionFilter> | |
171 | + <groupId> | |
172 | + org.apache.maven.plugins | |
173 | + </groupId> | |
174 | + <artifactId> | |
175 | + maven-clean-plugin | |
176 | + </artifactId> | |
177 | + <versionRange> | |
178 | + [2.5,) | |
179 | + </versionRange> | |
180 | + <goals> | |
181 | + <goal>clean</goal> | |
182 | + </goals> | |
183 | + </pluginExecutionFilter> | |
184 | + <action> | |
185 | + <ignore></ignore> | |
186 | + </action> | |
187 | + </pluginExecution> | |
169 | 188 | </pluginExecutions> |
170 | 189 | </lifecycleMappingMetadata> |
171 | 190 | </configuration> | ... | ... |