With multiple modules using the same plugin later invocations of the plugin are
not initialized
-----------------------------------------------------------------------------------------------
Key: MNG-3950
URL: http://jira.codehaus.org/browse/MNG-3950
Project: Maven 2
Issue Type: Bug
Environment: All
Reporter: Martin West
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.
--
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