If someone interested.
I found a workaround using <uniqueVersion>true</uniqueVersion> in
<distributionManagement>
<repository>
- Olivier
-----Message d'origine-----
De : Olivier Lamy [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 4 janvier 2006 13:05
À : Maven Users List
Objet : snapshot downloading algorithm
Hi,
I have question concerning the snapshot downloading way.
In my company repo, we some artifacts (plugins and others). When I
deploy a snapshot version (plugin or others) on it (locally with a
deploy with file url), I run mvn -U -cpu goals on my machine. And
nothing is updated on my local machine. Whereas I see this on the
console (but no download) : [INFO] snapshot
com.accor.maven.plugins:maven-accorwar-plugin:1.0-SNAPSHOT: checking for
updates from rec-ap2
My settings contains :
<repositories>
<repository>
<releases>
<updatePolicy>daily</updatePolicy>
<enabled>true</enabled>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
<enabled>true</enabled>
</snapshots>
<id>rec-ap2</id>
<name>rec-ap2-maven2</name>
<url>url</url>
</repository>
</repositories>
I see the GET requests on the HTTP Server hosted the respository. (on
maven-metadata.xml and maven-metadata.xml.sha1 and update of this in my
local machine). Note the jar size has changed. Is it a knwow trouble ?
(or a bad configuration in my settings.xml) What is the algorithm to
decide : ok I download a new jar ?
Thanks,
- Olivier
This e-mail, any attachments and the information contained therein
("this message") are confidential and intended solely for the use of the
addressee(s). If you have received this message in error please send it
back to the sender and delete it. Unauthorized publication, use,
dissemination or disclosure of this message, either in whole or in part
is strictly prohibited.
**********************************************************************
Ce message electronique et tous les fichiers joints ainsi que les
informations contenues dans ce message ( ci apres "le message" ), sont
confidentiels et destines exclusivement a l'usage de la personne a
laquelle ils sont adresses. Si vous avez recu ce message par erreur,
merci de le renvoyer a son emetteur et de le detruire. Toutes
diffusion, publication, totale ou partielle ou divulgation sous quelque
forme que se soit non expressement autorisees de ce message, sont
interdites.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]