Commit 92339982 authored by rhpvorderman's avatar rhpvorderman

Found new scalafmt plugin that uses newer version

parent 99755088
...@@ -81,6 +81,12 @@ ...@@ -81,6 +81,12 @@
<artifactId>scalate-core_2.11</artifactId> <artifactId>scalate-core_2.11</artifactId>
<version>1.7.0</version> <version>1.7.0</version>
</dependency> </dependency>
<!-- https://mvnrepository.com/artifact/com.geirsson/scalafmt-core_2.11 -->
<dependency>
<groupId>com.geirsson</groupId>
<artifactId>scalafmt-core_2.11</artifactId>
<version>0.6.8</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.geirsson/scalafmt-cli_2.11 --> <!-- https://mvnrepository.com/artifact/com.geirsson/scalafmt-cli_2.11 -->
<dependency> <dependency>
<groupId>com.geirsson</groupId> <groupId>com.geirsson</groupId>
...@@ -211,8 +217,8 @@ ...@@ -211,8 +217,8 @@
<artifactId>mvn-scalafmt</artifactId> <artifactId>mvn-scalafmt</artifactId>
<version>0.2.11</version> <version>0.2.11</version>
<configuration> <configuration>
<formatParameters>-i --config ${basedir}/.scalafmt.conf</formatParameters> <formatParameters>-i -config ${basedir}/.scalafmt.conf</formatParameters>
<verifyParameters>--test --config ${basedir}/.scalafmt.conf</verifyParameters> <verifyParameters>-test -config ${basedir}/.scalafmt.conf</verifyParameters>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
...@@ -225,6 +231,23 @@ ...@@ -225,6 +231,23 @@
</executions> </executions>
</plugin> </plugin>
--> -->
<!-- https://github.com/SimonJPegg/mvn_scalafmt -->
<plugin>
<groupId>org.antipathy</groupId>
<artifactId>mvn-scalafmt</artifactId>
<version>0.1</version>
<configuration>
<configLocation>${basedir}/.scalafmt.conf</configLocation>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>pl.project13.maven</groupId> <groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId> <artifactId>git-commit-id-plugin</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment