Skip to content

Commit

Permalink
改进pom使之在java8或以前的版本均可编译
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zhou committed Nov 28, 2013
1 parent 88e3021 commit 29bd5d5
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,22 @@
<servlet3-version>3.0.1</servlet3-version>
</properties>
</profile>
<profile>
<id>java8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>dist/springext</module>
Expand Down Expand Up @@ -757,9 +773,6 @@
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit 29bd5d5

Please sign in to comment.