Hi, I'm using Maven 2.2 on Mac 10.5.6. I'm trying to release a non-snapshot version of my project, but getting the error "You don't have a SNAPSHOT project in the reactor projects list.", when running "mvn release:prepare". Google has not told me much about how to overcome this error . Can you?
Thanks, - Dave ocho:tours dalvarado$ mvn -e release:prepare + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] myco GA Capitol Tours [INFO] myco GA Capitol Tours Webapp [INFO] Searching repository for plugin with prefix: 'release'. [WARNING] Cannot resolve plugin-mapping metadata for groupId: org.apache.maven.plugins - IGNORING. [INFO] ------------------------------------------------------------------------ [INFO] Building myco GA Capitol Tours [INFO] task-segment: [release:prepare] (aggregator-style) [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/com/nicusa/jsf/com-nicusa-jsf/1.11/com-nicusa-jsf-1.11.pom [INFO] Unable to find resource 'com.nicusa.jsf:com-nicusa-jsf:pom:1.11' in repository maven2 (http://repo1.maven.org/maven2) Downloading: http://repository.jboss.com/maven2/com/nicusa/jsf/com-nicusa-jsf/1.11/com-nicusa-jsf-1.11.pom [INFO] Unable to find resource 'com.nicusa.jsf:com-nicusa-jsf:pom:1.11' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/com/nicusa/jsf/com-nicusa-jsf/1.11/com-nicusa-jsf-1.11.pom [INFO] Unable to find resource 'com.nicusa.jsf:com-nicusa-jsf:pom:1.11' in repository ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2) Downloading: http://repo1.maven.org/maven2/com/nicusa/jsf/com-nicusa-jsf/1.11/com-nicusa-jsf-1.11.pom [INFO] Unable to find resource 'com.nicusa.jsf:com-nicusa-jsf:pom:1.11' in repository central (http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/myco/util/jsf/myco-util-jsf/1.3/myco-util-jsf-1.3.pom [INFO] Unable to find resource 'myco.util.jsf:myco-util-jsf:pom:1.3' in repository maven2 (http://repo1.maven.org/maven2) Downloading: http://repository.jboss.com/maven2/myco/util/jsf/myco-util-jsf/1.3/myco-util-jsf-1.3.pom [INFO] Unable to find resource 'myco.util.jsf:myco-util-jsf:pom:1.3' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://mirrors.ibiblio.org/pub/mirrors/maven2/myco/util/jsf/myco-util-jsf/1.3/myco-util-jsf-1.3.pom [INFO] Unable to find resource 'myco.util.jsf:myco-util-jsf:pom:1.3' in repository ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2) Downloading: http://repo1.maven.org/maven2/myco/util/jsf/myco-util-jsf/1.3/myco-util-jsf-1.3.pom [INFO] Unable to find resource 'myco.util.jsf:myco-util-jsf:pom:1.3' in repository central (http://repo1.maven.org/maven2) [INFO] [release:prepare {execution: default-cli}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] You don't have a SNAPSHOT project in the reactor projects list. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: You don't have a SNAPSHOT project in the reactor projects list. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoFailureException: You don't have a SNAPSHOT project in the reactor projects list. at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:169) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 seconds [INFO] Finished at: Mon Dec 28 10:54:20 MST 2009 [INFO] Final Memory: 12M/22M [INFO] ------------------------------------------------------------------------ -- View this message in context: http://old.nabble.com/error%3A--You-don%27t-have-a-SNAPSHOT-project-in-the-reactor-projects-list.-tp26945905p26945905.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
