Maven Resources Plugin

From NovaOrdis Knowledge Base
Revision as of 08:17, 28 January 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search



In process of being migrated from https://home.feodorov.com:9443/wiki/Wiki.jsp?page=MavenResourcesPlugin


External

Internal

Variable Substitution in Resource Files

Set "filtering" to true as follows, and all variables will be substituted on copy:

<project>
  ...
  <build>
    ...
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
      ...
    </resources>
    ...
  </build>
  ...
</project>