Re: Installing Maven on Mac OS X
darwinports is a package manager for the mac. You can read all about it in the url I posted. It includes Maven and it's acceptably up to date. 2008/11/25 Ricky <[EMAIL PROTECTED]>: > Hey Guys, > > I did an export on environment variables and the maven version changed and > worked fine. Thanks for your help, appreciate it. Gabriel, what is mac > ports ... i have been hearing some stuff about it, just curious if you > don't mind my asking... > > On Mon, Nov 24, 2008 at 11:22 AM, Gabriel Garcia <[EMAIL PROTECTED]>wrote: > >> Rick, >> >> Apart from Wendy's instructions, you can also install Maven with tools >> that'll make it just work for you: >> >> I use Maven with Mac OS X 10.5 (Leopard) and Maven 2.0.9 without a >> problem, but I I used darwinports: http://darwinports.com/ (a simple >> sudo port install maven2 would install it in /opt, all you need to do >> is add /opt/local/bin to your PATH in your profile). Fink >> (http://www.finkproject.org/) also has it, but its latest Maven >> version is 2.0.7, whilst darwinports's is 2.0.9. >> >> Good luck with either suggestion, >> >> >> Gabriel >> >> 2008/11/24 Wendy Smoak <[EMAIL PROTECTED]>: >> > On Mon, Nov 24, 2008 at 9:12 AM, Ricky <[EMAIL PROTECTED]> wrote: >> > >> >> I get this error that saying : >> >> INFO] Ignoring available plugin update: 2.0-alpha-4 as it requires Maven >> >> version 2.0.7 >> > ... >> >> when i do mvn -v i get version 2.0.6 ... what should i do? >> > >> > Set M2_HOME to your new Maven install, and make sure $M2_HOME/bin is >> > on your PATH before the directory where the default mvn lives. >> > >> > http://maven.apache.org/download.html#Installation >> > >> > -- >> > Wendy >> > >> > - >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven on Mac OS X
Hey Guys, I did an export on environment variables and the maven version changed and worked fine. Thanks for your help, appreciate it. Gabriel, what is mac ports ... i have been hearing some stuff about it, just curious if you don't mind my asking... On Mon, Nov 24, 2008 at 11:22 AM, Gabriel Garcia <[EMAIL PROTECTED]>wrote: > Rick, > > Apart from Wendy's instructions, you can also install Maven with tools > that'll make it just work for you: > > I use Maven with Mac OS X 10.5 (Leopard) and Maven 2.0.9 without a > problem, but I I used darwinports: http://darwinports.com/ (a simple > sudo port install maven2 would install it in /opt, all you need to do > is add /opt/local/bin to your PATH in your profile). Fink > (http://www.finkproject.org/) also has it, but its latest Maven > version is 2.0.7, whilst darwinports's is 2.0.9. > > Good luck with either suggestion, > > > Gabriel > > 2008/11/24 Wendy Smoak <[EMAIL PROTECTED]>: > > On Mon, Nov 24, 2008 at 9:12 AM, Ricky <[EMAIL PROTECTED]> wrote: > > > >> I get this error that saying : > >> INFO] Ignoring available plugin update: 2.0-alpha-4 as it requires Maven > >> version 2.0.7 > > ... > >> when i do mvn -v i get version 2.0.6 ... what should i do? > > > > Set M2_HOME to your new Maven install, and make sure $M2_HOME/bin is > > on your PATH before the directory where the default mvn lives. > > > > http://maven.apache.org/download.html#Installation > > > > -- > > Wendy > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Installing Maven on Mac OS X
Rick, Apart from Wendy's instructions, you can also install Maven with tools that'll make it just work for you: I use Maven with Mac OS X 10.5 (Leopard) and Maven 2.0.9 without a problem, but I I used darwinports: http://darwinports.com/ (a simple sudo port install maven2 would install it in /opt, all you need to do is add /opt/local/bin to your PATH in your profile). Fink (http://www.finkproject.org/) also has it, but its latest Maven version is 2.0.7, whilst darwinports's is 2.0.9. Good luck with either suggestion, Gabriel 2008/11/24 Wendy Smoak <[EMAIL PROTECTED]>: > On Mon, Nov 24, 2008 at 9:12 AM, Ricky <[EMAIL PROTECTED]> wrote: > >> I get this error that saying : >> INFO] Ignoring available plugin update: 2.0-alpha-4 as it requires Maven >> version 2.0.7 > ... >> when i do mvn -v i get version 2.0.6 ... what should i do? > > Set M2_HOME to your new Maven install, and make sure $M2_HOME/bin is > on your PATH before the directory where the default mvn lives. > > http://maven.apache.org/download.html#Installation > > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven on Mac OS X
On Mon, Nov 24, 2008 at 9:12 AM, Ricky <[EMAIL PROTECTED]> wrote: > I get this error that saying : > INFO] Ignoring available plugin update: 2.0-alpha-4 as it requires Maven > version 2.0.7 ... > when i do mvn -v i get version 2.0.6 ... what should i do? Set M2_HOME to your new Maven install, and make sure $M2_HOME/bin is on your PATH before the directory where the default mvn lives. http://maven.apache.org/download.html#Installation -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven on Mac OS X
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 || ॐ ||
Re: Installing Maven on Mac OS X
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 || ॐ ||
Re: Installing Maven on Mac OS X
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 > || ॐ || >