mvn archetype:generate -DgroupId="com.mycompany.app" -DartifactId="my-app-id" -DgroupId="My-groupId" -Dpackage="My-package" -DarchetypeGroupId="io.jenkins.archetypes" -DarchetypeArtifactId="scripted-pipeline" -DarchetypeVersion="1.6" -DinteractiveMode=false
GroupId | GroupIdio.jenkins.archetypes |
---|---|
ArtifactId | ArtifactIdscripted-pipeline |
Version | Version1.6 |
Type | Typemaven-archetype |
mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app> -DarchetypeGroupId=io.jenkins.archetypes -DarchetypeArtifactId=scripted-pipeline -DarchetypeVersion=1.6 -DinteractiveMode=false