[jboss-jira] [JBoss JIRA] (DROOLS-786) Reuse enforcer-plugin configuration coming from jboss-parent

Petr Široký (JIRA) issues at jboss.org
Sun May 17 11:47:19 EDT 2015


     [ https://issues.jboss.org/browse/DROOLS-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petr Široký resolved DROOLS-786.
--------------------------------
    Fix Version/s: 6.3.0.Beta1
       Resolution: Done


Enforcer config was removed from {{kie-parent-metadata}} because exactly the same rules are being inherited from parents. Repos requiring JDK 7 to build are now simply overriding property {{jdk.min.version}} instead of copying around the enforcer config.

> Reuse enforcer-plugin configuration coming from jboss-parent
> ------------------------------------------------------------
>
>                 Key: DROOLS-786
>                 URL: https://issues.jboss.org/browse/DROOLS-786
>             Project: Drools
>          Issue Type: Task
>    Affects Versions: 6.2.0.Final
>            Reporter: Petr Široký
>            Assignee: Petr Široký
>             Fix For: 6.3.0.Beta1
>
>
> {{kie-parent-metadata}} contains enforcer rules for min. required Java and Maven versions. The same configuration comes also from the {{org.jboss:jboss-parent:16}} which is the top-level parent. We should be able to re-use the config and change the minimal versions simply by overriding the properties {{maven.min.version}} and {{jdk.min.version}}.
> This should also simplify the configuration when we need to override one of the versions in only some of the repos.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list