You can specify that version in the pom ie: <version>5.0-20070802.165005-1</version>
Wayne On 10/11/07, Baz <[EMAIL PROTECTED]> wrote: > When deploying snapshot version to remote repository. There are versioned > snapshots in the sub directories. For example, > > if i deploy 5.0-SNAPSHOT of ABC, then here is the directory structure within > the repo after deployment: > > com/123/ABC/5.0-SNAPSHOT/ > ... > ABC-5.0-20070802.165005-1.pom > ABC-5.0-20070802.165005-1.jar > ... > ABC-5.0-20070803.165005-4.jar > ... > > How can my compilation build against a specific version of SNAPSHOT? > > Thank you. > > A. > > > On 10/10/07, Harlan Iverson <[EMAIL PROTECTED]> wrote: > > > > If it's an inhouse snapshot repository, you should deploy using > > uniqueVersion=true and then -SNAPSHOT will be replaced with a unique > > identifier that you can use. For example, 1.0-SNAPSHOT will become > > something > > like 1.0-423423423434 when deployed. You then use that version as your > > dependency. > > > > I hope that helps. > > > > Harlan > > > > On 10/10/07, Baz <[EMAIL PROTECTED]> wrote: > > > > > > All, > > > > > > What should i type to compile against a certain version of snapshot? > > > > > > Thanks. > > > > > > A. > > > > > > > > > > > -- > > Harlan Iverson > > http://blog.devspan.com > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
