[ http://jira.codehaus.org/browse/MNG-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116180 ]
Aaron Zeckoski commented on MNG-3314: ------------------------------------- It is also critical for people who are in countries with poor or very expensive internet access This is still an issue in maven 2.0.8 azeckoski:test-runner azeckoski$ mvn -v Maven version: 2.0.8 Java version: 1.5.0_13 OS name: "mac os x" version: "10.5.1" arch: "i386" Family: "unix" azeckoski:test-runner azeckoski$ mvn -o clean install [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Sakai TestRunner [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: org.sakaiproject.maven.plugins ArtifactId: sakai Version: SNAPSHOT Reason: System is offline. org.sakaiproject.maven.plugins:sakai:pom:SNAPSHOT NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Fri Dec 07 09:28:15 PST 2007 [INFO] Final Memory: 2M/254M [INFO] ------------------------------------------------------------------------ > offline build not running, when having SNAPSHOT dependencies > ------------------------------------------------------------ > > Key: MNG-3314 > URL: http://jira.codehaus.org/browse/MNG-3314 > Project: Maven 2 > Issue Type: Bug > Components: General > Affects Versions: 2.0.7 > Reporter: Matthias Weßendorf > Priority: Critical > > am having troubles with > mvn ... -o > (with maven 2.0.7) > says not able to download (but, really, the file is in my local repo) > The dependency is a -SNAPSHOT (for what's worth) > Luckily, when traveling by train, I had maven 2.0.4 on my box as well. > A change to use 2.0.4 works fine. > So, is this an already know bug in 2.0.7 ? > To my understanding it is a bug, since offline just shouldn't try to get a > newer > SNAPSHOT, perhaps I am wrong. > I know that relying on SNAPSHOTs can be dangerous, but from -o I would expect > just not checking for new stuff. > and... for some reasons, sometimes, > it just downloads a new SNAPSHOT. > That is a pain, when you are "maintaining" the same snapshot on your > box, but the build just goes ahead and actually downloads a version. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira