Skip to content
mdr edited this page May 7, 2012 · 1 revision

Scalariform can be invoked via a Maven plugin, originally contributed by Adam Crain.

Configuration

<plugin>
  <groupId>org.scalariform</groupId>
  <artifactId>scalariform-maven-plugin</artifactId>
  <version>0.1.2</version>
  <executions>
    <execution>
      <phase>process-sources</phase>
      <goals>
        <goal>format</goal>
      </goals>
      <configuration>
        <rewriteArrowSymbols>true</rewriteArrowSymbols>
      </configuration>
    </execution>
  </executions>
</plugin>

Scalariform will be run automatically on, for example, compile.

Source

https://github.com/mdr/scalariform-maven-plugin

Clone this wiki locally