Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 2.0.5
-
Fix Version/s: None
-
Component/s: Dependencies
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
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
Does fail also when offline set to true in settings.xml (which is kind of critical for us behind firewalls...):
[INFO] artifact org.apache.maven.plugins:maven-scm-plugin: checking for updates from central
[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-scm-plugin' could not be retrieved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted