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.
Created attachment 140406 [details] CreatingMavenWebApp I tried to create new Maven Web Application and get BUILD FAILURE: ... 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 (C:\Users\Standa\.m2\repository), central (http://repo.maven.apache.org/maven2)] -> [Help 1] ... see attached image. Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Could you please describe what exact steps should I follow to be able to reproduce the problem? It's impossible to find out if the problem is on NetBeans side or in your configuration only with the given image and short description. Thanks in advance!
Ok, beginning I'd like to say I'm not too familiar with web application, I work on Java SE, so I am a case of user, who expects, that if he install complete NetBeans bundle and leave all options as default everything will fork properly. So, I have installed NetBeans IDE 7.4 RC1 full bundle and tried to create new Maven Web Application in a few steps (please see attached screens: Step 01 - 04). >> Finally, project, have not bean created because of many errors (see Output - Project Creation). I think, it's important problem, because project have not bean created.
Created attachment 140441 [details] Step 01
Created attachment 140442 [details] Step 02
Created attachment 140443 [details] Step 03
Created attachment 140444 [details] Step 04
Created attachment 140445 [details] Output - Project Creation
(In reply to ssazonov from comment #2) > I am a case of user, who expects, that if he install complete NetBeans bundle > and leave all options as default everything will fork properly. Ok, thanks for explanation. It should work properly in general but there are some cases when we cannot be able to configure the IDE with respect to client specifications. For example if you are working behind a proxy, you need to configure Maven to be able to use it (it can be done in your home/.m2/setting.xml --> see [1] for more details). Please check that first and if it's not your case I'll think about the possible cause of the problem further:) [1] http://maven.apache.org/guides/mini/guide-proxies.html
Thank you for advice, Martin, yes I am connected throw Oracle proxies, it may causes the problem. I'm using Win7, so I expected setting.xml will be in "C:\Users\Standa\.m2\..." directory, finally I found them in "C:\Program Files\NetBeans 7.4 RC1\java\maven\conf\settings.xml", than I changed it as mentioned. Now the output of project creator looks a little different, but it still filed and does not create the poject :( (see BetterOutput, settings.xml)
Created attachment 140467 [details] BetterOutput
Created attachment 140468 [details] setting.xml
Created attachment 140469 [details] BetterOutput
Ok, it still looks like the IDE can't connect with the Maven repository. It's probably because you changed wrong settings.xml (please read [1] --> you shouldn't change netbeans.home/java/maven/conf/settings.xml directly). Second paragraph could help you I guess. Try it and we can continue if that won't help either ;) [1] http://wiki.netbeans.org/FaqMavenProxySettings
Thank you so much, I have added <settings> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>www-proxy.uk.oracle.com</host> <port>80</port> </proxy> </proxies> </settings> inside .../.m2/settings.xml directory and now it works properly, project have bean created and all dependence have bean downloaded :) I think it may be useful enhance to implement GUI for creating proxy profiles to switch between them. For example, user at work may use one proxy profile when he come home he simply switch to another proxy profile. For addition there may be hint in Output - Project Creator, something like "You may check proxy settings in Tools > Options ..."
(In reply to ssazonov from comment #14) > I think it may be useful enhance to implement GUI for creating proxy > profiles to switch between them. For example, user at work may use one proxy > profile when he come home he simply switch to another proxy profile. Thanks for that idea, definitely sounds interesting!
Passing to core maven. I like the idea from comment 14 if we find some time to do that in the future.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss