Whoa, thats an old version of the archetype plugin! I wonder if Maven needs
a kick to get the latest version... try forcing the version like

mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate ...

or deleting your local copy of the archetype plugin

rm -rf ~/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin/


On Tue, Jan 6, 2009 at 8:58 AM, watcher <patr...@daly.ws> wrote:

>
> When I run the command I get the error
>
> [INFO] Required goal not found: archetype:generate in
> org.apache.maven.plugins:maven-archetype-plugi
> n:1.0-alpha-4
>
> When I use archetype:create it works.
>
> I using version maven-2.0.9
>
>
>
>
>
> janstey wrote:
> >
> > archetype:generate is correct. The create goal was deprecated a while
> ago.
> > Are you having any particular problem with the generate goal?
> >
> > On Tue, Jan 6, 2009 at 7:51 AM, watcher <patr...@daly.ws> wrote:
> >
> >>
> >>
> >>
> http://activemq.apache.org/camel/creating-a-new-spring-based-camel-route.html
> >>
> >>
> http://activemq.apache.org/camel/creating-a-new-spring-based-camel-route.html
> >>
> >> mvn archetype:generate                   \
> >>  -DarchetypeGroupId=org.apache.camel.archetypes  \
> >>  -DarchetypeArtifactId=camel-archetype-spring   \
> >>  -DarchetypeVersion=1.5.0             \
> >>  -DgroupId=myGroupId                  \
> >>  -DartifactId=myArtifactId
> >>
> >> Should this not be
> >> mvn archetype:create
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/archetype-document-error-tp21308681s22882p21308681.html
> >> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Jon
> >
> > http://janstey.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/archetype-document-error-tp21308681s22882p21309414.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Jon

http://janstey.blogspot.com/

Reply via email to