Skip to content

Commit

Permalink
Merge pull request #1 from jenkinsci/flatten
Browse files Browse the repository at this point in the history
[JENKINS-51247] Amending instructions to reflect flatten-maven-plugin configuration change
  • Loading branch information
jglick committed May 11, 2018
2 parents 4515995 + de26537 commit 504d389
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -5,7 +5,7 @@ See [JEP-305](https://github.com/jenkinsci/jep/blob/master/jep/305/README.adoc)
## Usage in plugin POMs

Since most Jenkins repositories host plugins, this use case will be documented first.
You must be using parent POM version [3.9](https://github.com/jenkinsci/plugin-pom/blob/840ac3020a0a243dd243ed7156a22dae1e3c35fe/CHANGELOG.md#39) or later.
You must be using parent POM version [3.10](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md) or later.

### Enabling incrementals (the easy way)

Expand Down Expand Up @@ -104,7 +104,6 @@ Now run
```bash
mkdir -p .mvn
echo -Pmight-produce-incrementals >> .mvn/maven.config
echo .flattened-pom.xml >> .gitignore
```

Finally, configure `git-changelist-maven-extension` in `.mvn/extensions.xml`:
Expand All @@ -122,7 +121,7 @@ Finally, configure `git-changelist-maven-extension` in `.mvn/extensions.xml`:
You may now

```bash
git add .mvn .gitignore pom.xml
git add .mvn pom.xml
```

and commit and push your edits.
Expand Down

0 comments on commit 504d389

Please sign in to comment.