Add property "pmd-designer.version", update release procedure

For now, we'll reference the latest pmd-designer release manually,
that is atm 6.12.0.
This means, if a new pmd-designer should be shipped with a PMD release,
the designer will need to be released first.
This commit is contained in:
Andreas Dangel 2019-03-11 15:30:33 +01:00
parent 3a78b2151b
commit d42aa3915e
4 changed files with 11 additions and 1 deletions

View File

@ -80,6 +80,9 @@ echo " the new release based on the release notes"
echo
echo "* Update **../pmd.github.io/_config.yml** to mention the new release"
echo
echo "* Update property `pmd-designer.version` in **pom.xml** to reference the latest pmd-designer release"
echo " See <https://search.maven.org/search?q=g:net.sourceforge.pmd%20AND%20a:pmd-ui&core=gav> for the available releases."
echo
echo "Press enter to continue..."
read

View File

@ -33,8 +33,10 @@ The date and the version must be updated in `docs/_config.yml`, e.g.
pmd:
version: 6.0.0
date: 2017-12-15
release_type: minor
```
The release type could be one of "bugfix", "minor", or "major".
The release notes usual mention any new rules that have been added since the last release.
Please double check the file `pmd-core/src/main/resources/rulesets/releases/<version>.xml`, so
@ -43,6 +45,10 @@ that all new rules are listed.
We maintain a documentation for the [next major release](pmd_next_major_development.html). Copy the API
changes from the current release notes to this document: `docs/pages/next_major_development.md`.
The designer lives at [pmd/pmd-designer](https://github.com/pmd/pmd-designer).
Update property `pmd-designer.version` in **pom.xml** to reference the latest pmd-designer release.
See <https://search.maven.org/search?q=g:net.sourceforge.pmd%20AND%20a:pmd-ui&core=gav> for the available releases.
Check in all (version) changes to branch master or any other branch, from which the release takes place:
$ git commit -a -m "Prepare pmd release <version>"

View File

@ -242,7 +242,7 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-ui</artifactId>
<version>${project.version}</version>
<version>${pmd-designer.version}</version>
</dependency>
</dependencies>
</profile>

View File

@ -284,6 +284,7 @@ Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code
<pmd.build-tools.version>1.4.0</pmd.build-tools.version>
<pmd-designer.version>6.12.0</pmd-designer.version>
</properties>
<build>