You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2009/10/23 17:29:26 UTC

[jira] Created: (MENFORCER-84) Allow rules to be configured from an external file

Allow rules to be configured from an external file
--------------------------------------------------

                 Key: MENFORCER-84
                 URL: http://jira.codehaus.org/browse/MENFORCER-84
             Project: Maven 2.x Enforcer Plugin
          Issue Type: New Feature
          Components: Plugin
    Affects Versions: 1.0-beta-1
            Reporter: Mark Hobson


It could be handy to share enforcer rules configuration across projects without using POM inheritance.  Perhaps consider accepting an XML file that contains the rules in addition to the current method of configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MENFORCER-84) Allow rules to be configured from an external file

Posted by "Nick Stolwijk (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MENFORCER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195704#action_195704 ] 

Nick Stolwijk commented on MENFORCER-84:
----------------------------------------

This is tricky. If the configuration is not in an artifact, released builds can start failing, because of a rules change.

> Allow rules to be configured from an external file
> --------------------------------------------------
>
>                 Key: MENFORCER-84
>                 URL: http://jira.codehaus.org/browse/MENFORCER-84
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: New Feature
>          Components: Plugin
>    Affects Versions: 1.0-beta-1
>            Reporter: Mark Hobson
>
> It could be handy to share enforcer rules configuration across projects without using POM inheritance.  Perhaps consider accepting an XML file that contains the rules in addition to the current method of configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MENFORCER-84) Allow rules to be configured from an external file

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MENFORCER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MENFORCER-84.
------------------------------

    Resolution: Won't Fix

I think this will be covered by Maven 3.x mixins. Manually injecting values from an xml file is a significant change to the functionality. Currently Plexus handles this transparently and duplicating the logic in the plugin is not something that should be taken lightly.

> Allow rules to be configured from an external file
> --------------------------------------------------
>
>                 Key: MENFORCER-84
>                 URL: http://jira.codehaus.org/browse/MENFORCER-84
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: New Feature
>          Components: Plugin
>    Affects Versions: 1.0-beta-1
>            Reporter: Mark Hobson
>
> It could be handy to share enforcer rules configuration across projects without using POM inheritance.  Perhaps consider accepting an XML file that contains the rules in addition to the current method of configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MENFORCER-84) Allow rules to be configured from an external file

Posted by "Mark Hobson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MENFORCER-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195705#action_195705 ] 

Mark Hobson commented on MENFORCER-84:
--------------------------------------

Sure.  I was envisaging bringing the rules config file in via a version artifact as a plugin dependency.

> Allow rules to be configured from an external file
> --------------------------------------------------
>
>                 Key: MENFORCER-84
>                 URL: http://jira.codehaus.org/browse/MENFORCER-84
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: New Feature
>          Components: Plugin
>    Affects Versions: 1.0-beta-1
>            Reporter: Mark Hobson
>
> It could be handy to share enforcer rules configuration across projects without using POM inheritance.  Perhaps consider accepting an XML file that contains the rules in addition to the current method of configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira