Skip to content

Commit

Permalink
updated maven pom for Java8
Browse files Browse the repository at this point in the history
  • Loading branch information
inder123 committed Aug 11, 2014
1 parent c5dc3b7 commit 192e32d
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions gson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,23 @@
</plugins>
</build>
</profile>
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<defaultGoal>package</defaultGoal>
Expand Down Expand Up @@ -132,7 +149,7 @@
<!-- TODO(inder): add manifest entry for maven group, artifact, and classifier ids -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>2.3</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down Expand Up @@ -202,7 +219,7 @@
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<version>2.4.1</version>
<configuration>
<descriptor>assembly-descriptor.xml</descriptor>
<finalName>google-gson-${project.version}</finalName>
Expand Down

0 comments on commit 192e32d

Please sign in to comment.