Use offline (-o in maven cli) (try mvn -h to see options).
Or configure an interval in the repo declaration in your settings or
pom.

- Olivier

-----Message d'origine-----
De : RobJac [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 16 mai 2006 12:16
À : [email protected]
Objet : How to avoid checking for updates



When ever i run the mvn site command, the maven checks for updates which
i want to avoid. Please find below the console statements. Its trying to
find updates for 
org.apache.maven.doxia. Any ideas?

$ mvn site
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Component_LF
[INFO]    task-segment: [site]
[INFO]
------------------------------------------------------------------------
----
[INFO] snapshot org.apache.maven.doxia:doxia-core:1.0-alpha-8-SNAPSHOT:
checking for updates from apache.snapshots
[WARNING] repository metadata for: 'snapshot
org.apache.maven.doxia:doxia-core:1.0-alpha-8-SNAPSHOT' could not be
retrieved from repository: apache.snapshots due to an error: Error
transferring file [INFO] Repository 'apache.snapshots' will be
blacklisted [INFO] snapshot
org.apache.maven.doxia:doxia:1.0-alpha-8-SNAPSHOT: checking for updates
from snapshots [INFO] snapshot
org.apache.maven.doxia:doxia-core:1.0-alpha-8-SNAPSHOT:
checking for updates from apache.snapshots
[WARNING] repository metadata for: 'snapshot
org.apache.maven.doxia:doxia-core:1.0-alpha-8-SNAPSHOT' could not be
retrieved from repository: apache.snapshots due to an error: Error
transferring file [INFO] Repository 'apache.snapshots' will be
blacklisted [INFO] snapshot
org.apache.maven.doxia:doxia:1.0-alpha-8-SNAPSHOT: checking for updates
from snapshots

--
View this message in context:
http://www.nabble.com/How-to-avoid-checking-for-updates-t1626254.html#a4
406278
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après "le message" ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
********************************************************************** 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to