Skip to content

Commit

Permalink
[JENKINS-32493] Update README once released.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Rodriguez committed Jan 20, 2016
1 parent a40e28f commit 2d187c2
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
@@ -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
Expand All @@ -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.