From b970324b97ed205c6b4e96a626b1bc16813e1a41 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Mon, 10 Feb 2014 19:42:29 +0100 Subject: [PATCH] pmd: Prepare pmd release 5.1.0 --- pmd/pom.xml | 2 +- .../main/resources/rulesets/releases/510.xml | 3 ++ pmd/src/site/markdown/changelog.md | 4 +- pmd/src/site/xdocs/pmd-release-process.xml | 5 ++- website/.htaccess | 2 +- website/index.html | 45 +++++++++++++------ 6 files changed, 42 insertions(+), 19 deletions(-) diff --git a/pmd/pom.xml b/pmd/pom.xml index 93221522a7..e9da9ef8ba 100644 --- a/pmd/pom.xml +++ b/pmd/pom.xml @@ -258,7 +258,7 @@ If the xdocs files stay in src/site/xdoc/, mvn tries to copy over the generated one, and complains... --> src/site/xdocs - http://pmd.sourceforge.net/snapshot + http://pmd.sourceforge.net/pmd-${project.version} diff --git a/pmd/src/main/resources/rulesets/releases/510.xml b/pmd/src/main/resources/rulesets/releases/510.xml index 4029f1a945..62349ba42b 100644 --- a/pmd/src/main/resources/rulesets/releases/510.xml +++ b/pmd/src/main/resources/rulesets/releases/510.xml @@ -26,6 +26,9 @@ This ruleset contains links to rules that are new in PMD v5.1.0 + + + diff --git a/pmd/src/site/markdown/changelog.md b/pmd/src/site/markdown/changelog.md index 06f039699d..e053dc7e3e 100644 --- a/pmd/src/site/markdown/changelog.md +++ b/pmd/src/site/markdown/changelog.md @@ -1,12 +1,12 @@ # Changelog -## ????? ??, 2013 - 5.1.0: +## February 11, 2014 - 5.1.0: **New/Updated Languages:** - Java 1.8 support added. - PLSQL support added; thanks to Stuart Turton. See also http://pldoc.sourceforge.net/ -- Apache Velocity support added; thanks to Andrey Utis +- Apache Velocity support added; thanks to Andrey Utis. See also http://velocity.apache.org **New/Updated Rulesets and Rules:** diff --git a/pmd/src/site/xdocs/pmd-release-process.xml b/pmd/src/site/xdocs/pmd-release-process.xml index 0c5273ee9a..087363626c 100644 --- a/pmd/src/site/xdocs/pmd-release-process.xml +++ b/pmd/src/site/xdocs/pmd-release-process.xml @@ -31,7 +31,7 @@ $ git status src/main/resources/rulesets/releases/<version>.xml file.
  • Update version/release info in src/site/markdown/changelog.md.
  • -
  • Update pmd.website.baseurl in pom.xml
  • +
  • Update pmd.website.baseurl in pom.xml (to http://pmd.sourceforge.net/pmd-${project.version})
  • Update ../website/.htaccess of our website, to redirect to the new version
  • Update ../website/index.html to mention the new release
  • @@ -190,7 +190,8 @@ the following template: PMD <version> released * minor version with lots of bug fixes -* ChangeLog: https://sourceforge.net/projects/pmd/files/pmd/<version>/ +* Changelog: http://pmd.sourceforge.net/pmd-<version>/changelog.html +* Download: https://sourceforge.net/projects/pmd/files/pmd/<version>/ * Fixed Bugs: https://sourceforge.net/p/pmd/bugs/milestone/PMD-<version>/ * Documentation: http://pmd.sourceforge.net/pmd-<version>/ diff --git a/website/.htaccess b/website/.htaccess index 80d2e45e97..aa75f2724f 100644 --- a/website/.htaccess +++ b/website/.htaccess @@ -6,7 +6,7 @@ RewriteEngine On # rewrite any request to a unknown file to pmd-X.Y.Z # (or whatever subfolder the first rule will set to the environment variable PMD) # but redirect only if the file exists there -RewriteRule .* - [E=PMD:pmd-5.0.5] +RewriteRule .* - [E=PMD:pmd-5.1.0] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond /home/project-web/pmd/htdocs/%{ENV:PMD}%{REQUEST_URI} -f RewriteRule .* /%{ENV:PMD}%{REQUEST_URI} [L,R] diff --git a/website/index.html b/website/index.html index b7aa3c396e..b171394faf 100644 --- a/website/index.html +++ b/website/index.html @@ -47,11 +47,18 @@

    Latest version

    -

    5.0.5 (11th August 2013)

    +

    5.1.0 (11th February 2014)

    +
    Highlights
    +
    @@ -102,6 +109,17 @@

    Recent Announcements