I get the same exception in Jenkins v. 1.477 and maven 2.2.1

Everything works fine, except for the release. There I get this exception.

[INFO] Exception in thread "main" java.lang.NoClassDefFoundError: 
org/codehaus/classworlds/Launcher
[INFO] Caused by: java.lang.ClassNotFoundException: 
org.codehaus.classworlds.Launcher


Thanks,
Erik


Am Donnerstag, 6. September 2012 19:14:13 UTC+2 schrieb mpapo - Michaël 
Pailloncy:
>
> Hi,
>
> We faced in a problem with Maven during a release build. The job is 
> configured with the Release Plugin.
> MAVEN_HOME variable is correctly set during the first build (and any 
> 'normals' builds), but when we launch a release and the build arrive to 
> the command 'mvn .. release:clean release:prepare release:perform' to 
> launch the Maven3 release, it seems that the MAVEN_HOME variable is not set 
> correctly and the build crashs with this error : 
>
> class not found:  org.codehaus.classworlds.Launcher  -  
> org.codehaus.classworlds.Launcher 
>
>
> We have also Maven2.2.1 and Maven3.0.3 installed on the master (AIX) which 
> build this job.
> In .profile file, M2_HOME is by default set to Maven2.2.1.
>
> The problem is appeared since we have updated Jenkins with version 1.478.
> The same job worked correctly before the update (last release has been 
> built just before our update of Jenkins and the mvn command worked 
> correctly).
>
> Is this a bug ? Does I create a ticket in Jira ?
>
> Thanks in advance from any help !
> Michaël
>

Reply via email to