maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ
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
RE: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ
Thanks for the fast reply. archetype:generate doesn't work either. This is my output: C:\Documents and Settings\sverfailmvn 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:dorde...@gmail.com] 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 sandy.verfai...@roularta.be 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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ
oh crap, ofcourse :) I searched for the previous question and then read the question after it, but that didn't 'work'. Thank you very much, my project is created! Regards, Sandy -Original Message- From: Martin Höller [mailto:mar...@xss.co.at] Sent: maandag 12 januari 2009 16:16 To: Maven Users List Subject: Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ On Monday 12 January 2009 sandy.verfai...@roularta.be wrote: 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.. The answer can be found on the same page. Just search for How do I resolve and you'll get the answer. I just tried to update the wiki-page, but I always get a page not found error :-( hth, - martin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ
Now I have, thank you very much! -Original Message- From: Nicolas Dordet [mailto:dorde...@gmail.com] Sent: maandag 12 januari 2009 16:16 To: Maven Users List Subject: Re: maven-archetype-plugin does not exist error when creating new project, non-working link in FAQ Have you configure the file settings.xml for your proxy ? http://maven.apache.org/guides/mini/guide-proxies.html 2009/1/12 sandy.verfai...@roularta.be Thanks for the fast reply. archetype:generate doesn't work either. This is my output: C:\Documents and Settings\sverfailmvn 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:dorde...@gmail.com] 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 sandy.verfai...@roularta.be 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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org