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 061669b commit ef4259e
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<description>Apache Gluten(incubating)</description>

<organization>
<name>Apache</name>
<url>http://gluten.apache.org</url>
<name>Apache</name>
<url>http://gluten.apache.org</url>
</organization>

<scm>
Expand Down Expand Up @@ -170,9 +170,7 @@
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-Wconf:cat=deprecation:wv,any:e</arg>
<arg>
-P:wartremover:traverser:io.github.zhztheplayer.scalawarts.InheritFromCaseClass
</arg>
<arg>-P:wartremover:traverser:io.github.zhztheplayer.scalawarts.InheritFromCaseClass</arg>
</args>
</configuration>
<executions>
Expand Down Expand Up @@ -245,20 +243,11 @@
SPARK-33775 Suppress compilation warnings that contain the following contents.
TODO(SPARK-33805): Undo the corresponding deprecated usage suppression rule after fixed.
-->
<arg>
-Wconf:msg=^(?=.*?method|value|type|object|trait|inheritance)(?=.*?deprecated)(?=.*?since
2.13).+$:s
</arg>
<arg>-Wconf:msg=^(?=.*?Widening conversion from)(?=.*?is deprecated because it
loses precision).+$:s
</arg>
<arg>-Wconf:msg=^(?=.*?method|value|type|object|trait|inheritance)(?=.*?deprecated)(?=.*?since 2.13).+$:s</arg>
<arg>-Wconf:msg=^(?=.*?Widening conversion from)(?=.*?is deprecated because it loses precision).+$:s</arg>
<arg>-Wconf:msg=Auto-application to \`\(\)\` is deprecated:s</arg>
<arg>-Wconf:msg=method with a single empty parameter list overrides method without
any parameter list:s
</arg>
<arg>-Wconf:msg=method without a parameter list overrides a method with a single
empty one:s
</arg>
<arg>-Wconf:msg=method with a single empty parameter list overrides method without any parameter list:s</arg>
<arg>-Wconf:msg=method without a parameter list overrides a method with a single empty one:s</arg>
<!--
SPARK-35574 Prevent the recurrence of compilation warnings related to
`procedure syntax is deprecated`
Expand Down Expand Up @@ -551,15 +540,15 @@
<appendAssemblyId>true</appendAssemblyId>
<descriptors>
<descriptor>
src/assembly/source-assembly.xml
src/assembly/source-assembly.xml
</descriptor>
</descriptors>
<finalName>apache-gluten-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>
</profile>
</profiles>
Expand Down Expand Up @@ -979,7 +968,7 @@
<version>${spotless.version}</version>
<configuration>
<java>
<toggleOffOn/>
<toggleOffOn />
<googleJavaFormat>
<version>1.7</version>
</googleJavaFormat>
Expand All @@ -989,15 +978,15 @@
<order>org.apache.gluten,io.substrait.spark,,javax,java,scala,\#</order>
</importOrder>

<removeUnusedImports/>
<removeUnusedImports />
<licenseHeader>
<content>${spotless.license.header}</content>
<delimiter>${spotless.delimiter}</delimiter>
</licenseHeader>
</java>
<scala>
<!-- make it works `// spotless:off ` -->
<toggleOffOn/>
<toggleOffOn />
<scalafmt>
<version>${spotless.scalafmt.version}</version>
<scalaMajorVersion>${scala.binary.version}</scalaMajorVersion>
Expand Down

0 comments on commit ef4259e

Please sign in to comment.