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 & 3
  • MNG-3950

With multiple modules using the same plugin later invocations of the plugin are not initialized

  • 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: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    All
  • Complexity:
    Intermediate

Description

In Module A I have an invocation of the antrun plugin. In module B I have another invocation of antrun but this plugin has an additional dependency on ant-contrib. If I run mvn in the root of the project I get a taskdef not found error from ant because the additional dependency is not on the classpath for the invocation in module B.

Embedded error: The following error occurred while executing this line:
/data/workspaces/workspace/MoleTracker/uberjar/build.xml:20: Could not create task or type of type: foreach.

If I run mvn -f moduleB/pom.xml it runs fine.

workaround is to configure all plugin configurations the same but this seems a tad ham fisted.

I assume this is a general fault for all plugins.

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MNG-1323 Plugin extensions (dependencies) not resolved in reactor build

  • 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
There are no comments yet on this issue.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Martin West
Vote (0)
Watch (0)

Dates

  • Created:
    02/Jan/09 5:26 AM
    Updated:
    02/Jan/09 5:31 AM
    Resolved:
    02/Jan/09 5:31 AM
  • 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.