Skip to content

Commit 8507bea

Browse files
committed
Fixing problems with mvn site and upgrading javadoc and site plugins to latest versions
1 parent a12e843 commit 8507bea

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

pom.xml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,11 @@
224224
<plugin>
225225
<groupId>org.apache.maven.plugins</groupId>
226226
<artifactId>maven-javadoc-plugin</artifactId>
227-
<version>2.10.4</version>
227+
<version>3.0.0</version>
228228
<configuration>
229-
<additionalparam>-Xdoclint:none</additionalparam>
229+
<additionalJOptions>-Xdoclint:none</additionalJOptions>
230230
<!-- we need to allow script in comments or otherwise we can't use google analytics js in footer below - JD 2017-03-30 -->
231-
<!-- Note: when I tried upgrading to javadoc-plugin 3.0.0, this option was ignored and the javadoc
232-
generation fails with the javascript in footer error - JD 2018-03-15 -->
233-
<additionalparam>--allow-script-in-comments</additionalparam>
231+
<additionalJOption>--allow-script-in-comments</additionalJOption>
234232
<maxmemory>256m</maxmemory>
235233
<footer>
236234
&lt;script src="http://www.google-analytics.com/urchin.js"
@@ -320,6 +318,11 @@
320318
<artifactId>maven-surefire-plugin</artifactId>
321319
<version>2.21.0</version>
322320
</plugin>
321+
<plugin>
322+
<groupId>org.apache.maven.plugins</groupId>
323+
<artifactId>maven-site-plugin</artifactId>
324+
<version>3.7</version>
325+
</plugin>
323326

324327
</plugins>
325328
</pluginManagement>
@@ -515,7 +518,7 @@
515518
<aggregate>true</aggregate>
516519
<breakiterator>true</breakiterator>
517520
<quiet>true</quiet>
518-
<source>1.7</source>
521+
<source>1.8</source>
519522
<verbose>false</verbose>
520523
<linksource>true</linksource>
521524

0 commit comments

Comments
 (0)