Create Java project with Maven archetype global-configuration-plugin

Skeleton of a Jenkins plugin with a POM and an example piece of global configuration.

Create a Java Project by archetype global-configuration-plugin with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DgroupId="My-groupId"   -Dpackage="My-package"   -DhostOnJenkinsGitHub="My-hostOnJenkinsGitHub"   -DarchetypeGroupId="io.jenkins.archetypes"   -DarchetypeArtifactId="global-configuration-plugin"   -DarchetypeVersion="1.13"   -DinteractiveMode=false 

Required parameters for generate java project:

groupId
validationRegex: none
package
validationRegex: none
hostOnJenkinsGitHub
validationRegex: (true|false)

Details about maven archetype global-configuration-plugin

License

License

GroupId

GroupId

io.jenkins.archetypes
ArtifactId

ArtifactId

global-configuration-plugin
Version

Version

1.13
Type

Type

maven-archetype
Description

Description

Global Configuration Jenkins Plugin
Skeleton of a Jenkins plugin with a POM and an example piece of global configuration.
Source Code Management

Source Code Management

https://github.com/jenkinsci/archetypes/

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.jenkins.archetypes -DarchetypeArtifactId=global-configuration-plugin -DarchetypeVersion=1.13 -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.