Regarding maven 3 integration with Hudson

2010-12-15 Thread amit pugalia
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.


Re: Regarding maven 3 integration with Hudson

2010-12-15 Thread Yossi Shaul
Artifactory plugin for
Hudsonhttp://wiki.hudson-ci.org/display/HUDSON/Artifactory+Pluginsupports
Maven 3 builds (as free style projects).
You can use it even if you're not using Artifactory.

Yossi

On Wed, Dec 15, 2010 at 07:32, amit pugalia amit.puga...@gmail.com wrote:

 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.



Re: Regarding maven 3 integration with Hudson

2010-12-15 Thread nicolas de loof
take a look at Olivier blog about maven3 support on hudson
http://olamy.blogspot.com/

2010/12/15 amit pugalia amit.puga...@gmail.com

 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.



Re: Regarding maven 3 integration with Hudson

2010-12-15 Thread Olivier Lamy
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/thread/e3444c1cdedcc23e
[2] 
http://olamy.blogspot.com/2010/12/maven-3-support-in-hudson-maven-plugin.html
[3] http://issues.hudson-ci.org/browse/HUDSON-4988

2010/12/15 amit pugalia amit.puga...@gmail.com:
 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.


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