maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <rfscho...@apache.org>
Subject Re: maven-release-plugin is not working properly
Date Thu, 13 Jun 2013 17:06:36 GMT
hi,

This is an interesting line:
[HUDSON] Collecting dependencies info

So you're using Hudson to release.
That shouldn't be a problem, but the Exception tells me there's an issue  
with the Maven installation.
Maybe you can get more info on the Hudson mailinglist.

Robert


Op Thu, 13 Jun 2013 14:59:29 +0200 schreef proverbio  
<proverbio8@gmail.com>:

> Hello!
>
> I want to release a SNAPSHOT pom and I am using maven-release-plugin
> v.2.4.1. GEOPos2-Watcher is a git repo.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building GEOPos2-Watcher
> [INFO]    task-segment: [release:prepare] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
>
> [HUDSON] Collecting dependencies info
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] Resuming release from phase 'run-preparation-goals'
> [INFO] Executing goals 'clean verify'...
> [INFO] Exception in thread "main" java.lang.NoClassDefFoundError:
> org/codehaus/classworlds/Launcher
> [INFO] Caused by: java.lang.ClassNotFoundException:
> org.codehaus.classworlds.Launcher
> [INFO] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> [INFO] 	at java.security.AccessController.doPrivileged(Native Method)
> [INFO] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> [INFO] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> [INFO] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> [INFO] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> [INFO] Could not find the main class: org.codehaus.classworlds.Launcher.
> Program will exit.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Maven execution failed, exit code: '1'
>
>
>
> -------------------------------------------------------------------------------
>
> <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-release-plugin</artifactId>
>         <version>2.4.1</version>
>         	<executions>
> 			<execution>
> 				<id>default</id>
> 				<goals>
> 					<goal>prepare</goal>
> 				</goals>
> 				<configuration>
>           			
> <tagNameFormat>version@{project.version}</tagNameFormat>
>         		        </configuration>
> 			</execution>
> 		</executions>
> </plugin>
>
>
> <scm>
> 	<connection>
> 		scm:git:http://geogit.uy/gitlab/uy-geopos2/geopos2-watcher.git
> 	</connection>
> 	<developerConnection>
> 		scm:git:http://geogit.uy/gitlab/uy-geopos2/geopos2-watcher.git
> 	</developerConnection>
> 	<url>http://geogit.uy/gitlab/uy-geopos2/geopos2-watcher</url>
> 	<tag>HEAD</tag>
> </scm>
>
> I am missing something?
>
> Much thanks!
>
>
>
> --
> View this message in context:  
> http://maven.40175.n5.nabble.com/maven-release-plugin-is-not-working-properly-tp5759252.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

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


Mime
View raw message