jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Enforcer Plugin
  • MENFORCER-27

Multi model project with enforcer plugin bug

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: None
  • Fix Version/s: 1.0-alpha-4
  • Component/s: None
  • Labels:
    None

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    test.zip
    28/Nov/07 2:26 PM
    10 kB
    Michal Capo
    1. Java Source File
      test/test2/src/main/java/sk/eea/App.java 0.2 kB
    2. Java Source File
      test/test2/src/test/.../sk/eea/AppTest.java 0.6 kB
    3. XML File
      test/test2/pom.xml 0.5 kB
    4. XML File
      test/pom.xml 2 kB
    5. Java Source File
      test/test1/src/main/java/sk/eea/App.java 0.2 kB
    6. Java Source File
      test/test1/src/test/.../sk/eea/AppTest.java 0.6 kB
    7. XML File
      test/test1/pom.xml 0.5 kB
    8. Java Source File
      test/test3/test31/src/.../sk/eea/App.java 0.2 kB
    9. Java Source File
      test/test3/test31/.../sk/eea/AppTest.java 0.6 kB
    10. XML File
      test/test3/test31/pom.xml 0.6 kB
    11. XML File
      test/test3/pom.xml 0.6 kB
    Download Zip
    Show
    Zip Archive
    test.zip
    28/Nov/07 2:26 PM
    10 kB
    Michal Capo

Issue Links

is duplicated by

Improvement - An improvement or enhancement to an existing feature or task. MENFORCER-11 enforce-once causes MNG-2277 to be expressed in reactor builds. Find a way to work around it.

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian Fox added a comment - 28/Nov/07 11:58 PM

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

Show
Brian Fox added a comment - 28/Nov/07 11:58 PM 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

People

  • Assignee:
    Brian Fox
    Reporter:
    Michal Capo
Vote (0)
Watch (1)

Dates

  • Created:
    28/Nov/07 2:26 PM
    Updated:
    04/Sep/08 12:11 PM
    Resolved:
    28/Nov/07 11:58 PM

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
1m
Time Spent - 1 minute
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.