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