You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Fox (JIRA)" <ji...@codehaus.org> on 2007/11/29 06:59:57 UTC

[jira] Closed: (MENFORCER-27) Multi model project with enforcer plugin bug

     [ http://jira.codehaus.org/browse/MENFORCER-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MENFORCER-27.
------------------------------

         Assignee: Brian Fox
       Resolution: Duplicate
    Fix Version/s: 1.0

This is a duplicate of MENFORCER-11, this should be fixed in 2.0.8 or the next release of MENFORCER. The work around is to use enforcer:enforce instead of enforcer:enforce-once

> Multi model project with enforcer plugin bug
> --------------------------------------------
>
>                 Key: MENFORCER-27
>                 URL: http://jira.codehaus.org/browse/MENFORCER-27
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>            Reporter: Michal Capo
>            Assignee: Brian Fox
>             Fix For: 1.0
>
>         Attachments: test.zip
>
>
> I'm using: java 1.6 and ubuntu 7.10.
> 1. create multimodel project with following structure
> 1a.
>   root
>   |- A
>   |- B
>   |- C
>      |-C1
> 1b. C1 has dependency on A
> 2. run 'mvn eclipse:eclipse' in the root folder of project (everything work perfect)
> 3. add 'maven-enforcer-plugin' to root pom.xml with some configuration
> 4. run 'mvn eclipse:eclipse' again (oops, creating of eclipse project fails)
> 5. workaround before you run 'mvn eclipse:eclipse' you have to run 'mvn install' in the root folder of this project
> I added maven multi project. So you can try it out. 

-- 
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