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.
cd /home/antz/NetBeansProjects; JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre /home/antz/appz/netbeans-8.0beta/java/maven/bin/mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=webapp-javaee7 -DarchetypeVersion=1.1 -DarchetypeRepository=http://repo.maven.apache.org/maven2 -DgroupId=com.mycompany -DartifactId=mavenproject2 -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany.mavenproject2 -Dbasedir=/home/antz/NetBeansProjects -Darchetype.interactive=false --batch-mode archetype:generate Scanning for projects... ------------------------------------------------------------------------ Building NBPlay 1.6-SNAPSHOT ------------------------------------------------------------------------ >>> maven-archetype-plugin:2.2:generate (default-cli) @ NBPlay >>> <<< maven-archetype-plugin:2.2:generate (default-cli) @ NBPlay <<< --- maven-archetype-plugin:2.2:generate (default-cli) @ NBPlay --- Generating project in Batch mode Archetype defined by properties ---------------------------------------------------------------------------- Using following parameters for creating project from Archetype: webapp-javaee7:1.1 ---------------------------------------------------------------------------- Parameter: groupId, Value: com.mycompany Parameter: artifactId, Value: mavenproject2 Parameter: version, Value: 1.0-SNAPSHOT Parameter: package, Value: com.mycompany.mavenproject2 Parameter: packageInPathFormat, Value: com/mycompany/mavenproject2 Parameter: package, Value: com.mycompany.mavenproject2 Parameter: version, Value: 1.0-SNAPSHOT Parameter: groupId, Value: com.mycompany Parameter: artifactId, Value: mavenproject2 ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 1.067s Finished at: Tue Jan 14 05:07:32 SAST 2014 Final Memory: 14M/305M ------------------------------------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project NBPlay: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [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/MojoFailureException I Get the above error when performing the Create a new "Maven / Web Application" project: testcase However the project appears in the project view and when I clean and build, it the builds successfully
Is it possible that you are inside of some internal network behind proxy and you don't have your settings.xml configure with respect to that proxy? I'm not able to reproduce your issue using daily build and these issues are usually caused by something like that..
Closing as WORKSFORME. I don't see any problem and think that the issue is in Maven configuration.