Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
> On Thu, Oct 25, 2012 at 10:01 AM, Arnaud bourree >>>>> wrote: >>>>>> On my side, I put configuration in section and not in >>>>>> one. >>>>>> >>>>>> >>>>>> >&

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Anders Hammar
gt;> maven-enforcer-plugin >>>>> 1.1.1 >>>>> >>>>> >>>>> com.acme >>>>> acme-enforcer-rules

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
t;>>> >>>> enforce >>>> >>>> >>>> >>>> >>>> >>>> >>>>

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Anders Hammar
er:enforce" doesn't work without "package" >>> So I run "mvn package enforcer:enforce" >>> But in fact if you run "mvn package" maven will run enforcer rules >>> >>> Arnaud >>> >>> 2012/10/25 Anders Hammar :

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
run "mvn package" maven will run enforcer rules >> >> Arnaud >> >> 2012/10/25 Anders Hammar : >>> You probably have the configuration in the wrong place. Is it on >>> plugin level or execution level? It has to be on plugin level if >>

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Anders Hammar
>> >> /Anders >> >> On Thu, Oct 25, 2012 at 7:27 AM, Wang, Simon wrote: >>> I specified rule in pom.xml, after run "mvn enforcer:enforce", still >>> complain no rules set. >>> Really don't know what happened. >>> >>

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
; Simon >> -Original Message- >> From: Arnaud bourree [mailto:arnaud.bour...@gmail.com] >> Sent: 2012年10月24日 22:18 >> To: Maven Users List >> Subject: Re: Specify enforcer:enforce rules from command line >> >> I create issue MENFORCER-142 >>

Re: Specify enforcer:enforce rules from command line

2012-10-24 Thread Anders Hammar
0月24日 22:18 > To: Maven Users List > Subject: Re: Specify enforcer:enforce rules from command line > > I create issue MENFORCER-142 > > I found a partial work-around: running mvn enforcer:enforce fail if there is > no rules set :-/ > > But that not enough for me. > &g

RE: Specify enforcer:enforce rules from command line

2012-10-24 Thread Wang, Simon
ct: Re: Specify enforcer:enforce rules from command line I create issue MENFORCER-142 I found a partial work-around: running mvn enforcer:enforce fail if there is no rules set :-/ But that not enough for me. Regards, Arnaud. 2012/10/23 Anders Hammar : > Don't think it's possible. The en

Re: Specify enforcer:enforce rules from command line

2012-10-24 Thread Arnaud bourree
I create issue MENFORCER-142 I found a partial work-around: running mvn enforcer:enforce fail if there is no rules set :-/ But that not enough for me. Regards, Arnaud. 2012/10/23 Anders Hammar : > Don't think it's possible. The enforcer plugin is meant to be bound to > the build lifecycle so

Re: Specify enforcer:enforce rules from command line

2012-10-23 Thread Anders Hammar
Don't think it's possible. The enforcer plugin is meant to be bound to the build lifecycle so it should be configured in the pom. But I guess an enhancement ticket with a patch could change that? :-) /Anders On Tue, Oct 23, 2012 at 5:50 PM, Arnaud bourree wrote: > Hello, > > How could we specify