Le 20/05/15 11:54, Colm O hEigeartaigh a écrit :
> Hi all,
>
> I have finished with doing "PMD" fixes to Openaz and it is now enabled by
> default. "PMD" (project mess detector) is a maven plugin which runs every
> time you do a mvn compile/test/install. The build will fail if it detects a
> violation (for example, unused variables etc.). It keeps the source tidy
> and helps eliminate bugs.
>
> I added two new maven profiles:
>
> mvn -Pnochecks - This skips PMD. Useful if you are just testing some local
> changes.
> mvn install -Pfastinstall - This skips both PMD and running the tests.
>
> You can disable PMD in the code itself by either a "// NOPMD" comment, or
> else
> via an annotation "@SuppressWarnings("PMD")". This should be avoided if at
> all possible.
>
> Let me know if there are any questions or concerns.
>
>
FTR, I'm playing with Sonar those last days. It could be convenient to
have OpenAZ added to analysis.apache.org, which provides daily infos
about the project - assuming some changes occured -.

You can check some of the existing project infos here :
https://analysis.apache.org/dashboard
  • PMD Colm O hEigeartaigh

Reply via email to