Community
Participate
Working Groups
Running a job with a Maven 2 (legacy) build step and JVM-parameters, since Hudson 3.3.0 the following error message appears in the log: Error: Could not find or load main class MAVEN_OPTS This is because Hudson or the Maven 2 plugin apparently does not resolve the variabe correctly but uses the strin "MAVEN_OPTS" itself, adding the JVM-parameters as in the following example command line: "<java_home>\java.exe" MAVEN_OPTS -Xmx2048m -XX:PermSize=512m -Dspring.profiles.active=test ... clean deploy This is not happening when there are no JVM-parameters in the job config.