Skip to content
Permalink
Browse files
[JENKINS-32493] Update README once released.
  • Loading branch information
Andres Rodriguez committed Jan 20, 2016
1 parent a40e28f commit 2d187c2991a114ea78f6de0a4c8a0bff03bc3fec
Showing 1 changed file with 5 additions and 10 deletions.
@@ -1,10 +1,7 @@
# plugin-pom
Parent POM for Jenkins Plugins (experimental)
Parent POM for Jenkins Plugins

Proposed POM to substitute current plugin parent POM.

This parent POM is decoupled from the core Jenkins project, both from the Maven and repository perspectives.
The current proposed Maven coordinates are temporal.
This new parent POM is decoupled from the core Jenkins project, both from the Maven and repository perspectives.

The main changes are:
* Reduced number of overridable properties. All references (e.g. dependencies and plugin versions) not
@@ -24,21 +21,19 @@ thought to be overridden are no longer based on properties. The main remaining o
Being able to specify the `jenkins.version` simplifies testing the plugin with different core versions, which is
important, among others, for the Plugin Compatibility Testing.

In order to use the new (experimental) POM:
* Clone this repository and build it using `mvn clean install`
In order to use the new POM:
* Change the parent POM of your plugin:
```
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin-pom</artifactId>
<version>0.1-SNAPSHOT</version>
<artifactId>plugin</artifactId>
<version>2.0</version>
</parent>
```
* Override the needed properties, e.g.:
```
<properties>
<jenkins.version>1.609.1</jenkins.version>
<hpi-plugin.version>1.106</hpi-plugin.version>
<maven.findbugs.failure.strict>true</maven.findbugs.failure.strict>
</properties>
```

0 comments on commit 2d187c2

Please sign in to comment.