Moretti, Luciano (MED) wrote: > So how does the Snapshot resolving determine what is the latest version > in the online repositories?
AFAIK, you can have only one SNAPSHOT version per artifact. This means that if you are developing two branches of your project in paralell, and want to have SNAPSHOT versions for both of the branches, you need to put the name of the branch into the artifact name: artifactId: myproject-1.0 versions: 1.0 1.1 SNAPSHOT (SNAPSHOT presumably is 1.2-dev) artifactId: myproject-2.0 versions 2.0 SNAPSHOT (SNAPSHOT presumably is 2.1-dev) As for future direction I would prefer the following scheme <dependency> <arifactId>myproject</aritfacId> <version>1.2-dev</version> <snapshot/> </dependency> Where <snapshot/> creates a dependency hint that is picked up by the resolver - it tells it that it should look for newest timestamped version of myproject-1.2-dev. The release wizard would freeze such dependency into: <dependency> <arifactId>myproject</aritfacId> <version>1.2-dev-20030620.124616</version> </dependency> Ensuring that the future builds will pick correct artifact. R --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]