mentby.com
Blog | Jobs | Help | Signup | Login

Regarding maven 3 integration with Hudson



Hi,

I'm facing issues when using Maven 3 with latest build of Hudson.
The maven plugin doesn't seem to be compatible with Maven 3.
It throws errors as,

C:\hudson1\home\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.389.jar
52039

Exception in thread "main" java.lang.NoSuchMethodError:
org.codehaus.classworlds.Launcher.getWorld()Lorg/codehaus/classworlds/ClassWorld;
at hudson.maven.agent.Main.main(Main.java:115) at
hudson.maven.agent.Main.main(Main.java:62)
ERROR: Failed to launch Maven. Exit code = 1

I tried building a Free Style Project on the same but still facing issues.
Do we have a solution, please help.

Thanks,
Amit Pugalia.


Amit Pugalia Wed, 15 Dec 2010 01:41:44 -0800

Artifactory plugin for
Hudson< http://wiki.hudson-ci.org/display/HUDSON/Artifactory+Plugin&[..]
Maven 3 builds (as free style projects).
You can use it even if you're not using Artifactory.

Yossi


Yossi Shaul Wed, 15 Dec 2010 01:58:17 -0800

take a look at Olivier blog about maven3 support on hudson http://olamy.blogspot.com/


Nicolas De Loof Wed, 15 Dec 2010 02:18:24 -0800

Salut,
Should be more a thread for hudson ml (have a look at the thread [1] )
Have look at the blog entry [2] and add comment in the dedicated
hudson jira entry [3].
A hudson build is available here : http://people.apache.org/~olamy/hudson/main-maven3-support/

And move your question to the hudson ml :-)

Thanks;
--
Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy

[1]  http://groups.google.com/group/hudson-dev/browse_thread/thre[..]
[2]  http://olamy.blogspot.com/2010/12/maven-3-support-in-hudson-[..]
[3]  http://issues.hudson-ci.org/browse/HUDSON-4988


Olivier Lamy Wed, 15 Dec 2010 04:00:04 -0800



Related Topics

Post a Comment