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.
Summary: | Maven - Create Project from Archetype: projectName property empty | ||
---|---|---|---|
Product: | projects | Reporter: | agallardo |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | agallardo, jglick |
Priority: | P3 | ||
Version: | 7.1.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Provided project name and location |
Description
agallardo
2012-06-11 18:27:00 UTC
The creation of this example project works running maven from the command line providing the "-DprojectName=mymavenproject2": /tmp$ mvn -DarchetypeGroupId=at.infonova.opencms.archetypes -DarchetypeArtifactId=opencms-module-archetype -DarchetypeVersion=1.0.1 -DarchetypeRepository=http://bp-cms-commons.sourceforge.net -DgroupId=com.mycompany -DartifactId=mavenproject2 -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany.mavenproject2 -Dbasedir=/tmp/nb-bugs -DprojectName=mymavenproject2 -Darchetype.interactive=false --batch-mode archetype:generate Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>> [INFO] [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<< [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Batch mode [INFO] Archetype defined by properties [INFO] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating project from Archetype: opencms-module-archetype:1.0.1 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: groupId, Value: com.mycompany [INFO] Parameter: artifactId, Value: mavenproject2 [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: package, Value: com.mycompany.mavenproject2 [INFO] Parameter: packageInPathFormat, Value: com/mycompany/mavenproject2 [INFO] Parameter: package, Value: com.mycompany.mavenproject2 [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] Parameter: projectName, Value: mymavenproject2 [INFO] Parameter: groupId, Value: com.mycompany [INFO] Parameter: artifactId, Value: mavenproject2 [INFO] project created from Archetype in dir: /tmp/mavenproject2 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.936s [INFO] Finished at: Mon Jun 11 20:30:28 CEST 2012 [INFO] Final Memory: 9M/72M [INFO] ------------------------------------------------------------------------ Integrated into 'main-golden', will be available in build *201206140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8833f723eb2f User: Milos Kleint <mkleint@netbeans.org> Log: #214006 need to update enable button on edit and have table cell changes applied when finish is clicked Verified that it is fixed. Thanks! Downloaded, built and tested: NetBeans IDE Dev (Build 20120614-19b7747c2923) Am I supposed to close it? Use status=VERIFIED. |