On 1/29/06, Fredy <[EMAIL PROTECTED]> wrote:

> Can you add the snippet of your settings.xml?

Sure:  http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/Settings

Do I need to do something prior to 'mvn archetype:create' or should it
go retrieve the archetype?  It looks like it's trying to find it...

$ mvn archetype:create -DarchetypeGroupId=struts
-DarchetypeArtifactId=struts-arc
hetype-shale-blank -DarchetypeVersion=1.0.1-SNAPSHOT -DgroupId=net.wsmoak -Dpac
kageName=net.wsmoak.testproj -DartifactId=my-webapp
...
[ERROR] BUILD ERROR
[INFO] -------------------------------------------------------------------------
---
[INFO] Failed to resolve artifact.

GroupId: struts
ArtifactId: struts-archetype-shale-blank
Version: 1.0.1-SNAPSHOT

Reason: Unable to download the artifact from any repository

  struts:struts-archetype-shale-blank:jar:1.0.1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

And yet, there it is:
<http://cvs.apache.org/maven-snapshot-repository/struts/struts-archetype-shale-blank/1.0.1-SNAPSHOT/>

How do I get Maven to look in the snapshot repository?  Maven 1 had
'maven plugin:install'; is there something similar for m2?

Thanks,
--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to