/android-stringreplacer

Android string.xml value replacement maven plugin

Primary LanguageJava

Maven plugin to replace values in a strings.xml file with ones defined within maven properties. Useful when you want to keep a valid strings.xml file (that is, no replacement placeholders such as ${replace.me}) to use in an IDE, but also want to have some values replaced by maven.

Usage (strings.xml): ... http://the.default.url ...

Usage (pom.xml): ... <server.url>http://the.replaced.url</server.url> ... com.dajodi.android android-stringreplacer-maven-plugin 1.0-SNAPSHOT values/strings.xml ${project.build.directory}/filtered-res initialize replace ...