/text-file-writer-maven-plugin

Maven plugin to write custom text contents into files

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Text File Writer - Maven Plugin

Maven Central Build Status

Maven plugin to write dynamic text content into files (including maven properties)

  • This README.md file itself was generated with text-file-writer-maven-plugin plugin. Refer to this project's pom.xml to know how it is done.
  • Alternatively, you can also refer to the below sample:
<plugin>
<groupId>me.shib.plugin</groupId>
<artifactId>text-file-writer-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>install</phase>
<goals><goal>text-file-writer</goal></goals>
<configuration>
<charset>UTF-8</charset>
<files>
<file>
<destination>README.md</destination>
<overwrite>true</overwrite>
<lines>
<line># Text File Writer - Maven Plugin</line>
<line>Maven plugin to write dynamic text content into files (including maven properties)</line>
</lines>
</file>
</files>
</configuration>
</execution>
<executions>
</configuration>
</plugin>