|
162 | 162 | <plugin> |
163 | 163 | <groupId>org.apache.maven.plugins</groupId> |
164 | 164 | <artifactId>maven-compiler-plugin</artifactId> |
165 | | - <version>3.5.1</version> |
| 165 | + <version>3.10.1</version> |
166 | 166 | </plugin> |
167 | 167 | <plugin> |
168 | 168 | <groupId>org.apache.maven.plugins</groupId> |
169 | 169 | <artifactId>maven-jar-plugin</artifactId> |
170 | | - <version>3.0.2</version> |
| 170 | + <version>3.2.2</version> |
171 | 171 | </plugin> |
172 | 172 | <plugin> |
173 | 173 | <groupId>org.apache.maven.plugins</groupId> |
174 | 174 | <artifactId>maven-source-plugin</artifactId> |
175 | | - <version>3.0.1</version> |
| 175 | + <version>3.2.1</version> |
176 | 176 | </plugin> |
177 | 177 | <plugin> |
178 | 178 | <groupId>org.apache.maven.plugins</groupId> |
179 | 179 | <artifactId>maven-javadoc-plugin</artifactId> |
180 | | - <version>2.10.4</version> |
| 180 | + <version>3.4.0</version> |
181 | 181 | </plugin> |
182 | 182 | <plugin> |
183 | | - <groupId>org.codehaus.mojo</groupId> |
184 | | - <artifactId>cobertura-maven-plugin</artifactId> |
185 | | - <version>2.6</version> |
| 183 | + <groupId>org.jacoco</groupId> |
| 184 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 185 | + <version>0.8.8</version> |
186 | 186 | </plugin> |
187 | 187 | <plugin> |
188 | 188 | <groupId>org.apache.maven.plugins</groupId> |
|
266 | 266 | <groupId>org.apache.maven.plugins</groupId> |
267 | 267 | <artifactId>maven-compiler-plugin</artifactId> |
268 | 268 | <configuration> |
269 | | - <source>1.5</source> |
270 | | - <target>1.5</target> |
| 269 | + <source>1.6</source> |
| 270 | + <target>1.6</target> |
271 | 271 | </configuration> |
272 | 272 | </plugin> |
273 | 273 | <plugin> |
|
292 | 292 | </executions> |
293 | 293 | </plugin> |
294 | 294 | <plugin> |
295 | | - <groupId>org.codehaus.mojo</groupId> |
296 | | - <artifactId>cobertura-maven-plugin</artifactId> |
297 | | - <configuration> |
298 | | - <check> |
299 | | - <branchRate>85</branchRate> |
300 | | - <lineRate>85</lineRate> |
301 | | - <haltOnFailure>false</haltOnFailure> |
302 | | - <totalBranchRate>85</totalBranchRate> |
303 | | - <totalLineRate>85</totalLineRate> |
304 | | - <packageLineRate>85</packageLineRate> |
305 | | - <packageBranchRate>85</packageBranchRate> |
306 | | - </check> |
307 | | - </configuration> |
| 295 | + <groupId>org.jacoco</groupId> |
| 296 | + <artifactId>jacoco-maven-plugin</artifactId> |
308 | 297 | <executions> |
309 | 298 | <execution> |
| 299 | + <id>prepare-agent</id> |
310 | 300 | <goals> |
311 | | - <goal>clean</goal> |
| 301 | + <goal>prepare-agent</goal> |
312 | 302 | </goals> |
| 303 | + <configuration> |
| 304 | + <propertyName>surefireArgLine</propertyName> |
| 305 | + </configuration> |
313 | 306 | </execution> |
314 | 307 | </executions> |
315 | 308 | </plugin> |
|
320 | 313 | <excludes> |
321 | 314 | <exclude>org/owasp/encoder/BenchmarkTest.java</exclude> |
322 | 315 | </excludes> |
323 | | - <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> |
| 316 | + <argLine>${surefireArgLine}</argLine> |
324 | 317 | </configuration> |
325 | 318 | </plugin> |
326 | 319 | <plugin> |
|
333 | 326 | <goals> |
334 | 327 | <goal>jar</goal> |
335 | 328 | </goals> |
336 | | - <configuration> |
337 | | - <skipIfEmpty>true</skipIfEmpty> |
338 | | - <archive> |
339 | | - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
340 | | - </archive> |
341 | | - </configuration> |
342 | 329 | </execution> |
343 | 330 | </executions> |
344 | 331 | </plugin> |
|
365 | 352 | <goals> |
366 | 353 | <goal>jar</goal> |
367 | 354 | </goals> |
| 355 | + <configuration> |
| 356 | + <source>1.6</source> |
| 357 | + <failOnError>false</failOnError> |
| 358 | + </configuration> |
368 | 359 | </execution> |
369 | 360 | </executions> |
370 | 361 | </plugin> |
|
424 | 415 | </reportSets> |
425 | 416 | </plugin> |
426 | 417 | <plugin> |
427 | | - <groupId>org.codehaus.mojo</groupId> |
428 | | - <artifactId>cobertura-maven-plugin</artifactId> |
| 418 | + <groupId>org.jacoco</groupId> |
| 419 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 420 | + <reportSets> |
| 421 | + <reportSet> |
| 422 | + <reports> |
| 423 | + <!-- select non-aggregate reports --> |
| 424 | + <report>report</report> |
| 425 | + </reports> |
| 426 | + </reportSet> |
| 427 | + </reportSets> |
429 | 428 | </plugin> |
430 | 429 | <plugin> |
431 | 430 | <groupId>org.apache.maven.plugins</groupId> |
|
445 | 444 | <reports> |
446 | 445 | <report>javadoc</report> |
447 | 446 | </reports> |
| 447 | + <configuration> |
| 448 | + <source>1.6</source> |
| 449 | + <failOnError>false</failOnError> |
| 450 | + </configuration> |
448 | 451 | </reportSet> |
449 | 452 | </reportSets> |
450 | 453 | </plugin> |
|
0 commit comments