Generated project using: mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=1.1 -DgroupId=mypackage -DartifactId=gwttest Plugin was found, but generated POM file has reference on 1.1-SNAPSHOT version of plugin on line 55, so running any mvn commands on pom (like mvn compile) will cause "POM 'org.codehaus.mojo:gwt-maven-plugin' not found in repository: Unable to download the artifact from any repository" error. Fix plugin version in generated pom.xml into 1.1 (on line 55 - currently there is 1.1-SNAPSHOT, what is wrong). This bug was already registered in JIRA.
On Mon, Jun 29, 2009 at 10:59 AM, insano<[email protected]> wrote: > > I am having a similar problem, using the archetype fails with the following > "Required goal not found: archetype:generate in > org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-4" > > > > Darren Hartford wrote: >> >> >> Hello all, >> Following up on MGWT-56, trying to use the archetype to build a skeleton. >> >> Following the directions from >> http://mojo.codehaus.org/gwt-maven-plugin/1.1-SNAPSHOT/user-guide/archetype.html, >> I'm having some issues. >> >> Following the directions as is returns a build failure, "desired archetype >> does not exist". >> >> Changing the archetype version to 1.1-SNAPSHOT had same, so I moved back >> to archetype version 1.0. >> >> Unfortunately, with archetype version 1.0 I now get a build failure "The >> defined artifact is not an archetype". >> >> Noticing the build system mentions 'create' is deprecated, I tried >> 'generate' instead, but same results. >> >> Any hints please? >> >> Thanks, >> -D >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> >> > > -- > View this message in context: > http://www.nabble.com/-gwt-maven--archetype-tp23653514p24249894.html > Sent from the mojo - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
