Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
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 I found a partial work-around: running mvn enforcer:enforce fail if there is no rules set :-/ But that not enough

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Anders Hammar
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 and...@hammar.net: Don't think it's possible

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
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 arnaud.bour...@gmail.com wrote: Hello, How could we specify enforcer:enforce rules from

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Anders Hammar
complain no rules set. Really don't know what happened. Regards 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 I

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
mvn enforcer:enforce, still complain no rules set. Really don't know what happened. Regards 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

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Anders Hammar
no rules set. Really don't know what happened. Regards 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 I found

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
set. Really don't know what happened. Regards 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 I found a partial

Re: Specify enforcer:enforce rules from command line

2012-10-24 Thread Arnaud bourree
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 arnaud.bour...@gmail.com wrote: Hello, How could we specify enforcer:enforce rules from command line? I want

RE: Specify enforcer:enforce rules from command line

2012-10-24 Thread Wang, Simon
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 and...@hammar.net: Don't think it's possible. The enforcer plugin

Re: Specify enforcer:enforce rules from command line

2012-10-24 Thread Anders Hammar
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 and...@hammar.net: Don't think it's possible

Specify enforcer:enforce rules from command line

2012-10-23 Thread Arnaud bourree
Hello, How could we specify enforcer:enforce rules from command line? I want to run command line like following without updating any pom.xml: mvn enforcer:enforce -Drules=com.acme.UseAcmeParentPom The goal of this enforcer:enforce rule is to check that Acme's developers write pom.xml which

Re: Specify enforcer:enforce rules from command line

2012-10-23 Thread Anders Hammar
, How could we specify enforcer:enforce rules from command line? I want to run command line like following without updating any pom.xml: mvn enforcer:enforce -Drules=com.acme.UseAcmeParentPom The goal of this enforcer:enforce rule is to check that Acme's developers write pom.xml which inherit