[ http://jira.codehaus.org/browse/MNG-1309?page=all ]
     
Brett Porter closed MNG-1309:
-----------------------------

     Assign To: Brett Porter
    Resolution: Duplicate

run with -U, it will force an update I believe.

> Site archetype should not need archetypeVersion parameter
> ---------------------------------------------------------
>
>          Key: MNG-1309
>          URL: http://jira.codehaus.org/browse/MNG-1309
>      Project: Maven 2
>         Type: Bug
>   Components: maven-archetype-plugin
>     Versions: 2.0
>     Reporter: Eduardo Rocha
>     Assignee: Brett Porter

>
>
> Tthe 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to