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.
Downloaded http://bertram2.netbeans.org:8080/job/web-main-javaee7/lastSuccessfulBuild/artifact/nbbuild/NetBeans-dev-web-main-javaee7-262-on-20130426-full.zip Creating a Java EE 7 web project gives the following error: Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.codehaus.mojo.archetypes:webapp-javaee7:0.3-SNAPSHOT) -> [Help 1] The build is unusable.
Created attachment 133898 [details] Maven output I must say I am not able to reproduce, see the attached log file. Arun, can you please try whether this works from the command line? Looking at the archetype in the repository, everything looks good to me, see: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/mojo/archetypes/webapp-javaee7/0.3-SNAPSHOT/
I do not have this problem. The project generation just works - see the output below. I wonder whether you have a proxy issue or something preventing newer version of plugin from being downloaded or something like that? Product Version: NetBeans IDE Dev (Build 20130429-6ffe54cc4a76) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-40-generic running on amd64; UTF-8; en_NZ (nb) User directory: /tmp/aaa Cache directory: /tmp/aaa/var/cache Project creation: cd /home/david/NetBeansProjects; JAVA_HOME=/usr/lib/jvm/java-7-oracle /home/dev/main3/nbbuild/netbeans/java/maven/bin/mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=webapp-javaee7 -DarchetypeVersion=0.3-SNAPSHOT -DarchetypeRepository=https://nexus.codehaus.org/content/repositories/snapshots/ -DgroupId=com.mycompany -DartifactId=mavenproject39 -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany.mavenproject39 -Dbasedir=/home/david/NetBeansProjects -Darchetype.interactive=false --batch-mode --update-snapshots archetype:generate Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 KB at 12.5 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (22 KB at 21.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata.xml (701 B at 3.0 KB/sec) ------------------------------------------------------------------------ Building Maven Stub Project (No POM) 1 ------------------------------------------------------------------------ >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>> <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<< [archetype:generate] Generating project in Batch mode Archetype defined by properties Downloading: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/mojo/archetypes/webapp-javaee7/0.3-SNAPSHOT/maven-metadata.xml Downloaded: https://nexus.codehaus.org/content/repositories/snapshots/org/codehaus/mojo/archetypes/webapp-javaee7/0.3-SNAPSHOT/maven-metadata.xml (786 B at 0.4 KB/sec) ---------------------------------------------------------------------------- Using following parameters for creating project from Archetype: webapp-javaee7:0.3-SNAPSHOT ---------------------------------------------------------------------------- Parameter: groupId, Value: com.mycompany Parameter: artifactId, Value: mavenproject39 Parameter: version, Value: 1.0-SNAPSHOT Parameter: package, Value: com.mycompany.mavenproject39 Parameter: packageInPathFormat, Value: com/mycompany/mavenproject39 Parameter: package, Value: com.mycompany.mavenproject39 Parameter: version, Value: 1.0-SNAPSHOT Parameter: groupId, Value: com.mycompany Parameter: artifactId, Value: mavenproject39 project created from Archetype in dir: /home/david/NetBeansProjects/mavenproject39 ------------------------------------------------------------------------ BUILD SUCCESS ------------------------------------------------------------------------ Total time: 7.250s Finished at: Mon Apr 29 11:14:51 NZST 2013 Final Memory: 15M/207M ------------------------------------------------------------------------
I'm not able to reproduce either. Agree it might be either some proxy issue or maybe the repository was not running when you were trying to create the project. Closing as INVALID for now. Arun, please reopen the issue together with additional information if it's still reproducible on your side. Thanks in advance