-
-
Save bh5k/b42cffcbba3e2855a452c292f9258a5a to your computer and use it in GitHub Desktop.
| mvn archetype:generate -DarchetypeArtifactId=maven-archetype-simple -DarchetypeGroupId=org.apache.maven.archetypes -DinteractiveMode=false -DgroupId=com.pluralsight -DartifactId=library-app -Dpackage=com.pluralsight |
The mvn archetype:generate command on my system generates sequence not described in the course (see below). Please advise how I should proceed. Thx.
3626: remote -> za.co.absa.hyperdrive:component-archetype_2.11 (-)
3627: remote -> za.co.absa.hyperdrive:component-archetype_2.12 (-)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 2309:
Choose org.apache.maven.archetypes:maven-archetype-quickstart version:
1: 1.0-alpha-1
2: 1.0-alpha-2
3: 1.0-alpha-3
4: 1.0-alpha-4
5: 1.0
6: 1.1
7: 1.3
8: 1.4
9: 1.5
Choose a number: 9: 9
[INFO] Using property: javaCompilerVersion = 17
[INFO] Using property: junitVersion = 5.11.0
Define value for property 'groupId':
Define value for property 'artifactId':
Define value for property 'version' 1.0-SNAPSHOT:
Define value for property 'package' :
[WARNING] Archetype is not fully configured
this does not work, as you can see, it was installed, but we get the bizare error message
PS C:\Program Files\apache-maven-3.9.3> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-simple -DarchetypeGroupId=org.apache.maven.archetypes -DinteractiveMode=false -DgroupId=com.pluralsight -DartifactId=library-app -Dpackage=com.pluralsight
mvn : The term 'mvn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1