Good day to you, Jan, No. That is how maven works.
I think you should deploy those snapshots to your server to fix your problem (or if you want, create a snapshot repo). And i think it is the proper approach to that as well. Cheers, Franz Jan "Kork" "Thomä" wrote: > > Hi, > > we are using a library called ICC for our projects. The library is built > from > SVN on our server once per night and stored as icc-1.0-SNAPSHOT on the > server. We have added the server to our remote repositories via > settings.xml. > > Also, since ICC is still in heavy development, every developer has a local > copy of ICC as well on his machine. > > When a developer changes ICC if he needs the change for some other project > depending on ICC, he finally calls mvn install, to install his local > changes > to ICC into his local repository (which creates an icc-1.0-SNAPSHOT.jar in > the local repo). > > When building the other project, maven fetches the latest copy of ICC from > our > server and puts it into the local repository. Now here is where the > problem > starts. Maven always uses the copy from the server, not the locally > installed > one (using mvn install in ICC), even if the locally created version is > newer . Is there something we are doing wrong? > > Best regards, > -- > ________________________________________________________ > Jan Thomä > insOMnia - We never sleep... http://www.insomnia-hq.de > > > -- View this message in context: http://www.nabble.com/Maven-does-not-get-latest-snapshot-for-building-tf2632406s177.html#a7374089 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
