Commit a8113866e9359ae1c2373f22b3ec853f5dddc121

Authored by Nathanael Jourdane
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
@@ -23,19 +23,6 @@ @@ -23,19 +23,6 @@
23 23
24 <plugins> 24 <plugins>
25 <plugin> 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 <artifactId>maven-compiler-plugin</artifactId> 26 <artifactId>maven-compiler-plugin</artifactId>
40 <version>3.3</version> 27 <version>3.3</version>
41 <configuration> 28 <configuration>
@@ -124,6 +111,10 @@ @@ -124,6 +111,10 @@
124 <target name="Adding @SuppressWarnings on generated *.java"> 111 <target name="Adding @SuppressWarnings on generated *.java">
125 <replace 112 <replace
126 dir="${basedir}/src/main/java/eu/omp/irap/vespa/epntapclient/votable/model/" 113 dir="${basedir}/src/main/java/eu/omp/irap/vespa/epntapclient/votable/model/"
  114 + summary="true" includes="*.java" token='@SuppressWarnings("all")&#10;'
  115 + value='' />
  116 + <replace
  117 + dir="${basedir}/src/main/java/eu/omp/irap/vespa/epntapclient/votable/model/"
127 summary="true" includes="*.java" token="public class" 118 summary="true" includes="*.java" token="public class"
128 value='@SuppressWarnings("all")&#10;public class' /> 119 value='@SuppressWarnings("all")&#10;public class' />
129 <replace 120 <replace
@@ -166,25 +157,6 @@ @@ -166,25 +157,6 @@
166 <execute /> 157 <execute />
167 </action> 158 </action>
168 </pluginExecution> 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 </pluginExecutions> 160 </pluginExecutions>
189 </lifecycleMappingMetadata> 161 </lifecycleMappingMetadata>
190 </configuration> 162 </configuration>