Search code examples
mavenmaven-pluginm2eclipseplaceholder

Maven placeholder processor plugin


There is a task to process placeholders in ejb xml descriptors time during a compilation. For example {app.name}-Bean must become App-Bean if app.name=App. In ideal way this should be supported by m2e life cycle plugin systems, to support deploy from the Eclipse.


Solution

  • You may want to check if you can use the filtering property provided by <resources> section of the pom for this.

    You can define <filters> which can get applied.