[
http://jira.codehaus.org/browse/MENFORCER-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Fox closed MENFORCER-14.
------------------------------
Resolution: Duplicate
This is a duplicate of MENFORCER-11. The fix is easy, change enforce-once to
enforce.
Also, I noticed in one of your poms that you use ${project.version} This can
cause subtle problems and you are better off defining a property in a parent
and using that (because the property won't change until you change it by hand)
The issue is here:MNG-2486
> Enforcer Plugin Messes Up Dependencies
> --------------------------------------
>
> Key: MENFORCER-14
> URL: http://jira.codehaus.org/browse/MENFORCER-14
> Project: Maven 2.x Enforcer Plugin
> Issue Type: Bug
> Reporter: James Carman
> Assignee: Brian Fox
> Attachments: toplevel.zip
>
>
> When using the enforcer plugin, it somehow messes up the dependencies in a
> reactor-based build. The attached zip file exhibits the problem. Our project
> structure is a bit weird. We have one top-level project which contains a
> bunch of modules. One of the modules is a pom-based "tempalte" project which
> sets up all of our build settings (src/target for the compiler, turns on the
> aspectj compiler, etc.). All of the other modules extend the "template"
> project and they themselves have multiple sub-project.
--
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