Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentgo committed Jun 3, 2024
1 parent 4316d3b commit f9bee7c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 38 deletions.
39 changes: 2 additions & 37 deletions java/algorithm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
<description>(Experimental/Contrib) A collection of algorithms for working with ValueVectors.</description>

<properties>
<checkstyle.config.location>${project.basedir}/../dev/checkstyle/checkstyle-spotless.xml</checkstyle.config.location>
<checkstyle.config.location>dev/checkstyle/checkstyle-spotless.xml</checkstyle.config.location>
<spotless.java.excludes>none</spotless.java.excludes>
</properties>

<dependencies>
Expand Down Expand Up @@ -51,40 +52,4 @@
<artifactId>value-annotations</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>${checkstyle.config.location}</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<configuration>
<formats>
<format>
<!-- configure license for xml files -->
<includes>
<include>pom.xml</include>
</includes>
</format>
</formats>
<java>
<googleJavaFormat>
<version>1.7</version>
<style>GOOGLE</style>
</googleJavaFormat>
<licenseHeader>
<file>${maven.multiModuleProjectDirectory}/java/dev/license/asf-java.license</file>
<delimiter>package</delimiter>
</licenseHeader>
</java>
</configuration>
</plugin>
</plugins>
</build>
</project>
17 changes: 16 additions & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,16 @@
<dep.avro.version>1.11.3</dep.avro.version>
<arrow.vector.classifier></arrow.vector.classifier>
<forkCount>2</forkCount>
<checkstyle.config.location>dev/checkstyle/checkstyle.xml</checkstyle.config.location>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
<error_prone_core.version>2.24.0</error_prone_core.version>
<maven-compiler-plugin.version>3.12.1</maven-compiler-plugin.version>
<mockito.core.version>5.11.0</mockito.core.version>
<mockito.inline.version>5.2.0</mockito.inline.version>
<checker.framework.version>3.43.0</checker.framework.version>
<checkstyle.config.location>dev/checkstyle/checkstyle.xml</checkstyle.config.location>
<!-- replace with dummy value 'none' string to enable java formatting in submodules -->
<spotless.java.excludes>**/*.java</spotless.java.excludes>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -835,6 +837,19 @@
<pom>
<sortPom></sortPom>
</pom>
<java>
<excludes>
<exclude>${spotless.java.excludes}</exclude>
</excludes>
<googleJavaFormat>
<version>1.7</version>
<style>GOOGLE</style>
</googleJavaFormat>
<licenseHeader>
<file>${maven.multiModuleProjectDirectory}/java/dev/license/asf-java.license</file>
<delimiter>package</delimiter>
</licenseHeader>
</java>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit f9bee7c

Please sign in to comment.