Alied Pérez Martínez created NETBEANS-568: ---------------------------------------------
Summary: New Archetype wizard Test Case fails to create project Key: NETBEANS-568 URL: https://issues.apache.org/jira/browse/NETBEANS-568 Project: NetBeans Issue Type: Bug Affects Versions: 9.0 Reporter: Alied Pérez Martínez The test case "New Archetype wizard" fails to create the requested project build log: {noformat} cd /home/alied/NetBeansProjects/netcat90; JAVA_HOME=/home/alied/Downloads/jdk-10 /home/alied/Downloads/netbeans/java/maven/bin/mvn -DarchetypeGroupId=org.jvnet.hudson.tools -DarchetypeArtifactId=maven-hpi-plugin -DarchetypeVersion=3.0.1 -DarchetypeRepository=https://repo.maven.apache.org/maven2/ -DgroupId=com.mycompany -DartifactId=MvnSampleProject -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany.mvnsampleproject -Dbasedir=/home/alied/NetBeansProjects/netcat90 -Darchetype.interactive=false --batch-mode archetype:generate Scanning for projects... ------------------------------------------------------------------------ Building Maven Stub Project (No POM) 1 ------------------------------------------------------------------------ >>> maven-archetype-plugin:2.3:generate (default-cli) > generate-sources @ >>> standalone-pom >>> <<< maven-archetype-plugin:2.3:generate (default-cli) < generate-sources @ standalone-pom <<< --- maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom --- Generating project in Batch mode Archetype defined by properties ---------------------------------------------------------------------------- Using following parameters for creating project from Old (1.x) Archetype: maven-hpi-plugin:3.0.1 ---------------------------------------------------------------------------- Parameter: basedir, Value: /home/alied/NetBeansProjects/netcat90 Parameter: package, Value: com.mycompany.mvnsampleproject Parameter: groupId, Value: com.mycompany Parameter: artifactId, Value: MvnSampleProject Parameter: packageName, Value: com.mycompany.mvnsampleproject Parameter: version, Value: 1.0-SNAPSHOT ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 1.011 s Finished at: 2018-04-02T15:34:28-03:00 Final Memory: 12M/54M ------------------------------------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.3:generate (default-cli) on project standalone-pom: Directory MvnSampleProject already exists - please run from a clean directory -> [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 {noformat} No files are created inside the project directory: {noformat} alied@development:~/NetBeansProjects/netcat90/MvnSampleProject$ ls -la total 8 drwxr-xr-x 2 alied alied 4096 Apr 2 15:34 . drwxr-xr-x 3 alied alied 4096 Apr 2 15:34 .. {noformat} Build info: {noformat} Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-linux-386-on-20180402) Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 Runtime: Java(TM) SE Runtime Environment 10+46 System: Linux version 4.15.14 running on amd64; UTF-8; en_US (nb) User directory: /home/alied/.netbeans/beta Cache directory: /home/alied/.cache/netbeans/beta {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists