Hi,
 I run the command
> mvn archetype:create \
>   -DarchetypeGroupId=org.apache.maven.archetypes \
>   -DgroupId=com.mycompany.app \
>   -DartifactId=my-app

but get the following error

Project ID: org.apache.maven.plugins:maven-archetype-plugin

Reason: Error getting POM for '
org.apache.maven.plugins:maven-archetype-plugin' from the repository: Failed
to resolve artifact, possibly due to a repository list that is not
appropriately equipped for this artifact's metadata.
  org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
 for project org.apache.maven.plugins:maven-archetype-plugin

This command should be easy and used to work, what is going wrong? My maven
is 2.0.8.

Regards,
Rice

Reply via email to