Maven Nar plugin Installation Problem
Hi Users, I am very new to Maven (Dummy), Using Apache site i manged to install and compile a sample my-app program provided. I have downloaded maven 3.0.3 Now I would like to use maven to Build and deploy my C++ projects. I managed to download Maven Nar plugin from site https://github.com/duns/maven-nar-plugin https://github.com/duns/maven-nar-plugin But aftyer that I am not sure how to install that plugin, I managed to move the downloaded to ~/.m2/repository/org/apache/maven/plugins directory And tried to run command mvn, It was not successfull and was asking that it is missing cpptasks-parallel. I managed to download cpptasks-parallel from https://github.com/duns/cpptasks-parallel https://github.com/duns/cpptasks-parallel In cpptasks-parallel I ran comman mvn or mvn install, But it still generating some errors, Can you please help with proper versions required and their compatibility. Please help me ASAP, Thanks In Advance. Satya. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-Nar-plugin-Installation-Problem-tp5033148p5033148.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
eclipse maven plugin installation problem
Hello! I have the following problem with the Maven plugin for Eclipse: I installed it successfully and have built a project. But one day my Eclipse just crashed and after that the maven plugin disappeared. I then had unzipped another instance of Eclipse and installed Maven plugin there. As a result, I see that the Maven is installed (in help=software updates and add-ons) and I see Definitive guide in Help. That's all. Nothing more: no maven preferences, no maven specific views, no right button menu choices when chicking on pom.xml The Eclipse is absolutely clean, and in new path. I tried with the same result Eclipse 3.2.2, Eclipse 3.3.2, Eclipse 3.4.0 I put the site http://m2eclipse.sonatype.org/update/ in Help=Software updates. When I click to this site, some more sites appear automatically: http://m2eclipse.codehaus.org/update/ http://m2eclipse.codehaus.org/ http://www.md.pp.ru/~eu/12/ The last site is incorrect, I get error no repository found in site. I install the following components: Maven embedder, Maven integration for Eclipse Maven POM editor Maven POM XML Editor The Definitive Guide Maven central repository index And all dependencies Does anyone have any idea what could be the reason for that strange disappearing? Thanks in advance, Andrei Issakov
Re: eclipse maven plugin installation problem
Andrei Issakov wrote: I have the following problem with the Maven plugin for Eclipse: I installed it successfully and have built a project. But one day my Eclipse just crashed and after that the maven plugin disappeared. I then had unzipped another instance of Eclipse and installed Maven plugin there. As a result, I see that the Maven is installed (in help=software updates and add-ons) and I see Definitive guide in Help. That's all. Nothing more: no maven preferences, no maven specific views, no right button menu choices when chicking on pom.xml I put the site http://m2eclipse.sonatype.org/update/ in Help=Software updates. I install the following components: Maven embedder, Maven integration for Eclipse Maven POM editor Maven POM XML Editor The Definitive Guide Maven central repository index And all dependencies Does anyone have any idea what could be the reason for that strange disappearing? In m2eclipse 0.9.5 we have added some additional dependencies to the core plugins (namely, the XML editin framework from WTP). But haven't explicitly updated required features. So, it seems like update manager allowed you to install m2eclipse features without those required dependencies. The required dependencies are listed on the wiki [1] and the easiest way to install them without hassle is to include Ganymede/Eclipse/Callisto update site into the update request (basically just check that update site with m2eclipse update site). I think after that, in Eclipse 3.4, the required dependencies are be installed automatically and in Eclipse 3.3 and 3.2 you can expand corresponding update site and use add required action to include required dependencies. regards, Eugene [1] http://docs.codehaus.org/display/M2ECLIPSE/Installation+Requirements -- View this message in context: http://www.nabble.com/eclipse-maven-plugin-installation-problem-tp18849521p18855190.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: m2 eclipse plug installation problem
Kent Tong wrote: It turns out that I have to install buckminster first, at least on Windows. It seems to work without it on Linux. If you are talking about m2eclipse [1], then installation requirements are documented on the wiki [2], but it never required Buckminster. Also see New and Noteworthy [3]. regards, Eugene [1] http://m2eclipse.codehaus.org/ [2] http://docs.codehaus.org/display/M2ECLIPSE/Installation+Requirements [3] http://docs.codehaus.org/display/M2ECLIPSE/New+and+Noteworthy -- View this message in context: http://www.nabble.com/m2-eclipse-plug-installation-problem-tp18212155p18293155.html Sent from the Maven - Users mailing list archive at Nabble.com.
m2 eclipse plug installation problem
Hi, I am trying to install the m2 eclipse plug into Eclipse 3.4 (Ganymede), but it fails and says that there are unmet dependencies. I've selected only the minimal maven eclipse integration. Any idea? Thanks in advance! - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/m2-eclipse-plug-installation-problem-tp18212155p18212155.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: m2 eclipse plug installation problem
Hi I have installed same on eclipse3.2.1.So, if u need any help regarding that then do let me know. Cheers! Renu -Original Message- From: Kent Tong [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 2:37 PM To: users@maven.apache.org Subject: m2 eclipse plug installation problem Hi, I am trying to install the m2 eclipse plug into Eclipse 3.4 (Ganymede), but it fails and says that there are unmet dependencies. I've selected only the minimal maven eclipse integration. Any idea? Thanks in advance! - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/m2-eclipse-plug-installation-problem-tp18212155p18212155.html Sent from the Maven - Users mailing list archive at Nabble.com. - 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: m2 eclipse plug installation problem
Hi, It turns out that I have to install buckminster first, at least on Windows. It seems to work without it on Linux. - -- Kent Tong Wicket tutorials freely available at http://www.agileskills2.org/EWDW Axis2 tutorials freely available at http://www.agileskills2.org/DWSAA -- View this message in context: http://www.nabble.com/m2-eclipse-plug-installation-problem-tp18212155p18229021.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Installation problem
M2_HOME = C:\maven\maven-2.0.1\bin should be M2_HOME = C:\maven\maven-2.0.1 -Max On Fri, 2005-12-23 at 09:51 +, Abbs, David A wrote: The machine has no internet connection its on a closed network, should it still not reference the local plug-in store? I have another problem when trying to install on window I get this when I try to run mvn --version ERROR: M2_HOME is set to an invalid directory. M2_HOME = C:\maven\maven-2.0.1\bin Please set the M2_HOME variable in your environment to match the location of the Maven installation When using sygwin I get this: Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: 22 December 2005 23:18 To: Maven Users List Subject: Re: Installation problem Hi, You may refer to the FAQ page, http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%27 %3Cpluginname%3Edoesnotexistornovalidversion%27error%3F Hope this helps -allan Abbs, David A wrote: I am installing maven 2.0.1 on Linux red hat running on a sun machine with java 1.4.2 installed and configured. My JAVA_HOME environment is set correctly and the maven install directory added to my PATH variable When I do mvn --version it gives me Maven version: 2.0.1 Which looks fine. However when I then try to run mvn archetype:create -DgroupId=3D3Dcom.mycompany.app = -DartifactId=3D3Dmy-app To create myself a project I get this [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] --- - [ERROR] BUILD ERROR [INFO] --- - [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] --- - [INFO] For more information, run Maven with the -e switch [INFO] --- - [INFO] Total time: 1 second [INFO] Finished at: Thu Dec 22 16:28:52 GMT 2005 [INFO] Final Memory: 1M/2M [INFO] --- - - Any help would be very much appreciated David Abbs David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] --- - No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Max Cooper [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Installation problem
Whoops, had mail sorted by something other than date (hence my reply to such an old message). Sorry. And sorry again for sending this sorry message. :-0 -Max On Thu, 2006-03-02 at 16:44 -0800, Max Cooper wrote: M2_HOME = C:\maven\maven-2.0.1\bin should be M2_HOME = C:\maven\maven-2.0.1 -Max On Fri, 2005-12-23 at 09:51 +, Abbs, David A wrote: The machine has no internet connection its on a closed network, should it still not reference the local plug-in store? I have another problem when trying to install on window I get this when I try to run mvn --version ERROR: M2_HOME is set to an invalid directory. M2_HOME = C:\maven\maven-2.0.1\bin Please set the M2_HOME variable in your environment to match the location of the Maven installation When using sygwin I get this: Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: 22 December 2005 23:18 To: Maven Users List Subject: Re: Installation problem Hi, You may refer to the FAQ page, http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%27 %3Cpluginname%3Edoesnotexistornovalidversion%27error%3F Hope this helps -allan Abbs, David A wrote: I am installing maven 2.0.1 on Linux red hat running on a sun machine with java 1.4.2 installed and configured. My JAVA_HOME environment is set correctly and the maven install directory added to my PATH variable When I do mvn --version it gives me Maven version: 2.0.1 Which looks fine. However when I then try to run mvn archetype:create -DgroupId=3D3Dcom.mycompany.app = -DartifactId=3D3Dmy-app To create myself a project I get this [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] --- - [ERROR] BUILD ERROR [INFO] --- - [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] --- - [INFO] For more information, run Maven with the -e switch [INFO] --- - [INFO] Total time: 1 second [INFO] Finished at: Thu Dec 22 16:28:52 GMT 2005 [INFO] Final Memory: 1M/2M [INFO] --- - - Any help would be very much appreciated David Abbs David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] --- - No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Max Cooper [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Installation problem
The machine has no internet connection its on a closed network, should it still not reference the local plug-in store? I have another problem when trying to install on window I get this when I try to run mvn --version ERROR: M2_HOME is set to an invalid directory. M2_HOME = C:\maven\maven-2.0.1\bin Please set the M2_HOME variable in your environment to match the location of the Maven installation When using sygwin I get this: Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: 22 December 2005 23:18 To: Maven Users List Subject: Re: Installation problem Hi, You may refer to the FAQ page, http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%27 %3Cpluginname%3Edoesnotexistornovalidversion%27error%3F Hope this helps -allan Abbs, David A wrote: I am installing maven 2.0.1 on Linux red hat running on a sun machine with java 1.4.2 installed and configured. My JAVA_HOME environment is set correctly and the maven install directory added to my PATH variable When I do mvn --version it gives me Maven version: 2.0.1 Which looks fine. However when I then try to run mvn archetype:create -DgroupId=3D3Dcom.mycompany.app = -DartifactId=3D3Dmy-app To create myself a project I get this [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] --- - [ERROR] BUILD ERROR [INFO] --- - [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] --- - [INFO] For more information, run Maven with the -e switch [INFO] --- - [INFO] Total time: 1 second [INFO] Finished at: Thu Dec 22 16:28:52 GMT 2005 [INFO] Final Memory: 1M/2M [INFO] --- - - Any help would be very much appreciated David Abbs David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] --- - No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installation problem
Hi, Abbs, David A schrieb: The machine has no internet connection its on a closed network, should it still not reference the local plug-in store? I have another problem when trying to install on window I get this when I try to run mvn --version ERROR: M2_HOME is set to an invalid directory. M2_HOME = C:\maven\maven-2.0.1\bin Please set the M2_HOME variable in your environment to match the location of the Maven installation M2_HOME should point to 'C:\maven\maven-2.0.1' not to the 'bin' directory. When using sygwin I get this: Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: 22 December 2005 23:18 To: Maven Users List Subject: Re: Installation problem Hi, You may refer to the FAQ page, http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%27 %3Cpluginname%3Edoesnotexistornovalidversion%27error%3F Hope this helps -allan Abbs, David A wrote: I am installing maven 2.0.1 on Linux red hat running on a sun machine with java 1.4.2 installed and configured. My JAVA_HOME environment is set correctly and the maven install directory added to my PATH variable When I do mvn --version it gives me Maven version: 2.0.1 Which looks fine. However when I then try to run mvn archetype:create -DgroupId=3D3Dcom.mycompany.app = -DartifactId=3D3Dmy-app To create myself a project I get this [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] --- - [ERROR] BUILD ERROR [INFO] --- - [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] --- - [INFO] For more information, run Maven with the -e switch [INFO] --- - [INFO] Total time: 1 second [INFO] Finished at: Thu Dec 22 16:28:52 GMT 2005 [INFO] Final Memory: 1M/2M [INFO] --- - - Any help would be very much appreciated David Abbs David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] --- - No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005 - 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: Installation problem
It looks like it couldn't get to the repository. Perhaps you have some sort of proxy or other what-not that restricts access. Setting up a proxy is explained (sort of) at: http://maven.apache.org/guides/mini/guide-proxies.html On 12/22/05, Abbs, David A [EMAIL PROTECTED] wrote: I am installing maven 2.0.1 on Linux red hat running on a sun machine with java 1.4.2 installed and configured. My JAVA_HOME environment is set correctly and the maven install directory added to my PATH variable When I do mvn --version it gives me Maven version: 2.0.1 Which looks fine. However when I then try to run mvn archetype:create -DgroupId=3D3Dcom.mycompany.app = -DartifactId=3D3Dmy-app To create myself a project I get this [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Thu Dec 22 16:28:52 GMT 2005 [INFO] Final Memory: 1M/2M [INFO] - Any help would be very much appreciated David Abbs David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]
Re: Installation problem
Hi, You may refer to the FAQ page, http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%27%3Cpluginname%3Edoesnotexistornovalidversion%27error%3F Hope this helps -allan Abbs, David A wrote: I am installing maven 2.0.1 on Linux red hat running on a sun machine with java 1.4.2 installed and configured. My JAVA_HOME environment is set correctly and the maven install directory added to my PATH variable When I do mvn --version it gives me Maven version: 2.0.1 Which looks fine. However when I then try to run mvn archetype:create -DgroupId=3D3Dcom.mycompany.app = -DartifactId=3D3Dmy-app To create myself a project I get this [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file [INFO] Repository 'central' will be blacklisted [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Thu Dec 22 16:28:52 GMT 2005 [INFO] Final Memory: 1M/2M [INFO] - Any help would be very much appreciated David Abbs David Abbs EDS - Court Services Account UKNMSC 100 Napier Street, Sheffield, S11 8HD ( Phone:+1-0114 291 1338) (Mobile: 07765028732) + mailto:[EMAIL PROTECTED] No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.3/209 - Release Date: 12/21/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]