Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Archiva is running on a Tomcat 6.0.14 with default setup.
I've also tried it on a Tomcat 5.5.25 with the same result.
Description
mvn cobertura:cobertura does not work with Archiva repository set as mirror.
$ mvn cobertura:cobertura
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cobertura'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-cobertura-plugin: checking for updates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-cobertura-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Dec 20 16:19:17 GMT 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------
Issue Links
- duplicates
-
MRM-734
Unable to update metadata - No versions found for reference
-
Try adding -U to your command line to force updates. (Also try with -e or -X to get more output.)
Watch the Archiva logs while this is happening to see whether a request comes in.
Maven's default update policy is 'daily', so if it failed once to download the plugin, it will not try again until tomorrow.