A simple syntax error. It should be "-XX:MaxPermSize=128m"
Eric
On 3/20/2013 4:06 PM, devanand wrote:
Hi,
I am getting following exception while executing my maven project in
Jenkins.
Parsing POMs
[sample-project] $ "C:\Program Files\Java\jdk1.6.0_38_backup/bin/java" -Xmx512m
-XX:MaxPermSize-128m -cp
C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.2.jar;C:\apache-maven-3.0.3\boot\plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main C:\apache-maven-3.0.3
C:\Jenkins\war\WEB-INF\lib\remoting-2.22.jar
C:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-1.2.jar 56151
*Could not create the Java virtual machine.
Unrecognized VM option 'MaxPermSize-128m'
*
*ERROR: Failed to launch Maven. Exit code = 1
ERROR <http://stacktrace.jenkins-ci.org/search?query=ERROR>: No artifacts are
configured for archiving.*
You probably forgot to set the file pattern, so please go back to the
configuration and specify it.
If you really did mean to archive all the files in the workspace, please specify
"**"
Finished <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE
Can you please guide me what's going on here???
Thanks.
--
You received this message because you are subscribed to the Google
Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.