|
370 | 370 | </extension> |
371 | 371 | </extensions> |
372 | 372 |
|
373 | | - <plugins> |
374 | | - <plugin> |
375 | | - <groupId>org.codehaus.mojo</groupId> |
376 | | - <artifactId>versions-maven-plugin</artifactId> |
377 | | - <configuration></configuration> |
378 | | - </plugin> |
379 | | - <plugin> |
380 | | - <groupId>org.apache.maven.plugins</groupId> |
381 | | - <artifactId>maven-release-plugin</artifactId> |
382 | | - </plugin> |
383 | | - <plugin> |
384 | | - <groupId>org.apache.maven.plugins</groupId> |
385 | | - <artifactId>maven-enforcer-plugin</artifactId> |
386 | | - <executions> |
387 | | - <execution> |
388 | | - <id>enforce-versions</id> |
389 | | - <goals> |
390 | | - <goal>enforce</goal> |
391 | | - </goals> |
392 | | - <configuration> |
393 | | - <rules> |
394 | | - <requireMavenVersion> |
395 | | - <version>3.0.4</version> |
396 | | - </requireMavenVersion> |
397 | | - <requireJavaVersion> |
398 | | - <version>1.7.0</version> |
399 | | - </requireJavaVersion> |
400 | | - <!-- <bannedDependencies> <excludes> <exclude>commons-logging:*</exclude> |
401 | | - </excludes> </bannedDependencies> --> |
402 | | - <requirePluginVersions> |
403 | | - <banLatest>true</banLatest> |
404 | | - <banRelease>true</banRelease> |
405 | | - <banSnapshots>true</banSnapshots> |
406 | | - <!-- <unCheckedPluginList>org.codehaus.mojo:sonar-maven-plugin</unCheckedPluginList> --> |
407 | | - </requirePluginVersions> |
408 | | - </rules> |
409 | | - </configuration> |
410 | | - </execution> |
411 | | - </executions> |
412 | | - </plugin> |
413 | | - <!-- ======================================================= --> |
414 | | - <!-- Packaging (OSGi bundle) --> |
415 | | - <!-- ======================================================= --> |
416 | | - <plugin> |
417 | | - <groupId>org.apache.felix</groupId> |
418 | | - <artifactId>maven-bundle-plugin</artifactId> |
419 | | - </plugin> |
420 | | - |
421 | | - <plugin> |
422 | | - <groupId>org.apache.maven.plugins</groupId> |
423 | | - <artifactId>maven-jar-plugin</artifactId> |
424 | | - </plugin> |
425 | | - <plugin> |
426 | | - <groupId>org.jacoco</groupId> |
427 | | - <artifactId>jacoco-maven-plugin</artifactId> |
428 | | - <version>0.7.2.201409121644</version> |
429 | | - <executions> |
430 | | - <execution> |
431 | | - <id>prepare-agent</id> |
432 | | - <goals> |
433 | | - <goal>prepare-agent</goal> |
434 | | - </goals> |
435 | | - </execution> |
436 | | - </executions> |
437 | | - </plugin> |
438 | | - </plugins> |
| 373 | + <pluginManagement> |
| 374 | + <plugins> |
| 375 | + <plugin> |
| 376 | + <groupId>org.codehaus.mojo</groupId> |
| 377 | + <artifactId>versions-maven-plugin</artifactId> |
| 378 | + <configuration></configuration> |
| 379 | + </plugin> |
| 380 | + <plugin> |
| 381 | + <groupId>org.apache.maven.plugins</groupId> |
| 382 | + <artifactId>maven-release-plugin</artifactId> |
| 383 | + </plugin> |
| 384 | + <plugin> |
| 385 | + <groupId>org.apache.maven.plugins</groupId> |
| 386 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 387 | + <executions> |
| 388 | + <execution> |
| 389 | + <id>enforce-versions</id> |
| 390 | + <goals> |
| 391 | + <goal>enforce</goal> |
| 392 | + </goals> |
| 393 | + <configuration> |
| 394 | + <rules> |
| 395 | + <requireMavenVersion> |
| 396 | + <version>3.0.4</version> |
| 397 | + </requireMavenVersion> |
| 398 | + <requireJavaVersion> |
| 399 | + <version>1.7.0</version> |
| 400 | + </requireJavaVersion> |
| 401 | + <!-- <bannedDependencies> <excludes> <exclude>commons-logging:*</exclude> |
| 402 | + </excludes> </bannedDependencies> --> |
| 403 | + <requirePluginVersions> |
| 404 | + <banLatest>true</banLatest> |
| 405 | + <banRelease>true</banRelease> |
| 406 | + <banSnapshots>true</banSnapshots> |
| 407 | + <!-- <unCheckedPluginList>org.codehaus.mojo:sonar-maven-plugin</unCheckedPluginList> --> |
| 408 | + </requirePluginVersions> |
| 409 | + </rules> |
| 410 | + </configuration> |
| 411 | + </execution> |
| 412 | + </executions> |
| 413 | + </plugin> |
| 414 | + <!-- ======================================================= --> |
| 415 | + <!-- Packaging (OSGi bundle) --> |
| 416 | + <!-- ======================================================= --> |
| 417 | + <plugin> |
| 418 | + <groupId>org.apache.felix</groupId> |
| 419 | + <artifactId>maven-bundle-plugin</artifactId> |
| 420 | + </plugin> |
| 421 | + |
| 422 | + <plugin> |
| 423 | + <groupId>org.apache.maven.plugins</groupId> |
| 424 | + <artifactId>maven-jar-plugin</artifactId> |
| 425 | + </plugin> |
| 426 | + <plugin> |
| 427 | + <groupId>org.jacoco</groupId> |
| 428 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 429 | + <version>0.7.2.201409121644</version> |
| 430 | + <executions> |
| 431 | + <execution> |
| 432 | + <id>prepare-agent</id> |
| 433 | + <goals> |
| 434 | + <goal>prepare-agent</goal> |
| 435 | + </goals> |
| 436 | + </execution> |
| 437 | + </executions> |
| 438 | + </plugin> |
| 439 | + </plugins> |
| 440 | + </pluginManagement> |
439 | 441 | </build> |
440 | 442 |
|
441 | 443 | <reporting> |
|
0 commit comments