Skip to content
Permalink
Browse files
Merge pull request #1 from andresrc/JENKINS-32493
[JENKINS-32493] Update README once released.
  • Loading branch information
andresrc committed Jan 21, 2016
2 parents a40e28f + 2d187c2 commit 5e753159908314160ee4b633508b6d7a08f74146
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 5e75315

Please sign in to comment.