Commit 8e4bf8a46ae73b33a236a9ff2b627f9c58b99be4
1 parent
d42989d0
去除maven版本号
Showing
1 changed file
with
8 additions
and
19 deletions
pom.xml
| ... | ... | @@ -535,26 +535,19 @@ |
| 535 | 535 | <plugins> |
| 536 | 536 | <plugin> |
| 537 | 537 | <groupId>org.apache.maven.plugins</groupId> |
| 538 | - <artifactId>maven-deploy-plugin</artifactId> | |
| 539 | - <version>2.7</version> | |
| 538 | + <artifactId>maven-deploy-plugin</artifactId> | |
| 540 | 539 | <configuration> |
| 541 | 540 | <uniqueVersion>false</uniqueVersion> |
| 542 | 541 | </configuration> |
| 543 | 542 | </plugin> |
| 544 | 543 | <plugin> |
| 545 | 544 | <groupId>org.apache.maven.plugins</groupId> |
| 546 | - <artifactId>maven-eclipse-plugin</artifactId> | |
| 547 | - <version>2.8</version> | |
| 545 | + <artifactId>maven-eclipse-plugin</artifactId> | |
| 548 | 546 | </plugin> |
| 549 | 547 | <plugin> |
| 550 | 548 | <groupId>org.apache.maven.plugins</groupId> |
| 551 | - <artifactId>maven-compiler-plugin</artifactId> | |
| 552 | - <version>2.3.2</version> | |
| 553 | - <configuration> | |
| 554 | - <failOnError>true</failOnError> | |
| 555 | - <verbose>true</verbose> | |
| 556 | - <fork>true</fork> | |
| 557 | - <compilerArgument>-nowarn</compilerArgument> | |
| 549 | + <artifactId>maven-compiler-plugin</artifactId> | |
| 550 | + <configuration> | |
| 558 | 551 | <source>1.7</source> |
| 559 | 552 | <target>1.7</target> |
| 560 | 553 | <encoding>UTF-8</encoding> |
| ... | ... | @@ -562,8 +555,7 @@ |
| 562 | 555 | </plugin> |
| 563 | 556 | <plugin> |
| 564 | 557 | <groupId>org.apache.maven.plugins</groupId> |
| 565 | - <artifactId>maven-source-plugin</artifactId> | |
| 566 | - <version>2.1.2</version> | |
| 558 | + <artifactId>maven-source-plugin</artifactId> | |
| 567 | 559 | <executions> |
| 568 | 560 | <execution> |
| 569 | 561 | <id>attach-sources</id> |
| ... | ... | @@ -585,8 +577,7 @@ |
| 585 | 577 | <!-- 拷贝依赖包插件 --> |
| 586 | 578 | <plugin> |
| 587 | 579 | <groupId>org.apache.maven.plugins</groupId> |
| 588 | - <artifactId>maven-dependency-plugin</artifactId> | |
| 589 | - <version>3.0.0</version> | |
| 580 | + <artifactId>maven-dependency-plugin</artifactId> | |
| 590 | 581 | <executions> |
| 591 | 582 | <execution> |
| 592 | 583 | <id>copy</id> |
| ... | ... | @@ -601,14 +592,12 @@ |
| 601 | 592 | <!-- 单元测试插件 --> |
| 602 | 593 | <plugin> |
| 603 | 594 | <groupId>org.apache.maven.plugins</groupId> |
| 604 | - <artifactId>maven-surefire-plugin</artifactId> | |
| 605 | - <version>2.19.1</version> | |
| 595 | + <artifactId>maven-surefire-plugin</artifactId> | |
| 606 | 596 | </plugin> |
| 607 | 597 | <!-- 集成测试插件 --> |
| 608 | 598 | <plugin> |
| 609 | 599 | <groupId>org.apache.maven.plugins</groupId> |
| 610 | - <artifactId>maven-failsafe-plugin</artifactId> | |
| 611 | - <version>2.19.1</version> | |
| 600 | + <artifactId>maven-failsafe-plugin</artifactId> | |
| 612 | 601 | </plugin> |
| 613 | 602 | <!-- 覆盖率统计插件 --> |
| 614 | 603 | <plugin> | ... | ... |