Just further to my last note, I started tcpdump before running maven and
I see a whole lot of HTTP 404's which makes me think the repository is
the problem, rather than my install...
As I'm just starting out with maven, I don't really know how to diagnose
what's going on here.
GET /pub/packages/maven2/org/apache/maven/plugins/maven-metadata.xml
HTTP/1.1
Accept-Encoding: gzip
Pragma: no-cache
User-Agent: Java/1.5.0_07
Host: ftp.ggi-project.org
Response:
HTTP/1.1 404 Not Found
Date: Sun, 08 Jul 2007 19:48:58 GMT
Server: Apache/2
Content-Length: 449
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL
/pub/packages/maven2/org/apache/maven/plugins/maven-metadata.xml was not
found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the
request.</p>
<hr>
<address>Apache/2 Server at vhost.ibiblio.org Port 80</address>
</body></html>
There are several other requests in the tcpdump which all get HTTP 404's.
Wayne Fay wrote:
Try mvn -X -U to see more debug output. Do you perhaps have some
software firewall that's blocking Java from reaching out to the Net or
something -- I know you've got a Mac, but we've seen that sometimes on
this list with people on Windows.
Wayne
On 7/8/07, Robert Hadfield <[EMAIL PROTECTED]> wrote:
Hi, tried this but get the same result:
cpc1-reig2-0-0-cust1000:~/Documents/workspace robhadfield$ mvn -U
archetype:create -DarchetypeGroupId=org.apache.maven.archetypes
-DgroupId=com.mycompany.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[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-archetype-plugin:
checking for updates from central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-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: 1 second
[INFO] Finished at: Sun Jul 08 19:03:15 BST 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
Kind regards,
Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]