Create Java project with Maven archetype hello-world-plugin

Skeleton of a Jenkins plugin with a POM and an example build step.

Create a Java Project by archetype hello-world-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="hello-world-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 hello-world-plugin

License

License

GroupId

GroupId

io.jenkins.archetypes
ArtifactId

ArtifactId

hello-world-plugin
Version

Version

1.13
Type

Type

maven-archetype
Description

Description

Hello World Builder Jenkins Plugin
Skeleton of a Jenkins plugin with a POM and an example build step.
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=hello-world-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.