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 +0000, 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]
