archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Proxying released plugins
Date Fri, 24 Nov 2006 19:03:10 GMT
With central proxied through a managed repository, and that repository
configured as a mirrorOf central in settings.xml, I get:

$ mvn archteype:create -DgroupId=net.wsmoak -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archteype'.
[INFO] artifact org.apache.maven.plugins:maven-archteype-plugin: checking for up
dates from central
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archteype-plugin' does not exi
st or no valid version could be found
...

The Archiva console shows:

2006-11-24 11:58:24,687 [btpool0-13] DEBUG ProxyManager                   - requ
esting /MYREPO/org/apache/maven/plugins/maven-archteype-plugin/maven-metadata.xm
l from repository 'MYREPO'
2006-11-24 11:58:24,687 [btpool0-13] DEBUG ProxyRequestHandler            - Retr
ieving org/apache/maven/plugins/maven-archteype-plugin/maven-metadata.xml from M
aven Central
2006-11-24 11:58:24,828 [btpool0-13] DEBUG ProxyRequestHandler            - Arti
fact not found in repository: Maven Central: Unable to locate resource in reposi
tory

The metadata and releases are present in the Central repo:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/

This same configuration is able to correctly proxy a request for JUnit 3.8.1.

Any ideas on what I should check?

-- 
Wendy

Mime
View raw message