timp / filter

Maven filtering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filter a properties file.

Prove that the values are available to Maven at build time.

Yet another dependency: https://github.com/shyiko/servers-maven-extension

To get tests to pass add the following to your ~/.m2/settings.xml

<profiles>
  <profile>
    <id>filter</id>
    <activation><activeByDefault>true</activeByDefault></activation>
    <properties>
      <filter.key1>firstKeyValue</filter.key1>
    </properties>
  </profile>
</profiles>

About

Maven filtering


Languages

Language:Java 100.0%