Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
Description
I've added a dependency on an Ant Task in project/build/plugins/plugin[artifactId='maven-antrun-plugin']/dependencies/ and run that anttask using the antrun plugin.
When run from the project dir itself it runs fine.
When running from the root of the project tree (reactor build, project one level below root),
antrun bails out because the taskdef can't be found (not on classpath).
It looks like the dependency isn't resolved, or not added to the plugins' classrealm.
Attachments
Attachments
Issue Links
- is depended upon by
-
MPLUGIN-37 parent with multi-type mojo children does not build ant mojo
- Closed
- is duplicated by
-
MANTRUN-52 plugin dependencies seem to get lost when using the plugin multiple times
- Closed
-
MANTRUN-51 Problems with multiple antrun declarations in multiproject
- Closed
-
MANTRUN-61 Classloader issue with ant optional tasks in a hierarchical structure
- Closed
-
MANTRUN-63 ant classpath resolves incorrectly if project is invoked as part of multi-project builds
- Closed
-
MNG-1949 project-level plugin dependencies not handled correctly in multimodule builds
- Closed
-
MNG-2946 Module-by-Profile seems to break plugin dependencies
- Closed
-
MNG-3950 With multiple modules using the same plugin later invocations of the plugin are not initialized
- Closed
-
MNG-4178 Plugin dependency not always included to classpath
- Closed
-
MNG-5290 Plugin extensions (dependencies) not resolved in reactor build
- Closed
- is related to
-
MASSEMBLY-468 Sharing assembly descriptor across sub modules does not work if parent defines assembly and submodule want to add own assembly
- Closed
-
MNG-1949 project-level plugin dependencies not handled correctly in multimodule builds
- Closed
- relates to
-
MASSEMBLY-233 Custom ContainerDescriptorHandler integration tests don't work in Maven 2.0.7
- Closed
-
MNG-1911 Building plugins with extensions in a reactor fails
- Closed
-
MNG-3284 Cached plugins are used, even when the specifically declared
- Closed
-
MANTRUN-106 Maven dependency bug can lead to very confusing failures
- Closed