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

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

I spoke too soon, even a local build with latest from SVN doesn't work:

[INFO] Parameter: artifactId, Value: myArtifactId
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 30,column 16] : ${gwt.version} is 
not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 36,column 16] : ${gwt.version} is 
not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 85,column 21] : 
${maven.compiler.source} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 86,column 21] : 
${maven.compiler.target} is not a valid reference.
[INFO] ********************* End of debug info from resources from generated 
POM ***********************
[ERROR] ResourceManager : unable to find resource 
'archetype-resources/src/main/java/Application.gwt.xml' in any resource loader.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: Error merging velocity templates
Unable to find resource 'archetype-resources/src/main/java/Application.gwt.xml'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Apr 20 10:42:49 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