Commit a8113866e9359ae1c2373f22b3ec853f5dddc121
1 parent
ffe64e74
Exists in
master
[pom.xml] Remove Autoclean plugin and instead delete all @SupressWarnings('all') before to add them.
Showing
1 changed file
with
4 additions
and
32 deletions
Show diff stats
pom.xml
... | ... | @@ -23,19 +23,6 @@ |
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> | |
39 | 26 | <artifactId>maven-compiler-plugin</artifactId> |
40 | 27 | <version>3.3</version> |
41 | 28 | <configuration> |
... | ... | @@ -124,6 +111,10 @@ |
124 | 111 | <target name="Adding @SuppressWarnings on generated *.java"> |
125 | 112 | <replace |
126 | 113 | dir="${basedir}/src/main/java/eu/omp/irap/vespa/epntapclient/votable/model/" |
114 | + summary="true" includes="*.java" token='@SuppressWarnings("all") ' | |
115 | + value='' /> | |
116 | + <replace | |
117 | + dir="${basedir}/src/main/java/eu/omp/irap/vespa/epntapclient/votable/model/" | |
127 | 118 | summary="true" includes="*.java" token="public class" |
128 | 119 | value='@SuppressWarnings("all") public class' /> |
129 | 120 | <replace |
... | ... | @@ -166,25 +157,6 @@ |
166 | 157 | <execute /> |
167 | 158 | </action> |
168 | 159 | </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> | |
188 | 160 | </pluginExecutions> |
189 | 161 | </lifecycleMappingMetadata> |
190 | 162 | </configuration> | ... | ... |