Commit 52b55ac3 authored by rhpvorderman's avatar rhpvorderman

Inserted new mvn-scalafmt plugin in pom.xml

parent 02292fea
...@@ -198,6 +198,7 @@ ...@@ -198,6 +198,7 @@
<showDeprecation>true</showDeprecation> <showDeprecation>true</showDeprecation>
</configuration> </configuration>
</plugin> </plugin>
<!--
<plugin> <plugin>
<groupId>org.scalariform</groupId> <groupId>org.scalariform</groupId>
<artifactId>scalariform-maven-plugin</artifactId> <artifactId>scalariform-maven-plugin</artifactId>
...@@ -235,6 +236,25 @@ ...@@ -235,6 +236,25 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
-->
<plugin>
<groupId>com.devsmobile</groupId>
<artifactId>mvn-scalafmt</artifactId>
<version>0.2.11</version>
<configuration>
<formatParameters>--maxColumn 100 -i -f src</formatParameters>
<verifyParameters>--test --maxColumn 100 -f src</verifyParameters>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>format</goal>
<goal>verify</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