Create Java project with Maven archetype global-shared-library

Uses the Jenkins Pipeline Unit mock library to test the usage of a Global Shared Library

Create a Java Project by archetype global-shared-library with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -Dpackage="My-package"   -DarchetypeGroupId="io.jenkins.archetypes"   -DarchetypeArtifactId="global-shared-library"   -DarchetypeVersion="1.11"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
package
validationRegex: none

Details about maven archetype global-shared-library

License

License

GroupId

GroupId

io.jenkins.archetypes
ArtifactId

ArtifactId

global-shared-library
Version

Version

1.11
Type

Type

maven-archetype
Description

Description

Global Shared Library
Uses the Jenkins Pipeline Unit mock library to test the usage of a Global Shared Library

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.jenkins.archetypes -DarchetypeArtifactId=global-shared-library -DarchetypeVersion=1.11 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.