Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-06 Thread org . apache . maven . user
On 2017-03-06T10:58:30 -0600 Curtis Rueden wrote: > Hi, > > For what it's worth, I agree that the requirePropertyDiverges rule is > difficult to use (and maybe buggy?). After playing with it some months ago, > I concluded that it was not going to work for me. That's why I

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-06 Thread Curtis Rueden
Hi, For what it's worth, I agree that the requirePropertyDiverges rule is difficult to use (and maybe buggy?). After playing with it some months ago, I concluded that it was not going to work for me. That's why I ended up writing my own rule. If you want to ensure that the description is set in

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-05 Thread org . apache . maven . user
Hello. On 2017-03-05T01:18:34 +0100 Hervé BOUTEMY wrote: > first, you'll have to talk about rules, not only the plugin: there are many > rules, some implemented by the plugin and some implemented by MojoHaus extra- > enforcer-rules Right, yes. It's the

Re: Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-04 Thread Hervé BOUTEMY
first, you'll have to talk about rules, not only the plugin: there are many rules, some implemented by the plugin and some implemented by MojoHaus extra- enforcer-rules then: MojoHaus requirePropertyDiverges [1] requires that the property value is different, not that it is not empty IIUC what

Enforcer requirePropertyDiverges not propagated to descendants?

2017-03-04 Thread org . apache . maven . user
Hello. I'm trying to use the Enforcer plugin to ensure that projects set a ${project.description} that is different to their parent. I'm using an organization-wide POM, and the rule is specified here: https://github.com/io7m/primogenitor/blob/develop/pom.xml#L540 I have an example