pmd: Prepare pmd release 5.1.0

This commit is contained in:
Andreas Dangel
2014-02-10 19:42:29 +01:00
parent 83552fb843
commit b970324b97
6 changed files with 42 additions and 19 deletions

View File

@ -258,7 +258,7 @@
If the xdocs files stay in src/site/xdoc/, mvn tries to copy over the generated
one, and complains... -->
<src.xdocs.dir>src/site/xdocs</src.xdocs.dir>
<pmd.website.baseurl>http://pmd.sourceforge.net/snapshot</pmd.website.baseurl>
<pmd.website.baseurl>http://pmd.sourceforge.net/pmd-${project.version}</pmd.website.baseurl>
</properties>
<build>

View File

@ -26,6 +26,9 @@ This ruleset contains links to rules that are new in PMD v5.1.0
<rule ref="rulesets/plsql/codesize.xml/TooManyFields"/>
<rule ref="rulesets/plsql/codesize.xml/NcssMethodCount"/>
<rule ref="rulesets/plsql/codesize.xml/NcssObjectCount"/>
<rule ref="rulesets/plsql/dates.xml/TO_DATEWithoutDateFormat"/>
<rule ref="rulesets/plsql/dates.xml/TO_DATE_TO_CHAR"/>
<rule ref="rulesets/plsql/dates.xml/TO_TIMESTAMPWithoutDateFormat"/>
<rule ref="rulesets/plsql/TomKytesDespair.xml/TomKytesDespair"/>
<rule ref="rulestes/vm/basic.xml/AvoidDeeplyNestedIfStmts"/>

View File

@ -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:**

View File

@ -31,7 +31,7 @@ $ git status
<source>src/main/resources/rulesets/releases/&lt;version&gt;.xml file.</source>
</li>
<li>Update version/release info in <strong>src/site/markdown/changelog.md</strong>.</li>
<li>Update pmd.website.baseurl in <strong>pom.xml</strong></li>
<li>Update pmd.website.baseurl in <strong>pom.xml</strong> (to <code>http://pmd.sourceforge.net/pmd-${project.version}</code>)</li>
<li>Update <strong>../website/.htaccess</strong> of our website, to redirect to the new version</li>
<li>Update <strong>../website/index.html</strong> to mention the new release</li>
</ul>
@ -190,7 +190,8 @@ the following template:
PMD &lt;version&gt; released
* minor version with lots of bug fixes
* ChangeLog: https://sourceforge.net/projects/pmd/files/pmd/&lt;version&gt;/
* Changelog: http://pmd.sourceforge.net/pmd-&lt;version&gt;/changelog.html
* Download: https://sourceforge.net/projects/pmd/files/pmd/&lt;version&gt;/
* Fixed Bugs: https://sourceforge.net/p/pmd/bugs/milestone/PMD-&lt;version&gt;/
* Documentation: http://pmd.sourceforge.net/pmd-&lt;version&gt;/
</source>

View File

@ -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]

View File

