Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Aug 22, 2024
1 parent 34b8200 commit f130c4f
Showing 1 changed file with 47 additions and 53 deletions.
100 changes: 47 additions & 53 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,59 +141,6 @@
<scala.version>2.12.15</scala.version>
<scala.binary.version>2.12</scala.binary.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala.compiler.version}</version>
<configuration>
<compilerPlugins>
<compilerPlugin>
<groupId>org.wartremover</groupId>
<artifactId>wartremover_${scala.binary.version}</artifactId>
<version>3.1.6</version>
</compilerPlugin>
</compilerPlugins>
<dependencies>
<dependency>
<groupId>io.github.zhztheplayer.scalawarts</groupId>
<artifactId>scalawarts_${scala.binary.version}</artifactId>
<version>0.1.2</version>
</dependency>
</dependencies>
<recompileMode>${scala.recompile.mode}</recompileMode>
<args>
<arg>-Wconf:msg=While parsing annotations in:silent,any:e</arg>
<arg>-Ywarn-unused:imports</arg>
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-Wconf:cat=deprecation:wv,any:e</arg>
<arg>-P:wartremover:traverser:io.github.zhztheplayer.scalawarts.InheritFromCaseClass</arg>
</args>
</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-first</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>scala-2.13</id>
Expand Down Expand Up @@ -872,6 +819,53 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>${scala.compiler.version}</version>
<configuration>
<compilerPlugins>
<compilerPlugin>
<groupId>org.wartremover</groupId>
<artifactId>wartremover_${scala.binary.version}</artifactId>
<version>3.1.6</version>
</compilerPlugin>
</compilerPlugins>
<dependencies>
<dependency>
<groupId>io.github.zhztheplayer.scalawarts</groupId>
<artifactId>scalawarts_${scala.binary.version}</artifactId>
<version>0.1.2</version>
</dependency>
</dependencies>
<recompileMode>${scala.recompile.mode}</recompileMode>
<args>
<arg>-Wconf:msg=While parsing annotations in:silent,any:e</arg>
<arg>-Ywarn-unused:imports</arg>
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-Wconf:cat=deprecation:wv,any:e</arg>
<arg>-P:wartremover:traverser:io.github.zhztheplayer.scalawarts.InheritFromCaseClass</arg>
</args>
</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-first</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down

0 comments on commit f130c4f

Please sign in to comment.