maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hauschel Fred Robert" <FredRobert.Hausc...@Cirquent.de>
Subject [m3] maven-site-plugin -> out of memory
Date Thu, 04 Nov 2010 12:12:39 GMT
Hey all,
I'm running site:site on a windows cmd line:

C:\temp\score>set maven_opts
MAVEN_OPTS=-Xmx1536m

Configuration in my parent pom:

	<build>
		<plugins>
			<plugin>
	
<groupId>org.apache.maven.plugins</groupId>
	
<artifactId>maven-site-plugin</artifactId>
				<version>3.0-beta-3</version>
				<configuration>
					<reportPlugins>
						<plugin>
	
<groupId>org.apache.maven.plugins</groupId>
	
<artifactId>maven-project-info-reports-plugin</artifactId>
	
<version>2.2</version>
							<configuration>
	
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
	
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
							</configuration>
							<reports>
	
<report>index</report>
	
<report>summary</report>
	
<report>dependencies</report>
	
<report>project-team</report>
	
<report>cim</report>
	
<report>issue-tracking</report>
	
<report>license</report>
	
<report>scm</report>
	
<report>plugins</report>
							</reports>
						</plugin>
						<plugin>
	
<artifactId>maven-javadoc-plugin</artifactId>
							<configuration>
	
<show>private</show>
	
<maxmemory>1600m</maxmemory>
	
<additionalJOption>-J-XX:MaxPermSize=512</additionalJOption>
	
<javadocVersion>1.6</javadocVersion>
	
<aggregate>false</aggregate>

							</configuration>
	
<version>2.7</version>
						</plugin>
					</reportPlugins>
				</configuration>
			</plugin>
		</plugins>


Any idea what to configure else ???

Thanks Fredy

Error: 

[INFO] --- maven-site-plugin:3.0-beta-3:site (default-cli) @ test_common
---
[INFO] configuring report plugin
org.apache.maven.plugins:maven-project-info-reports-plugin:2.2
[INFO] configuring report plugin
org.apache.maven.plugins:maven-javadoc-plugin:2.7
[INFO]
[INFO] >>> maven-javadoc-plugin:2.7:aggregate (report:aggregate) @
test_common >>>
[ERROR] Java heap space -> [Help 1]
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:2760)
        at java.util.Arrays.copyOf(Arrays.java:2734)
        at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
        at java.util.ArrayList.addAll(ArrayList.java:474)
        at
org.apache.maven.project.MavenProject.setActiveProfiles(MavenProject.jav
a:1408)
        at
org.apache.maven.project.MavenProject.deepCopy(MavenProject.java:1941)
        at
org.apache.maven.project.MavenProject.clone(MavenProject.java:1815)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions
(MojoExecutor.java:332)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecuti
ons(DefaultLifecycleExecutor.java:165)
        at
org.apache.maven.plugins.site.DefaultMavenReportExecutor.buildMavenRepor
ts(DefaultMavenReportExecutor.java:284)
        at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(Abstr
actSiteRenderingMojo.java:208)
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:105)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBui
ldPluginManager.java:107)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:195)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:148)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.ja
va:140)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
LifecycleModuleBuilder.java:84)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(
LifecycleModuleBuilder.java:59)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild
(LifecycleStarter.java:183)
        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSt
arter.java:161)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launche
r.java:290)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:2
30)
        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc
her.java:409)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message