Skip to content

Commit 1dde65f

Browse files
cpovirkcushon
authored andcommitted
Update maven-javadoc-plugin to 3.0.0.
This is not actually necessary to get your project to build with JDK9, since you've already moved to 3.0.0-M1, which supports JDK9. However, I assume you're going to need to upgrade to 3.0.0 someday, and when you do, your build is going to break unless you also migrate from additionalparam, which was deprecated and removed last year, to additionalOptions. Since I just dealt with that with some other projects, I figured I should deal with it here, too. Also, update maven-jar-plugin to 3.0.2, which *does* appear to be necessary to build with JDK9. With these changes, I can run `mvn clean install` with JDK. I can reenable the oraclejdk9 test from http://[] if you're feeling lucky. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182227395
1 parent dfe0b72 commit 1dde65f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@
157157
</plugin>
158158
<plugin>
159159
<artifactId>maven-jar-plugin</artifactId>
160-
<version>2.6</version>
160+
<version>3.0.2</version>
161161
</plugin>
162162
<plugin>
163163
<artifactId>maven-source-plugin</artifactId>
164164
<version>2.1.2</version>
165165
</plugin>
166166
<plugin>
167167
<artifactId>maven-javadoc-plugin</artifactId>
168-
<version>3.0.0-M1</version>
168+
<version>3.0.0</version>
169169
</plugin>
170170
<plugin>
171171
<artifactId>maven-gpg-plugin</artifactId>
@@ -266,7 +266,9 @@
266266
<groupId>org.apache.maven.plugins</groupId>
267267
<artifactId>maven-javadoc-plugin</artifactId>
268268
<configuration>
269-
<additionalparam>-Xdoclint:none</additionalparam>
269+
<additionalOptions>
270+
<additionalOption>-Xdoclint:none</additionalOption>
271+
</additionalOptions>
270272
</configuration>
271273
</plugin>
272274
</plugins>
@@ -277,7 +279,9 @@
277279
<groupId>org.apache.maven.plugins</groupId>
278280
<artifactId>maven-javadoc-plugin</artifactId>
279281
<configuration>
280-
<additionalparam>-Xdoclint:none</additionalparam>
282+
<additionalOptions>
283+
<additionalOption>-Xdoclint:none</additionalOption>
284+
</additionalOptions>
281285
</configuration>
282286
</plugin>
283287
</plugins>

0 commit comments

Comments
 (0)