Simple Maven Plugin for linting and formatting message properties in your project.
Currently only works with Java 8.
add the repository to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
then add the plugin to your pom.xml
<plugin>
<groupId>com.github.greenhalos</groupId>
<artifactId>message-property-linter</artifactId>
<version>${linter.version}</version>
<configuration>
<!--Optional: directory, where the files are located. Default: src/main/resources-->
<directory>src/main/resources</directory>
<!--Optional: suffix with which the files are ending. Default: .properties-->
<suffix>.properties</suffix>
<!--Optional: prefix with which every file starts. Default: messages-->
<prefix>messages</prefix>
<!--Optional: When true, the formatter will not change the files. No impact on the linter. Default: false-->
<dryRun>true</dryRun>
</configuration>
<executions>
<execution>
<goals>
<goal>formatter</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
- Change version in
pom.xml
- push to master
- create tag with
v#.#
- push tag
- Change version in
pom.xml
to match nextSNAPSHOT
-version