This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226909 - new maven project won't create
Summary: new maven project won't create
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 17:44 UTC by wallymarvin
Modified: 2013-03-07 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wallymarvin 2013-03-01 17:44:32 UTC
1) download a fresh copy of 7.3
2) run installation script
3) navigate to file->new project->maven->next->finish with no other modifications
4) Receive several messages such as:

Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1

5) eventually receive abort message:

No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\userdata\marvin\.m2\repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
Comment 1 Milos Kleint 2013-03-04 10:29:03 UTC
most likely you are behind a proxy and need to setup maven's proxy settings in ~/.m2/settings.xml file. Or you have unaccessible mirrors defined at the same place.
Comment 2 Milos Kleint 2013-03-07 09:43:46 UTC
closing as worksforme, please reopen when executing the archetype plugin works for you on the command line but not in the IDE.

http://maven.apache.org/archetype/maven-archetype-plugin/usage.html