[ 
http://jira.codehaus.org/browse/MGWT-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173514#action_173514
 ] 

Charlie Collins commented on MGWT-34:
-------------------------------------

Ok, figured out some of this, but still have issues.

First we are using the same artifact for the plugin AND the artifact, hence we 
don't have a separate project and a separate packaging (as is normally the 
case).  That's confusing, but once you understand it it's clever, if it works. 

Second, the docs say version 1.1, but that's just not there yet, its 1.0 that 
has been released.  Switching to using the exact command in the docs and 1.0, 
now get this:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: The META-INF/maven/archetype.xml descriptor cannot be found.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Apr 20 10:34:52 EDT 2009
[INFO] Final Memory: 10M/80M
[INFO] ------------------------------------------------------------------------


> Iron out the archetype
> ----------------------
>
>                 Key: MGWT-34
>                 URL: http://jira.codehaus.org/browse/MGWT-34
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Improvement
>            Reporter: Charlie Collins
>            Priority: Minor
>
> Docs have a how to use the archetype page, and it looks like there is 
> archetype stuff in the source (src/main/resources/archetype-resources) but 
> the archetype is not deployed and therefore can't be used the way the docs 
> state.  Either change the docs if we don't plan on deploying, to tell people 
> how to build, or deploy and update docs to point to correct repo, so on. 
> mvn archetype:create \
>    -DarchetypeGroupId=org.codehaus.mojo \
>    -DarchetypeArtifactId=gwt-maven-plugin \
>    -DarchetypeVersion=1.1 \
>    -DgroupId=myGroupId \
>    -DartifactId=myArtifactId
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.codehaus.mojo
> ArtifactId: gwt-maven-plugin
> Version: 1.1
> Reason: Unable to download the artifact from any repository
> Try downloading the file manually from the project website.
> Then, install it using the command: 
>     mvn install:install-file -DgroupId=org.codehaus.mojo 
> -DartifactId=gwt-maven-plugin -Dversion=1.1 -Dpackaging=jar 
> -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there: 
>     mvn deploy:deploy-file -DgroupId=org.codehaus.mojo 
> -DartifactId=gwt-maven-plugin -Dversion=1.1 -Dpackaging=jar 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>   org.codehaus.mojo:gwt-maven-plugin:jar:1.1
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to