Have you configure the file settings.xml for your proxy ? http://maven.apache.org/guides/mini/guide-proxies.html
2009/1/12 <[email protected]> > > Thanks for the fast reply. > > archetype:generate doesn't work either. > This is my output: > > > C:\Documents and Settings\sverfail>mvn archetype:generate > -DgroupId=com.roularta > .app -DartifactId=my-app > [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 retri > eved 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 exi > st or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 21 seconds > [INFO] Finished at: Mon Jan 12 16:05:43 CET 2009 > [INFO] Final Memory: 1M/4M > [INFO] > ------------------------------------------------------------------------ > > > Yes, I use a proxy: httpproxy.rmg.be > > Do you know anything more with this? > > > > -----Original Message----- > From: Nicolas Dordet [mailto:[email protected]] > Sent: maandag 12 januari 2009 16:04 > To: Maven Users List > Subject: Re: maven-archetype-plugin does not exist error when creating > new project, non-working link in FAQ > > No problem for me to lauch this goal (mvn archetype:create > -DgroupId=com.roularta.app -DartifactId=my-app -e) on maven 2.0.9. > > But first of all, maven say : "This goal is deprecated. Please use mvn > archetype:generate instead" > > Are you using a proxy? > > > 2009/1/12 <[email protected]> > > > Hello, > > > > When I try to create a new projects with my new installed maven, I get > > > the error 'org.apache.maven/lifecycle.LifecycleExecutionException: the > > > plugin "org.apache.maven.plugins:maven-archetype-plugin' does not > > exist or no valid version could be found. > > > > I used this syntax to create it: mvn archetype:create > > -DgroupId=com.roularta.app -DartifactId=my-app -e > > > > All the environment vars are ok. > > > > I see this exact error named in the FAQ, but the link to the answer > > doesn't work/exist.. > > > > Does anybody know what exactly goes wrong? > > > > Thanks for the effort. > > > > Kind regards, > > Sandy > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
