The project builds fine from the command line. How exactly are you building
the project in eclipse? If you do "mvn eclipse:eclipse" on the command line
it will generate the projects that you can import into eclipse.

Colm.

On Wed, Aug 19, 2015 at 5:47 PM, DRAGOSH, PAMELA L (PAM) <
[email protected]> wrote:

> I don’t think it was you’re commit, it was a pom.xml checkin some time
> back from one of our mentors.
>
> I was able to change my Eclipse Maven Preferences to issue a warning
> instead of an error for plugins. Just was surprised by the errors and the
> fact that it wouldn’t compile anymore.
>
> Pam
>
> On 8/19/15, 12:41 PM, "Ajith Nair" <[email protected]> wrote:
>
> >Pam,
> >
> >The latest commit was most likely mine I believe. However I don't recall
> >any build errors.
> >
> >I'll take a look at this again.
> >
> >Regards,
> >Ajith
> >
> >> On Aug 19, 2015, at 11:53 AM, DRAGOSH, PAMELA L (PAM)
> >><[email protected]> wrote:
> >>
> >> 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
> >>
>
>


-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com
  • PMD Colm O hEigeartaigh

Reply via email to