It seems the latest commits on the pom.xml¹s have resulted in the
following problems building the code, and it seem to be related to ³PMD²
plugin missing:

Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-pmd-plugin:3.4:check (execution: validate,
phase: validate)        pom.xml /openaz-pep     line 19 Maven Project Build 
Lifecycle
Mapping Problem

I¹ve tried both Eclipse Luna and Mars, is there a specific plugin that
should be installed to get the software to build?


Pam

On 5/20/15, 8:15 AM, "Emmanuel Lécharny" <[email protected]> wrote:

>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