@ -47,11 +47,18 @@
<div class="row">
<div class="large-11 large-centered columns">
<h3>Latest version</h3>
<h4>5.0.5 (11th August 2013)</h4>
<h4>5.1.0 (11th February 2014)</h4>
<ul>
<li><a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.5/">Release Notes</a></li>
<li><a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.5/pmd-bin-5.0.5.zip/download">Download</a> (<a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.5/pmd-src-5.0.5.zip/download">Sourcecode</a>)</li>
<li><a href="http://pmd.sourceforge.net/pmd-5.0.5/">Documentation</a></li>
<li><a href="http://pmd.sourceforge.net/pmd-5.1.0/changelog.html">Release Notes</a></li>
<li><a href="https://sourceforge.net/projects/pmd/files/pmd/5.1.0/pmd-bin-5.1.0.zip/download">Download</a> (<a href="https://sourceforge.net/projects/pmd/files/pmd/5.1.0/pmd-src-5.1.0.zip/download">Sourcecode</a>)</li>
<li><a href="http://pmd.sourceforge.net/pmd-5.1.0/">Documentation</a></li>
</ul>
<h5>Highlights</h5>
<ul>
<li>Java 1.8 support added.</li>
<li>PLSQL support added.</li>
<li>Apache Velocity support added.</li>
<li>Fixed bugs: <a href="https://sourceforge.net/p/pmd/bugs/milestone/PMD-5.1.0/">https://sourceforge.net/p/pmd/bugs/milestone/PMD-5.1.0/</a></li>
</ul>
</div>
</div>
@ -102,6 +109,17 @@
<div class="large-11 large-centered columns">
<h3>Recent Announcements</h3>
<ul>
<li>
<p><strong>2014-02-11 PMD 5.1.0:</strong>
major version with new languages and lots of bug fixes (<a href="http://pmd.sourceforge.net/pmd-5.1.0/changelog.html">Changelog</a>)
</p>
<ul>
<li>Java 1.8 support added.</li>
<li>PLSQL support added.</li>
<li>Apache Velocity support added.</li>
<li>Fixed bugs: <a href="https://sourceforge.net/p/pmd/bugs/milestone/PMD-5.1.0/">https://sourceforge.net/p/pmd/bugs/milestone/PMD-5.1.0/</a></li>
</ul>
</li>
<li>
<p><strong>2013-08-11 PMD 5.0.5:</strong>
minor version with lots of bug fixes (<a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.5/">Changelog</a>)
@ -178,7 +196,7 @@
<div class="row">
<div class="large-11 large-centered columns">
<h3>Next development version</h3>
<h4>5.1.0-SNAPSHOT</h4>
<h4>5.2.0-SNAPSHOT</h4>
<ul>
<li><a href="http://pmd.sourceforge.net/snapshot/">Documentation</a></li>
<li><a href="https://jenkins.adangel.org/job/pmd/">CI Server</a></li>
@ -194,14 +212,15 @@
<div class="large-11 large-centered columns">
<h3>Previous versions</h3>
<ul>
<li>5.0.4 (2013-05-01) <a href="http://sourceforge.net/projects/pmd/files/pmd/5.0.4/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.4/">doc</a></li>
<li>5.0.3 (2013-04-05) <a href="http://sourceforge.net/projects/pmd/files/pmd/5.0.3/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.3/">doc</a></li>
<li>5.0.2 (2013-02-03) <a href="http://sourceforge.net/projects/pmd/files/pmd/5.0.2/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.2/">doc</a></li>
<li>5.0.1 (2012-11-28) <a href="http://sourceforge.net/projects/pmd/files/pmd/5.0.1/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.1/">doc</a></li>
<li>5.0.0 (2012-05-01) <a href="http://sourceforge.net/projects/pmd/files/pmd/5.0.0/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.0/">doc</a></li>
<li>4.3<span style="color: white;">.0</span> (2011-11-04) <a href="http://sourceforge.net/projects/pmd/files/pmd/4.3/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-4.3/">doc</a></li>
<li>4.2.6 (2011-09-14) <a href="http://sourceforge.net/projects/pmd/files/pmd/4.2.6/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-4.2.6/">doc</a></li>
<li>4.2.5 (2009-02-08) <a href="http://sourceforge.net/projects/pmd/files/pmd/4.2.5/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-4.2.5/">doc</a></li>
<li>5.0.5 (2013-08-11) <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.5/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.5/">doc</a></li>
<li>5.0.4 (2013-05-01) <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.4/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.4/">doc</a></li>
<li>5.0.3 (2013-04-05) <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.3/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.3/">doc</a></li>
<li>5.0.2 (2013-02-03) <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.2/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.2/">doc</a></li>
<li>5.0.1 (2012-11-28) <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.1/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.1/">doc</a></li>
<li>5.0.0 (2012-05-01) <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.0/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-5.0.0/">doc</a></li>
<li>4.3<span style="color: white;">.0</span> (2011-11-04) <a href="https://sourceforge.net/projects/pmd/files/pmd/4.3/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-4.3/">doc</a></li>
<li>4.2.6 (2011-09-14) <a href="https://sourceforge.net/projects/pmd/files/pmd/4.2.6/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-4.2.6/">doc</a></li>
<li>4.2.5 (2009-02-08) <a href="https://sourceforge.net/projects/pmd/files/pmd/4.2.5/">downloads</a> <a href="http://pmd.sourceforge.net/pmd-4.2.5/">doc</a></li>
</ul>
</div>
</div>