When running the checkstyle plugin I get out of memory errors:

---
Embedded error: Error rendering Maven report: Exit code: 1 - c:\home\roge
se6\presence-util\src\main\java\com\presence\util\PtUtils.java:6: warning
 Sun proprietary API and may be removed in a future release
import sun.misc.BASE64Encoder;
               ^
javadoc: error - java.lang.OutOfMemoryError: Please increase memory.
For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx
such as -J-Xmx32m.

---

In my pom (compiler options) I have:

             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
                     <source>1.6</source>
                     <target>1.6</target>
                     <showDeprecation>true</showDeprecation>
                     <showWarnings>true</showWarnings>
                     <fork>true</fork>
                     <compilerOption>-enableassertions
-J-Xmx512m</compilerOption>
                     <encoding>Cp1252</encoding>
                     <meminitial>128m</meminitial>
                     <maxmem>512m</maxmem>
                 </configuration>
             </plugin>

---
any ideas?

thanks


Si'mon
-- 
View this message in context: 
http://www.nabble.com/Maven-checkstyle-plugin---how-to-get-working--tf4071378s177.html#a11570515
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to