-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Fabien Crespel opened MRRESOURCES-71 and commented
To make resource bundles more useful in the context of the project in which they are processed, property placeholders in file and directory names should be replaced by their value. For example, the resource bundle could contain a directory named \_\_artifactId\_\_, which would be replaced by the actual artifactId of the project using this bundle as part of the process-remote-resources goal. My personal use case is for making a Tomcat CATALINA_BASE resource bundle, which I could optionally use in J2EE-based projects for easier "standalone" packaging.
The attached patch adds this simple new feature to ProcessRemoteResourcesMojo, and is based on the work done in the archetype plugin. I have successfully tested it on some of my projects, but haven't made a proper testcase yet (waiting for feedback first).
Please let me know what you think of this and whether it could be included in the current trunk. :)
Affects: 1.6.0
Attachments:
- ProcessRemoteResourcesMojo.java.patch (3.58 kB)
Issue Links:
- MRRESOURCES-102 Filtering of non-.vm files
("is duplicated by")