Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.0-alpha-6
-
None
-
None
Description
We want to use Maven Extensions so we can easily look up configuration files. This is our project configuration:
build-project (contains only list of modules):
<modules>
<module>parent-project</module>
<module>subproject1</module>
<!-- more modules -->
</modules>
parent-project (contains only configurations, has no declared <parent> project):
<build>
<extensions>
<extension>
<!-- artifact with config files -->
</extension>
</extensions>
<plugins>
<plugin>
<!-- plugin that searches config files on classpath (with Plexus ResourceManager) -->
</plugin>
</plugin>
</build>
subproject1 (has parent-project as <parent>, executes plugin)
With maven-2.2.1 the config files are correctly loaded and available on the classpath. With maven-3.0-alpha-6, the config files are not on the classpath.
If we move the extension up into the "build-project", the config files are available again, but we would like to keep configurations out of the build-project.
Can you please fix the extension classpath loading?
Attachments
Attachments
Issue Links
- duplicates
-
MNG-4580 Plugin dependencies for module ignored when building from aggregator project using direct plugin invocation
- Closed