Maven Resources Plugin

From NovaOrdis Knowledge Base
Revision as of 08:14, 28 January 2016 by Ovidiu (talk | contribs) (Created page with "<br> <br> <center>''In process of being migrated from https://home.feodorov.com:9443/wiki/Wiki.jsp?page=MavenResourcesPlugin''</center> <br> =Internal= * Maven#Plugins|Mave...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



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


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>