[
http://jira.codehaus.org/browse/MNG-2433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138594#action_138594
]
Philip Wu commented on MNG-2433:
--------------------------------
I have maven version 2.0.9 and I am having the same issue.
doing "mvn install -Dmaven.test.skip" works fine, but when I use
"mvn install -Dmaven.test.skip -o" (the offline mode) it doesn't work and I
double checked that the jar is in my local repo!
It's painfully slow to do a build trying to download all the dependencies and
POM files everytime!
> Maven looks for snapshots in offline mode
> -----------------------------------------
>
> Key: MNG-2433
> URL: http://jira.codehaus.org/browse/MNG-2433
> Project: Maven 2
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 2.0.5
> Reporter: Carsten Ziegeler
> Assignee: Jason van Zyl
> Priority: Critical
> Fix For: 2.0.6
>
>
> It seems that sometimes Maven2 is looking for snapshots in offline mode (this
> happens for example in the Cocoon project). here is an output that might help:
> :\dev\workspace\cocoon-2.2\core\cocoon-webapp>mvn -o -Dmaven.test.skip=true
> coc
> oon:deploy
> [INFO]
> NOTE: Maven is executing in offline mode. Any artifacts not already in your
> loca
> l
> repository will be inaccessible.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'cocoon'.
> [INFO] org.apache.maven.plugins: checking for updates from snapshots
> [INFO] org.apache.maven.plugins: checking for updates from mortbay-repo
> [INFO] org.codehaus.mojo: checking for updates from snapshots
> [INFO] org.codehaus.mojo: checking for updates from mortbay-repo
> [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT:
> checkin
> g for updates from snapshots
> [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT:
> checkin
> g for updates from mortbay-repo
> [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT:
> checkin
> g for updates from central
> [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT:
> checkin
> g for updates from apache.snapshot
> [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT:
> checkin
> g for updates from apache-cvs
> [INFO] snapshot org.apache.cocoon:cocoon-deployer-plugin:1.0.0-SNAPSHOT:
> checkin
> g for updates from apache.snapshots
> [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for
> updat
> es from snapshots
> [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for
> updat
> es from mortbay-repo
> [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for
> updat
> es from central
> [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for
> updat
> es from apache.snapshot
> [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for
> updat
> es from apache-cvs
> [INFO] snapshot org.apache.cocoon:cocoon-deployer:1-SNAPSHOT: checking for
> updat
> es from apache.snapshots
> [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking
> for
> updates from snapshots
> [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking
> for
> updates from mortbay-repo
> [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking
> for
> updates from central
> [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking
> for
> updates from apache.snapshot
> [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking
> for
> updates from apache-cvs
> [INFO] snapshot org.apache.cocoon:cocoon-tools-modules:1-SNAPSHOT: checking
> for
> updates from apache.snapshots
> [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates
> from s
> napshots
> [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates
> from m
> ortbay-repo
> [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates
> from c
> entral
> [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates
> from a
> pache.snapshot
> [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates
> from a
> pache-cvs
> [INFO] snapshot org.apache.cocoon:cocoon:1-SNAPSHOT: checking for updates
> from a
> pache.snapshots
--
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