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.
Product Version: NetBeans IDE Dev (Build 200901140201) Java: 1.6.0_10; Java HotSpot(TM) Server VM 11.0-b15 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) full installation - open new project wizard - select maven category and press next - press next - press finish new project wizard not closed and can't be closed
it seems to work for me. please provide more detailed steps to reproduce, include the log file of the IDE etc.. please note that if you haven't created any maven projects before, the downloading of maven plugins, archetypes and so on will take a long time, but that shall be reflected in the output window processing. The wizard itself will only close, after the build has finished..
how long it can take? I wait about 10 minutes no more details. clean installation. and steps that I described earlier reproduced on 2 windows machines
1. what version of maven are you using? (check the Tools/Options/Misc/Maven dialog) 2. which archetype have you picked? 3. where is the log file? 4. do you get the output window opened? 5. does it work if you a. delete the ergonomics cluster in nb installation and b. wipe the userdir?
there is no ergonomics cluster in nb installation clean userdir maven options - see attachment archetype - Maven Quickstart Archetype log - see attachment output window - see attachment
Created attachment 75815 [details] nb log
Created attachment 75816 [details] maven options
Created attachment 75817 [details] output window
it seems that the maven build waits for input in the output window. however it's explicitly instructed not to do so, it could be a bug in maven core or the maven-archetype-plugin. Since the plugin version is shared but you use "embedded maven", while me using 2.0.9, it's more probably a bug in the maven embedder. a possible workaround is to download the latest release of maven binaries, unzip them and use the Tools/Options dialog to point the IDE to location of the installation.
http://hg.netbeans.org/main/rev/592700487f89 it seems the embedded maven won't work with alpha-4 of archetype plugin. Added a workaround that forces alpha-3 in case embedded maven is used (which seems to work)
NPW closed now, but project not created. Output window: WARNING: You are running embedded Maven builds, some build may fail due to incompatibilities with latest Maven release. To set Maven instance to use for building, click here. [ERROR]Maven encountered an error while loading a plugin for use in your build. [ERROR]Plugin: [ERROR]Group-Id: org.apache.maven.plugins [ERROR]Artifact-Id: maven-archetype-plugin [ERROR]Version: 2.0-alpha-4 [ERROR]Referenced mojo: generate [ERROR]brought in via: null [ERROR]While building project: [ERROR]Group-Id: org.apache.maven [ERROR]Artifact-Id: super-pom [ERROR]Version: 2.1 [ERROR]From file: null [ERROR]Error message:Failed to load plugin. Reason: Unable to build project for plugin 'org.apache.maven.plugins:maven-archetype-plugin': POM 'org.apache.maven.plugins:maven-archetype-plugin' not found in repository: Unable to download the artifact from any repository [ERROR] org.apache.maven.plugins:maven-archetype-plugin:pom:2.0-alpha-4 [ERROR]from the specified remote repositories: [ERROR] central (http://repo1.maven.org/maven2) [ERROR] for project org.apache.maven.plugins:maven-archetype-plugin [ERROR]Root error message:Unable to download the artifact from any repository ------------------------------------------------------------------------ For more information, run with the -e flag ------------------------------------------------------------------------ BUILD FAILED ------------------------------------------------------------------------ Total time: < 1 second Finished at: Thu Jan 15 10:34:05 MSK 2009 Final Memory: 49M/99M ------------------------------------------------------------------------
it seems you don't have the patch yet in yoyr binaries, as the alpha-4 version seems to be used in your case. With the patch it shall be alpha-3. The fact that the wizard finished is probably caused by the unavailability of the network access to repo1.maven.org/maven2. That caused the build to fail early (before the actual code that locks up the wizard gets called) please reopen if you can reproduce in a production build that contains the patch.
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/592700487f89 User: Milos Kleint <mkleint@netbeans.org> Log: #156751 when using embedded maven, just used archetype plugin alpha-3, as 4 locks the ui.
fix verified