The command would be mvn release:prepare -DignoreSnapshots=true But yes, the doc suggests this would only work with timestamped snapshots.
/Anders On Tue, Aug 17, 2010 at 15: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. > > > > > >
