Wendy, Thanks for replying. I think you are right ...
I get this error that saying : INFO] Ignoring available plugin update: 2.0-alpha-4 as it requires Maven version 2.0.7 [INFO] Ignoring available plugin update: 2.0-alpha-3 as it requires Maven version 2.0.7 [INFO] Ignoring available plugin update: 2.0-alpha-2 as it requires Maven version 2.0.7 [INFO] Ignoring available plugin update: 2.0-alpha-1 as it requires Maven version 2.0.7 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Required goal not found: archetype:generate [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Mon Nov 24 11:10:04 EST 2008 [INFO] Final Memory: 2M/4M [INFO] ------------------------------------------------------------------------ anirudh-vyas-macbook:~ anirudh$ when i do mvn -v i get version 2.0.6 ... what should i do? On Sun, Nov 23, 2008 at 12:00 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > In order to help, we need to know what steps you took and what error > message you're getting. > > I believe OS X ships with Maven 2.0.6, so if you haven't gotten it > completely switched over to (I assume) 2.0.9, the archetype:generate > goal will not be available as Archetype 2 requires at least 2.0.7. > > What is the output of "mvn -v" ? Of "echo $M2_HOME" ? > > -- > Wendy > > On Sun, Nov 23, 2008 at 9:55 AM, Ricky <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am trying to install maven on my mac book, Mac OS X. when i do mvn, it > > runs alright; but when i try to do : > > > > mvn archetype:generate .. it gives build failure... My guess is that i am > > missing some steps, can someone point me to either a URL or guide me > through > > the steps for installing this on mac os x. I already have installed maven > on > > vista and XP before ... but kinda new to mac os x ... any help would be > > appreciable, > > > > -- > > Regards > > Vyas, Anirudh > > || ॐ || > > > -- Regards Vyas, Anirudh || ॐ ||