Skip to content
Maven plugin for building Jenkins plugins
Java Groovy HTML
Latest commit 6a75925 May 25, 2016 @olivergondza olivergondza Merge pull request #30 from boyarsky/master
original link is no longer active; change to current link for archive…
Failed to load latest commit information.
hpi-archetype [JENKINS-32493] Adapt to parent POM 2.3 and JTH 2.1 Jan 27, 2016
src Merge pull request #30 from boyarsky/master May 25, 2016
.editorconfig Can't remove trailing whitespaces because of Maven source files Feb 23, 2016
.gitignore
README.md Linking to gh-pages Apr 29, 2016
copyArchetype.xml While hpi:create worked due to various hacks, normal archetype:genera… Aug 16, 2012
pom.xml [maven-release-plugin] prepare for next development iteration Mar 17, 2016

README.md

Maven plugin to build Jenkins plugins. See the Extend Jenkins wiki page for details.

Mojo documentation

Build Status

Before releasing, to sanity test, try

mvn -Prun-its clean install
# Find some plugin using the 2.x parent POM and run:
mvn -f ../some-plugin -Dhpi-plugin.version=1.XXX-SNAPSHOT -Denforcer.fail=false -DskipTests clean package hpi:run

Updating Jetty

hpi:run mojo is a variant of jetty:run mojo, and because of the way plugin descriptor is generated, this module copies some code from Jetty Maven plugin, specifically AbstractJettyMojo.java and ConsoleScanner.java.

To keep upstream tracking easier, prestine copies of these files are copied into incoming-x.y branch, then package renamed. This version specific incoming branch is then "theirs" merged into the incoming branch, which acts as the upstream tracking branch.

This branch is then merged into master via git merge -X ignore-space-at-eol incoming. See diff between incoming and master on these files to see the exact local patches.

Something went wrong with that request. Please try again.