OK that is weird.. that child project does not have a entry for PMD, but the 
parent entry is 2.7.1
Not sure where it is getting 3.0??



-----Original Message-----
From: Olivier Lamy [mailto:ol...@apache.org] 
Sent: Friday, February 22, 2013 9:38 AM
To: Maven Users List
Subject: Re: I need help with a "maven-pmd-plugin" OutOfMemoryError: Java heap 
space Error.

2013/2/22 John Miller <john.w.mil...@oracle.com>:
> Thanks Oliver for the response.
>
> This is with 2.7.1. Could it be too many rulesets??
? really
Your log says :
>> [INFO] --- maven-pmd-plugin:3.0:pmd (default-cli) @ 
>> oracle.tbi.common.entities ---
>>
>> mavenExecutionResult exceptions not empty


>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-pmd-plugin</artifactId>
> <version>2.7.1</version>
> <configuration>
> <targetJdk>1.6</targetJdk>
> <rulesets>
> <ruleset>/rulesets/basic.xml</ruleset>
> <ruleset>/rulesets/braces.xml</ruleset>
> <ruleset>/rulesets/clone.xml</ruleset>
> <ruleset>/rulesets/codesize.xml</ruleset>
> <!-- ruleset>/rulesets/controversial.xml</ruleset --> 
> <ruleset>/rulesets/coupling.xml</ruleset>
> <ruleset>/rulesets/design.xml</ruleset>
> <ruleset>/rulesets/finalizers.xml</ruleset>
> <ruleset>/rulesets/imports.xml</ruleset>
> <ruleset>/rulesets/logging-java.xml</ruleset>
> <ruleset>/rulesets/optimizations.xml</ruleset>
> <ruleset>/rulesets/strictexception.xml</ruleset>
> <ruleset>/rulesets/sunsecure.xml</ruleset>
> <ruleset>/rulesets/unusedcode.xml</ruleset>
> </rulesets>
> </configuration>
> </plugin>
>
> -----Original Message-----
> From: Olivier Lamy [mailto:ol...@apache.org]
> Sent: Friday, February 22, 2013 9:18 AM
> To: Maven Users List
> Subject: Re: I need help with a "maven-pmd-plugin" OutOfMemoryError: Java 
> heap space Error.
>
> 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.
>> j
>> ava: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:20
>> 3
>> 1)
>>
>>         at
>> org.apache.maven.doxia.siterenderer.sink.SiteRendererSink.write(SiteR
>> e
>> ndererSink.java:337)
>>
>>         at
>> org.apache.maven.doxia.sink.XhtmlBaseSink.table_(XhtmlBaseSink.java:1
>> 2
>> 05)
>>
>>         at
>> org.apache.maven.plugin.pmd.PmdReportListener.endFileSection(PmdRepor
>> t
>> Listener.java:127)
>>
>>         at
>> org.apache.maven.plugin.pmd.PmdReportListener.processViolations(PmdRe
>> p
>> ortListener.java:191)
>>
>>         at
>> org.apache.maven.plugin.pmd.PmdReportListener.endDocument(PmdReportLi
>> s
>> tener.java:337)
>>
>>         at
>> org.apache.maven.plugin.pmd.PmdReport.generateReport(PmdReport.java:3
>> 0
>> 5)
>>
>>         at
>> org.apache.maven.plugin.pmd.PmdReport.execute(PmdReport.java:194)
>>
>>         at
>> org.apache.maven.plugin.pmd.PmdReport.executeReport(PmdReport.java:16
>> 8
>> )
>>
>>         at
>> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
>> R
>> eport.java:190)
>>
>>         at
>> org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenR
>> e
>> port.java:99)
>>
>>         at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
>> B
>> uildPluginManager.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.buildProje
>> c
>> t(LifecycleModuleBuilder.java:84)
>>
>>         at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
>> c
>> t(LifecycleModuleBuilder.java:59)
>>
>>         at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
>> i
>> ld(LifecycleStarter.java:183)
>>
>>         at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
>> e
>> Starter.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.j
>> a
>> va:79)
>>
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> Method)
>>
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> j
>> ava:39)
>>
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> s
>> orImpl.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
>
>
> ---------------------------------------------------------------------
> 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


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

Reply via email to