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 200812080201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.27-9-generic running on i386; UTF-8; en_US (nb) Userdir: /tmp/ud ---------- - started ide and waited till repository index get downloaded - new project wizard - select netbeans platform module archetype, click next -> project creation fails with: NetBeans: Executing 'mvn -DarchetypeVersion=1.0.2 -Dbrandingtoken= -Darchetype.interactive=false -DgroupId=com.mycompany -DarchetypeArtifactId=netbeans-platform-app-archetype -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=org.codehaus.mojo.archetypes -Dbasedir=/usr/local/home/tomas/NetBeansProjects -Dnetbeans-install= -Dcluster= -Dpackage=com.mycompany.mavenproject3 -DartifactId=mavenproject3 --batch-mode org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate' Scanning for projects... ------------------------------------------------------------------------ Building Maven Default Project task-segment: [org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate] (aggregator-style) ------------------------------------------------------------------------ Preparing archetype:generate No goals needed for project - skipping Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. Setting property: velocimacro.messages.on => 'false'. Setting property: resource.loader => 'classpath'. Setting property: resource.manager.logwhenfound => 'false'. [archetype:generate] Generating project in Batch mode [WARNING] No archetype repository found. Falling back to central repository (http://repo1.maven.org/maven2). [WARNING] Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere. ------------------------------------------------------------------------ [ERROR]BUILD FAILURE ------------------------------------------------------------------------ : org.apache.maven.archetype.exception.ArchetypeNotConfigured: Archetype org.codehaus.mojo.archetypes:netbeans-platform-app-archetype:1.0.2 is not configured Archetype org.codehaus.mojo.archetypes:netbeans-platform-app-archetype:1.0.2 is not configured Archetype org.codehaus.mojo.archetypes:netbeans-platform-app-archetype:1.0.2 is not configured ------------------------------------------------------------------------ For more information, run Maven with the -e switch ------------------------------------------------------------------------ Total time: 4 seconds Finished at: Tue Dec 09 18:39:10 CET 2008 Final Memory: 9M/82M ------------------------------------------------------------------------
Decreasing the priority to P3. There is a simple way how to workaround this. Just pay attention to the values available in the 3rd step of the wizard when creating this project and don't leave empty Additional Creation Properties. These are empty - as visible from the output which contains: -Dbrandingtoken= -Dnetbeans-install= -Dcluster= when these are empty then the project is not created. Of course there should be some logic that cannot let user to finish wizard without set up of required stuff.
the archetype doesn't require any additional values now (in 1.1 version)