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
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
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
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
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
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 || ॐ ||
Re: Installing Maven 2 repo reg.
On 12/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am new to ActiveMQ. Am trying to install ActiveMQ 4.1.0 Release(Windows Binary Installation) on my machine. I have a doubt whether to install Maven 2 Repositories or not. Please clafiry me whether its a manditory one. Probably not, but you should consult the ActiveMQ docs, and then ask on their user list if you have any questions. http://incubator.apache.org/activemq/getting-started.html http://incubator.apache.org/activemq/mailing-lists.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven in a Network drive
On 10/4/05, Roberto Castro [EMAIL PROTECTED] wrote: Hi all, is it possible to install Maven in a Network drive? I would like to install Maven in a shared drive to be used by all MsWindows computers of all developers in the company's network. Yes, this should work just fine. At least, I would like all developers to use the same local repository. To do this, I would like to move and configure Maven in all computers to use Local Repositoty in a shared drive. This is dangerous. It is not read only - so developers can write their changes over someone elses as they work. It is instead recommended that you build an internal remote repository for them to use (can still be shared), but that their local repository is still their personal space. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven in a Network drive
What Brett suggests below is exactly what we do, and it works great. We use mavenproxy from codehaus as the 'internal remote repo'. On 10/4/05, Brett Porter [EMAIL PROTECTED] wrote: On 10/4/05, Roberto Castro [EMAIL PROTECTED] wrote: Hi all, is it possible to install Maven in a Network drive? I would like to install Maven in a shared drive to be used by all MsWindows computers of all developers in the company's network. Yes, this should work just fine. At least, I would like all developers to use the same local repository. To do this, I would like to move and configure Maven in all computers to use Local Repositoty in a shared drive. This is dangerous. It is not read only - so developers can write their changes over someone elses as they work. It is instead recommended that you build an internal remote repository for them to use (can still be shared), but that their local repository is still their personal space. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ You are going to let the fear of poverty govern your life and your reward will be that you will eat, but you will not live. - George Bernard Shaw - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : installing maven on linux
Hi Pascal Check that your MAVEN_HOME AND your PATH point to your maven 1.1 location. I had the same problem when I've switch form 1.0 to 1.1, my PATH wasn't correctly set. yes it was something with a path, some old maven was on that machine. Thx ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : installing maven on linux
Karl, Check that your MAVEN_HOME AND your PATH point to your maven 1.1 location. I had the same problem when I've switch form 1.0 to 1.1, my PATH wasn't correctly set. Pascal -Message d'origine- De : Karl Gustav [mailto:[EMAIL PROTECTED] Envoyé : August 24, 2005 11:00 À : users@maven.apache.org Objet : installing maven on linux Hello, Today i tried to use maven(v. 1.1-beta-1) on our linux machine. On windows i had no problems,but on linux i cant get it working. I found out it has nothing: - to do with the java project - to do with the java version, tried some versions between 1.4.0.2 - 1.5.4 I deleted cache and repository sometimes, but no change. JAVA_HOME is set correctly: echo $JAVA_HOME /usr/java/jdk1.5.0_04 but everytime i do a maven site or something else, i get: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 Plugin cache will be regenerated javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated: java.lang.NullPointerException at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:113) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:152 ) at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177 ) at org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManager.java :238) at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:303) at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:204) at org.apache.maven.MavenSession.initialize(MavenSession.java:171) at org.apache.maven.cli.App.doMain(App.java:498) at org.apache.maven.cli.App.main(App.java:1258) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Any ideas? Karl ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de - 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 %HOME%
%HOME% is your windows user account home. If you want to share your repository, do not put it in any one person's home directory, I use C:\mavenrepository and everybody on the system has access. George Hester wrote: In this article just under the warning, http://maven.apache.org/start/install.html the directions say, For Windows: %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository I understand %MAVEN_HOME% but I do not understand %HOME%. Exactly what are they referring to and should I set an Environment variable called HOME and if so what should it point to? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven %HOME%
Alright I think you are talking about these environment variables: ALLUSERSPROFILE for All Users or for me as the Adminstrator: USERPROFILE %HOME% equals one of the above? Is that correct? I would make a repository folder under C:\Documents and Settings\%profile% and then that's that? This is the weirdest install I have ever done. All I have is \maven\bin in the path. Shouldn't I put something from maven in my classpath? -- George Hester __ Kevin Hagel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] %HOME% is your windows user account home. If you want to share your repository, do not put it in any one person's home directory, I use C:\mavenrepository and everybody on the system has access. George Hester wrote: In this article just under the warning, http://maven.apache.org/start/install.html the directions say, For Windows: %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository I understand %MAVEN_HOME% but I do not understand %HOME%. Exactly what are they referring to and should I set an Environment variable called HOME and if so what should it point to? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Maven %HOME%
open a command window and just type set and you'll see the whole pile of environment variables. I advise against using any directories in maven that contain spaces, such as Documents And Settings. While they're convenient for we humans, some jelly scripts tokenize on white space and things can get confused. I put it in C:\mavenrepository so that I can open an explorer folder and grab it right off the top, instead of having to descend into subdirectories to get at them -- as well as being able to share it with all other users who log into the system. George Hester wrote: Alright I think you are talking about these environment variables: ALLUSERSPROFILE for All Users or for me as the Adminstrator: USERPROFILE %HOME% equals one of the above? Is that correct? I would make a repository folder under C:\Documents and Settings\%profile% and then that's that? This is the weirdest install I have ever done. All I have is \maven\bin in the path. Shouldn't I put something from maven in my classpath? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Installing Maven WAS: Building Maven
Hi I download Maven from http://maven.apache.org/start/download.html and version I got is maven-1.0-rc1.zip, So I unzip the file to directory: C:\MavenPlayground\maven-1.0-rc1\maven-1.0-rc1, where in this directory I have following directories: -bin -lib -plugins -repository maven-projec.xsd I then set $MAVEN_HOME environment variable pointing to C:\MavenPlayground\maven-1.0-rc1\maven-1.0-rc1 And then add $MAVEN_HOME/bin to my path Then I down load turbine as an example app, and i did maven on it, and get following errorrs: 2003-11-05 18:03:49,005 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download avalon-framework-4.1.4.jar. 2003-11-05 18:03:52,670 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/avalon-framework/jars/avalon-framework-4.1.4.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,670 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download avalon-framework-4.1.4.jar. 2003-11-05 18:03:52,670 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-beanutils-1.6.1.jar. 2003-11-05 18:03:52,680 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-beanutils/jars/commons-beanutils-1.6.1.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,680 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-beanutils-1.6.1.jar. 2003-11-05 18:03:52,700 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-codec-1.1.jar. 2003-11-05 18:03:52,700 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-codec/jars/commons-codec-1.1.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,700 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-codec-1.1.jar. 2003-11-05 18:03:52,700 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-collections-2.1.jar. 2003-11-05 18:03:52,700 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-2.1.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,700 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-collections-2.1.jar. 2003-11-05 18:03:52,700 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-configuration-20030706.202021.jar. 2003-11-05 18:03:52,700 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-configuration/jars/commons-configuration-20030706.202021.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,700 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-configuration-20030706.202021.jar. 2003-11-05 18:03:52,710 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-digester-1.5.jar. 2003-11-05 18:03:52,710 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-digester/jars/commons-digester-1.5.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,720 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-digester-1.5.jar. 2003-11-05 18:03:52,720 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-email-20030310.165926.jar. 2003-11-05 18:03:52,720 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-email/jars/commons-email-20030310.165926.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,720 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-email-20030310.165926.jar. 2003-11-05 18:03:52,720 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-fileupload-1.0.jar. 2003-11-05 18:03:52,720 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-fileupload/jars/commons-fileupload-1.0.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,720 WARN org.apache.maven.verifier.DependencyVerifier - WARNING: Failed to download commons-fileupload-1.0.jar. 2003-11-05 18:03:52,720 INFO org.apache.maven.verifier.DependencyVerifier - Attempting to download commons-lang-1.0.1.jar. 2003-11-05 18:03:52,730 WARN org.apache.maven.verifier.DependencyVerifier - Error retrieving artifact from [http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-1.0.1.jar]: java.net.UnknownHostException: www.ibiblio.org 2003-11-05 18:03:52,730 WARN
RE: Installing Maven WAS: Building Maven
Reading the FAQ and other maven documentation helps: http://maven.apache.org/faq.html#build-firewall Would lead you to: http://maven.apache.org/reference/user-guide.html#Using%20Proxies - Brett -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 November 2003 11:25 AM To: Maven Users List Subject: RE: Installing Maven WAS: Building Maven I am behind proxy, I can access this site via my browser.My brower has proxy setup. But I don't know how to let maven know about it. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 6:23 PM To: 'Maven Users List' Subject: RE: Installing Maven WAS: Building Maven Those aren't all errors. Maven.log gives extra information. From what I can see, it failed to download some dependencies. Are you beinh d a proxy? Can you access www.ibiblio.org/maven regularly? - Brett -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 November 2003 11:20 AM To: Maven Users List Subject: RE: Installing Maven WAS: Building Maven Hi I download Maven from http://maven.apache.org/start/download.html and version I got is maven-1.0-rc1.zip, So I unzip the file to directory: C:\MavenPlayground\maven-1.0-rc1\maven-1.0-rc1, where in this directory I have following directories: -bin -lib -plugins -repository maven-projec.xsd I then set $MAVEN_HOME environment variable pointing to C:\MavenPlayground\maven-1.0-rc1\maven-1.0-rc1 And then add $MAVEN_HOME/bin to my path Then I down load turbine as an example app, and i did maven on it, and get following errorrs: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: installing maven
Yes. I am not sure what is up with tools.jar. The file looks like the following: +maven.home +java.home +tools.jar =[root.maven] org.apache.maven.cli.App [root] ${tools.jar} ${maven.home}/lib/commons-grant-1.0-beta-4.jar ${maven.home}/lib/ant-1.5.3-1.jar ... I did not see tools.jar or whatever it refers to. Also, someone said to try to set JAVA_HOME to the jdk directory, so I set it to c:\J2SDK_Forte\jdk1.4.0, where the bin, include, jre etc directories are. After this the error looks like the following: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) Caused by: java.lang.NoSuchMethodError: org.dom4j.io.XMLWriter.setEscapeText(Z)V at org.apache.commons.jelly.XMLOutput.createXMLOutput(XMLOutput.java:189 ) at org.apache.maven.cli.App.initializeRootContext(App.java:339) at org.apache.maven.cli.App.initialize(App.java:283) at org.apache.maven.cli.App.doMain(App.java:449) at org.apache.maven.cli.App.main(App.java:1074) ... 6 more Thanks, Hetal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 6:47 PM To: Maven Users List Subject: RE: installing maven Ok what about the other jar files listed in $MAVEN_HOME\bin\forehead.conf? Do they all exist? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Thakkar, Hetal [EMAIL PROTECTED] wrote on 27/08/2003 01:10:58 AM: JAVA_HOME is set to c:\J2SDK_Forte\jdk1.4.0\jre, where the bin and lib directory for java are. Thanks, Hetal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 8:05 PM To: Maven Users List Subject: RE: installing maven Is JAVA_HOME set? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Thakkar, Hetal [EMAIL PROTECTED] wrote on 26/08/2003 02:44:59 AM: I have not specified any urls any where. I am just trying to run maven, out of the box. Thanks, Hetal -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 4:40 AM To: Maven Users List Subject: Re: installing maven On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
RE: installing maven
You're installing beta-8? I'd suggest installing beta-10. Cheers, Brett -Original Message- From: Thakkar, Hetal [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 2:43 AM To: Maven Users List Subject: RE: installing maven I have set maven home to D:\Install\installers\maven\maven-1.0-beta-8\maven-1.0-beta-8 where the bin, lib, plugins, etc. directories are. I have not created any build.properties file either. Thanks, Hetal
RE: installing maven
Is JAVA_HOME set? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Thakkar, Hetal [EMAIL PROTECTED] wrote on 26/08/2003 02:44:59 AM: I have not specified any urls any where. I am just trying to run maven, out of the box. Thanks, Hetal -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 4:40 AM To: Maven Users List Subject: Re: installing maven On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - 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 - Wrong repository
Happens on Linux too. I'm assuming it's a new 'feature', though I'm not sure I like it as it means every single user has their own repository. How would we turn this off for a build server with multiple users where this feature would be wasting diskspace? Hen On Tue, 26 Aug 2003, Lionel PASQUIER wrote: Hi there, Under Win2k, I just downloaded maven b10, and after setting MAVEN_HOME to the correct directory, it tries to create the repository int C:\Documents and Settings\mylogin\.maven\repository ! This quite not the behaviour I was expecting (I was working with maven b9). Why is it not working with the repository in %MAVEN_HOME%\repository ??? And as people were already saying in a previous thread, there is not install_repo.bat ... Did I miss something? Lionel - 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
JAVA_HOME is set to c:\J2SDK_Forte\jdk1.4.0\jre, where the bin and lib directory for java are. Thanks, Hetal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 8:05 PM To: Maven Users List Subject: RE: installing maven Is JAVA_HOME set? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Thakkar, Hetal [EMAIL PROTECTED] wrote on 26/08/2003 02:44:59 AM: I have not specified any urls any where. I am just trying to run maven, out of the box. Thanks, Hetal -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 4:40 AM To: Maven Users List Subject: Re: installing maven On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - 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
Actually you should use the JDK directory since MAVEN needs access to javac and javadoc Cheers, Siegfried Goeschl On 26 Aug 2003 at 11:10, Thakkar, Hetal wrote: JAVA_HOME is set to c:\J2SDK_Forte\jdk1.4.0\jre, where the bin and lib directory for java are. Thanks, Hetal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 8:05 PM To: Maven Users List Subject: RE: installing maven Is JAVA_HOME set? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Thakkar, Hetal [EMAIL PROTECTED] wrote on 26/08/2003 02:44:59 AM: I have not specified any urls any where. I am just trying to run maven, out of the box. Thanks, Hetal -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 4:40 AM To: Maven Users List Subject: Re: installing maven On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: installing maven
My apologies. The documentation has been updated for an upcoming release, but install_repo did not exist in beta-10. I will discuss this with the other developers and see what the best approach is about making sure new doco doesn't get on the web site. Your other problem is probably related to your setting of MAVEN_HOME. What has it been set to? Have you created a build.properties file with custom settings that may affect this? Thanks, Brett -Original Message- From: Thakkar, Hetal [mailto:[EMAIL PROTECTED] Sent: Saturday, 23 August 2003 7:40 AM To: [EMAIL PROTECTED] Subject: installing maven I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: installing maven
Thakkar, Hetal [EMAIL PROTECTED] wrote on 23/08/2003 07:40:16 AM: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. Which version? I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. The install_repo.bat isn't in beta 10. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Nope. It's usually because of missing jar files or JAVA_HOME not being set. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
Re: installing maven
On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: installing maven
I have not specified any urls any where. I am just trying to run maven, out of the box. Thanks, Hetal -Original Message- From: Trygve Laugstøl [mailto:[EMAIL PROTECTED] Sent: Sunday, August 24, 2003 4:40 AM To: Maven Users List Subject: Re: installing maven On Fri, 22 Aug 2003, Thakkar, Hetal wrote: I am running in to the following problem while trying to install maven. I downloaded the Maven zip file and extracted it. I also setup the MAVEN_HOME and PATH variables. But I cannot run the %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository command since install_repo.bat does not exist. I am not sure what is going wrong. Also, two days back on 20th the instructions were different for installing then now. If I try to run maven without running the install_repo.bat then I get the following error, regardless of the parameters passed to maven: java.net.MalformedURLException: unknown protocol: c at java.net.URL.init(URL.java:586) at java.net.URL.init(URL.java:476) at java.net.URL.init(URL.java:425) at com.werken.forehead.Forehead.loadFileOrUrl(Forehead.java:401) at com.werken.forehead.Forehead.load(Forehead.java:322) at com.werken.forehead.Forehead.config(Forehead.java:245) at com.werken.forehead.Forehead.config(Forehead.java:131) at com.werken.forehead.Forehead.main(Forehead.java:571) Could this be because I am behind a firewall? Any suggestions will be appriciated. Thanks, Hetal This is because you have specified a url as 'c:\...' and the format of a url is 'protocoll:', so it is interpreted a the protocoll 'c' (as the exception says) What you want is to say that you want to specify a file url, thus: 'file://c:/' I'm not sure if 'file:c:/' is the actual right way, but the first variant always works for me :) Trygvis - 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]