Try "mvn -U" first.

On Sep 19, 2008, at 12:01 AM, "Ben Gill" <[EMAIL PROTECTED]> wrote:

Hi,

Are the quickstart instructions out of date?

I tried to run:

Struts 2 Basic mvn archetype:create - DarchetypeGroupId=org.appfuse.archetypes - DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app - DartifactId=myproject
and I get:


[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] --- ---------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO] --- ---------------------------------------------------------------------
Downloading: 
http://repo1.maven.org/maven2/uk/co/objectfactory/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
Downloading: 
http://repo1.maven.org/maven2/uk/co/objectfactory/wagon-http-shared/1.0-beta-2/wagon-http-shared-1.0-beta-2.pom
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:create]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead

Am I missing something?

Thanks

Ben

Reply via email to