Using the 'maxmemory' option rather than the more generic 'additionalJOption' for the Javadoc plugin to allow for easier overriding

This commit is contained in:
Andrew Phillips 2012-07-17 15:29:48 -04:00
parent 75ce908c13
commit 575b0a4559
1 changed files with 2 additions and 2 deletions

View File

@ -604,7 +604,7 @@
<configuration> <configuration>
<encoding>${project.build.sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet> <quiet>true</quiet>
<additionalJOption>-J-Xmx256m</additionalJOption> <maxmemory>256m</maxmemory>
</configuration> </configuration>
<reportSets> <reportSets>
<reportSet> <reportSet>
@ -708,7 +708,7 @@
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.8.1</version> <version>2.8.1</version>
<configuration> <configuration>
<additionalJOption>-J-Xmx256m</additionalJOption> <maxmemory>256m</maxmemory>
<encoding>${project.build.sourceEncoding}</encoding> <encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet> <quiet>true</quiet>
<links> <links>