Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:All
-
Complexity:Intermediate
-
Number of attachments :
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
-
MNG-1323
Plugin extensions (dependencies) not resolved in reactor build
-