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-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org