pmd/pmd-core
Jan van Nunen e2cc67c591 Fixed exit status of PMD when error occurs
When an error occured the exit status of PMD was 0. The error occured
because the logic of 'NO_EXIT_AFTER_RUN' was incorrect/inverted. A
'System.exit()' was performed when 'NO_EXIT_AFTER_RUN' was set while it
should be skipped. I copied the fix from the CPDCommandLineInterface
class.

Furthermore I made sure all error messages are printed to System.err
instead of System.out, so they can easily extracted/found when PMD is
invoked by external tools.
2015-03-05 12:22:56 +01:00
..

How to build PMD ?
==================

Simply use maven: $ mvn compile

PMD now uses a small plugin to generate its website, so if you want to build the
website ($ mvn site), you'll need to install it:

$ cd ../maven-plugin-pmd-build
$ mvn clean install

That's all !

How to quickly build a "release" (zipfiles - for testing purpose only) ?
------------------------------------------------------------------------

$ mvn -Dmaven.test.skip=true -Dmaven.clover.skip=true verify post-site

Full release process is documented in src/site/xdocs/pmd-release-process.xml