I am struggling with the following command, found in maven 2's
"Getting Started Guide":
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
-DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeArtifactId=maven-archetype-site
The error is:

[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetype-site
Version: RELEASE

Reason: Unable to determine the release version
  org.apache.maven.archetypes:maven-archetype-site:RELEASE:jar

Currently I am using -DarchetypeVersion=1.0-alpha-2 to make it work,
but I think this is only because there is no "maven-metadata.xml" in
folder "/maven2/org/apache/maven/archetypes/maven-archetype-site" at
www.ibiblio.org

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

Reply via email to