same issue with 2.7.1 release ? There is an issue with 3.0 which duplicate pmd errors (maybe you have too much errors :-) ). This issue is fixed in trunk (so you can try 3.1-SNAPSHOT)
2013/2/22 John Miller <john.w.mil...@oracle.com>: > I need some help with a "maven-pmd-plugin" OutOfMemoryError: Java heap > space error. > > I narrowed it down to "maven-pmd-plugin" running inside Hudson. > > I am running with these java settings > > JAVA_OPTS="-Xmn1024m -Xms2048m -Xmx2048m -XX:PermSize=512m" > > So I should have plenty of room.. > > I also ran it from the command line > > mvn –e clean pmd:pmd > > and got the same error. > > Any Ideas?? > > Thanks > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building TBI common objects package 2.0.0-SNAPSHOT > > [INFO] > ------------------------------------------------------------------------ > > [INFO] > > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ > oracle.tbi.common.entities --- > > [INFO] > > [INFO] --- maven-pmd-plugin:3.0:pmd (default-cli) @ > oracle.tbi.common.entities --- > > mavenExecutionResult exceptions not empty > > java.lang.OutOfMemoryError: Java heap space > > at java.util.Arrays.copyOf(Arrays.java:2882) > > at > java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) > > at > java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) > > at java.lang.StringBuffer.append(StringBuffer.java:224) > > at java.io.StringWriter.write(StringWriter.java:95) > > at java.io.PrintWriter.write(PrintWriter.java:412) > > at java.io.PrintWriter.write(PrintWriter.java:429) > > at > org.apache.maven.doxia.sink.XhtmlBaseSink.write(XhtmlBaseSink.java:2031) > > at > org.apache.maven.doxia.siterenderer.sink.SiteRendererSink.write(SiteRendererSink.java:337) > > at > org.apache.maven.doxia.sink.XhtmlBaseSink.table_(XhtmlBaseSink.java:1205) > > at > org.apache.maven.plugin.pmd.PmdReportListener.endFileSection(PmdReportListener.java:127) > > at > org.apache.maven.plugin.pmd.PmdReportListener.processViolations(PmdReportListener.java:191) > > at > org.apache.maven.plugin.pmd.PmdReportListener.endDocument(PmdReportListener.java:337) > > at > org.apache.maven.plugin.pmd.PmdReport.generateReport(PmdReport.java:305) > > at org.apache.maven.plugin.pmd.PmdReport.execute(PmdReport.java:194) > > at > org.apache.maven.plugin.pmd.PmdReport.executeReport(PmdReport.java:168) > > at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190) > > at > org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:99) > > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > > 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(LifecycleStarter.java:161) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > > at > org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > channel stopped > > Thanks > > John > > <<...>> > > > John W. Miller. > Senior Software Engineer | Library Engineering > > 500 Eldorado Blvd, UBRM05-2096 > Broomfield CO, 80021 > > Work Office: 13032721067 > > Email: john.w.mil...@oracle.com > > <<...>> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org