You dont need to use the release plugin to deploy a snapshot. A simple 'mvn deploy' will suffice.
Thanks Adam On Thu, 2009-12-10 at 07:35 -0800, laredotornado wrote: > Hi, > > I'm using Maven 2 and trying to release a snapshot version of my Java web > app. Here is the command I'm running from my root project folder ... > > > mvn release:prepare -DdryRun=true -Dresume=false > > -DallowTimestampedSnapshots=true > > Eventually the build dies because of "Can't release project due to non > released dependencies". I thought adding "-DallowTimestampedSnapshots=true" > was supposed to allow this. Could someone provide some clarity on how to > release a snapshot version of my project? Below is the last part of running > the above command. > > Thanks, - Dave > > > > [INFO] [release:prepare {execution: default-cli}] > [INFO] Verifying that there are no local modifications... > [INFO] Executing: /bin/sh -c cd /Users/dalvarado/source/tours && cvs -z3 -f > -d :pserver:dalvar...@localhost:/usr/local/cvs/nic -n -q update -d > [INFO] Working directory: /Users/dalvarado/source/tours > [INFO] Checking dependencies and plugins for snapshots ... > There are still some remaining snapshot dependencies.: Do you want to > resolve them now? (yes/no) no: : yes > Dependency type to resolve,: specify the selection number ( 0:All 1:Project > Dependencies 2:Plugins 3:Reports 4:Extensions ): (0/1/2/3) 1: : 0 > Resolve All Snapshots.: 'myco.galc.capitol.tours:myco-galc-capitol-tours' > set to release? (yes/no) yes: : yes > What is the next development version? (1.1-SNAPSHOT) 1.1-SNAPSHOT: : > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Can't release project due to non released dependencies : > myco.galc.capitol.tours:myco-galc-capitol-tours:pom:1.0-SNAPSHOT > in project 'myco GA Capitol Tours Webapp' > (myco.galc.capitol.tours:myco-galc-capitol-tours-webapp:war:1.0-SNAPSHOT) > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 23 seconds > [INFO] Finished at: Thu Dec 10 08:28:55 MST 2009 > [INFO] Final Memory: 12M/23M > [INFO] > ------------------------------------------------------------------------ > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org