Skip to content

Commit

Permalink
KYLO-3119: one scala compiler plugin to rule them all
Browse files Browse the repository at this point in the history
  • Loading branch information
harschware committed Dec 5, 2018
1 parent 3dffd34 commit 709cac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,83 +131,4 @@
</plugins>
</build>

<!--
<build>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<configuration>
<checkMultipleScalaVersions>false</checkMultipleScalaVersions>
<scalaVersion>${scala.version}</scalaVersion>
</configuration>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<excludes>
<exclude>log4j:*</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>org.apache.tomcat.embed:tomcat-embed-core</artifact>
<excludes>
<exclude>javax/servlet/**</exclude>
</excludes>
</filter>
<filter>
<artifact>org.slf4j:*</artifact>
<includes>
<include>org/slf4j/ext/**</include>
</includes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
-->
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@
<plugins>
<!-- Compiles Scala code -->
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<configuration>
<checkMultipleScalaVersions>false</checkMultipleScalaVersions>
<scalaVersion>${scala.version}</scalaVersion>
Expand Down

0 comments on commit 709cac2

Please sign in to comment.