A maven plugin for replacing content in files, filenames and directories.
[!NOTE] This is a fork of floverfelt/find-and-replace-maven-plugin with some additional functionality.
A short usage guide is available in the plugin docs.
Example: Replace underscores with hyphen
<plugin>
<groupId>software.xdev</groupId>
<artifactId>find-and-replace-maven-plugin</artifactId>
<executions>
<execution>
<id>replace-underscore-with-hyphen</id>
<phase>process-sources</phase>
<goals>
<goal>file-contents</goal>
</goals>
<configuration>
<baseDir>testing/</baseDir>
<fileMask>test.txt</fileMask>
<findRegex>_</findRegex>
<replaceValue>-</replaceValue>
</configuration>
</execution>
</executions>
</plugin>
Installation guide for the latest release
If you need support as soon as possible and you can't wait for any pull request, feel free to use our support.
See the contributing guide for detailed instructions on how to get started with our project.
View the license of the current project or the summary including all dependencies