Commit 8e4bf8a46ae73b33a236a9ff2b627f9c58b99be4
1 parent
d42989d0
去除maven版本号
Showing
1 changed file
with
8 additions
and
19 deletions
pom.xml
@@ -535,26 +535,19 @@ | @@ -535,26 +535,19 @@ | ||
535 | <plugins> | 535 | <plugins> |
536 | <plugin> | 536 | <plugin> |
537 | <groupId>org.apache.maven.plugins</groupId> | 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 | <configuration> | 539 | <configuration> |
541 | <uniqueVersion>false</uniqueVersion> | 540 | <uniqueVersion>false</uniqueVersion> |
542 | </configuration> | 541 | </configuration> |
543 | </plugin> | 542 | </plugin> |
544 | <plugin> | 543 | <plugin> |
545 | <groupId>org.apache.maven.plugins</groupId> | 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 | </plugin> | 546 | </plugin> |
549 | <plugin> | 547 | <plugin> |
550 | <groupId>org.apache.maven.plugins</groupId> | 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 | <source>1.7</source> | 551 | <source>1.7</source> |
559 | <target>1.7</target> | 552 | <target>1.7</target> |
560 | <encoding>UTF-8</encoding> | 553 | <encoding>UTF-8</encoding> |
@@ -562,8 +555,7 @@ | @@ -562,8 +555,7 @@ | ||
562 | </plugin> | 555 | </plugin> |
563 | <plugin> | 556 | <plugin> |
564 | <groupId>org.apache.maven.plugins</groupId> | 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 | <executions> | 559 | <executions> |
568 | <execution> | 560 | <execution> |
569 | <id>attach-sources</id> | 561 | <id>attach-sources</id> |
@@ -585,8 +577,7 @@ | @@ -585,8 +577,7 @@ | ||
585 | <!-- 拷贝依赖包插件 --> | 577 | <!-- 拷贝依赖包插件 --> |
586 | <plugin> | 578 | <plugin> |
587 | <groupId>org.apache.maven.plugins</groupId> | 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 | <executions> | 581 | <executions> |
591 | <execution> | 582 | <execution> |
592 | <id>copy</id> | 583 | <id>copy</id> |
@@ -601,14 +592,12 @@ | @@ -601,14 +592,12 @@ | ||
601 | <!-- 单元测试插件 --> | 592 | <!-- 单元测试插件 --> |
602 | <plugin> | 593 | <plugin> |
603 | <groupId>org.apache.maven.plugins</groupId> | 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 | </plugin> | 596 | </plugin> |
607 | <!-- 集成测试插件 --> | 597 | <!-- 集成测试插件 --> |
608 | <plugin> | 598 | <plugin> |
609 | <groupId>org.apache.maven.plugins</groupId> | 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 | </plugin> | 601 | </plugin> |
613 | <!-- 覆盖率统计插件 --> | 602 | <!-- 覆盖率统计插件 --> |
614 | <plugin> | 603 | <plugin> |