you can make your dependencies timestamped (provided you are deploying with timestamps) using http://mojo.codehaus.org/versions-maven-plugin/lock-snapshots-mojo.html then run the release and finally use http://mojo.codehaus.org/versions-maven-plugin/unlock-snapshots-mojo.html to turn the timestamped snapshots back into regular -SNAPSHOTs
On 17 August 2010 14:13, Andrew Hughes <[email protected]> wrote: > Hi Anders, > > Yes, I did try 'mvn release:prepare -DallowTimestampedSnapshots=true' but > that didn't work. I would also not expect this to work for me as my > dependencies are not timestamped. But thank you for the suggestion. > > > On Tue, Aug 17, 2010 at 6:17 PM, Anders Hammar <[email protected]> wrote: > >> Did you check the docs? >> >> http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#allowTimestampedSnapshots >> >> /Anders >> >> On Tue, Aug 17, 2010 at 09:44, Andrew Hughes <[email protected]> wrote: >> >> > Hi All, >> > >> > We've just hit alpha testing on our application, consequently I'd like to >> > release this. However, we still have some SNAPSHOT dependencies. Since >> this >> > is only alpha I don't really care about the SNAPSHOT dependencies (I know >> > don't bother to explain that this is a flaw - I know and right now I >> don't >> > care). So any idea's how I can override this in release:prepare? >> > >> > Cheers. >> > >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
