You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Maria Odea Ching <oc...@mergere.com> on 2006/06/01 02:47:53 UTC

Re: [M2] How to fail build by PMD certain level priority

Hi Szczepan,

There's no feature for this in the maven PMD plugin. You can file a jira 
for this at
http://jira.codehaus.org/browse/MPMD

The current setting is that the build fails only if the failOnValidation 
parameter is set to true
and the overall number of violations is greater than 1.

Thanks,
Odea

Szczepan Faber wrote:
> How to fail a build by PMD but only on certain level priority violation?
>
> Thanks,
> Szczepan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] How to fail build by PMD certain level priority

Posted by Szczepan Faber <sz...@gmail.com>.
Hi,

I've already added this functionality. I will post a patch to JIRA.

Thanks,
Szczepan

On 6/1/06, Wayne Fay <wa...@gmail.com> wrote:
> Go ahead and file the JIRA... but if you need this functionality asap
> for a project, you probably need to dig into the code and add it
> yourself, and contribute it back.
>
> Wayne
>
> On 5/31/06, Maria Odea Ching <oc...@mergere.com> wrote:
> >
> > Hi Szczepan,
> >
> > There's no feature for this in the maven PMD plugin. You can file a jira
> > for this at
> > http://jira.codehaus.org/browse/MPMD
> >
> > The current setting is that the build fails only if the failOnValidation
> > parameter is set to true
> > and the overall number of violations is greater than 1.
> >
> > Thanks,
> > Odea
> >
> > Szczepan Faber wrote:
> > > How to fail a build by PMD but only on certain level priority violation?
> > >
> > > Thanks,
> > > Szczepan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M2] How to fail build by PMD certain level priority

Posted by Wayne Fay <wa...@gmail.com>.
Go ahead and file the JIRA... but if you need this functionality asap
for a project, you probably need to dig into the code and add it
yourself, and contribute it back.

Wayne

On 5/31/06, Maria Odea Ching <oc...@mergere.com> wrote:
>
> Hi Szczepan,
>
> There's no feature for this in the maven PMD plugin. You can file a jira
> for this at
> http://jira.codehaus.org/browse/MPMD
>
> The current setting is that the build fails only if the failOnValidation
> parameter is set to true
> and the overall number of violations is greater than 1.
>
> Thanks,
> Odea
>
> Szczepan Faber wrote:
> > How to fail a build by PMD but only on certain level priority violation?
> >
> > Thanks,
> > Szczepan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org