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

Plugin dependencies for module ignored when building from aggregated project

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0.9
  • Fix Version/s: None
  • Component/s: Dependencies
  • Labels:
    None
  • Complexity:
    Intermediate

Description

I have defined a plugin in the build->plugins section in my pom. The plugin needs a plugin dependency to get a certain resource during execution (it is the maven-assembly-plugin that needs a custom descriptorRef that is located in another jar). When building the project from the module directory, everything works fine. But when I build the project from the parent aggregation from the module, it seems to ignore the plugin dependency of the plugin defined in the module and fails with an error that it cannot find my resource (in this case it does not find my assembly descriptor).

A work around is to also put the plugin dependency in the parent aggregation pom. The execution and configuration part can stay in the module pom. Now the module plugin will get the plugin dependency for this plugin from the parent. However, it also needs to stay in the module in case not building from the aggregation.

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MNG-3284 Cached plugins are used, even when the specifically declared

  • Critical - Crashes, loss of data, severe memory leak.
  • 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:
    Brett Porter
    Reporter:
    Lammert Westerhoff
Vote (0)
Watch (1)

Dates

  • Created:
    22/Oct/08 6:52 AM
    Updated:
    17/Dec/08 8:43 PM
    Resolved:
    17/Dec/08 8:43 PM
  • 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.