This is an automated email from the ASF dual-hosted git repository. mblow pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/asterixdb.git
commit a5a42dcb2d90dba036cd5b63229bcc2bf0284577 Author: Michael Blow <[email protected]> AuthorDate: Thu Nov 2 11:36:56 2023 -0400 [ASTERIXDB-3279] Update impsort, checkstyle plugins ...to enable Java 17 language features - use maven.compiler.release, which impsort uses to determine language version Change-Id: I1d34a621b27697a24a1ed7dcea450009ebbf7725 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17899 Integration-Tests: Jenkins <[email protected]> Reviewed-by: Michael Blow <[email protected]> Reviewed-by: Hussain Towaileb <[email protected]> Tested-by: Michael Blow <[email protected]> --- asterixdb/pom.xml | 16 +++++++++++----- hyracks-fullstack/pom.xml | 16 +++++++++++----- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml index 90634944a3..7a5fd8af94 100644 --- a/asterixdb/pom.xml +++ b/asterixdb/pom.xml @@ -46,7 +46,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <file.encoding>UTF-8</file.encoding> <jvm.extraargs /> - <release.jdk.version>11</release.jdk.version> + <maven.compiler.release>11</maven.compiler.release> <javac.xlint.value>all</javac.xlint.value> <source-format.goal>format</source-format.goal> <source-format.skip>false</source-format.skip> @@ -225,7 +225,6 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <release>${release.jdk.version}</release> <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument> </configuration> </plugin> @@ -251,7 +250,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>3.0.0</version> + <version>3.3.1</version> <executions> <execution> <id>verify-style</id> @@ -336,7 +335,7 @@ <version>[3.3.9,)</version> </requireMavenVersion> <requireJavaVersion> - <version>[${release.jdk.version},)</version> + <version>[${maven.compiler.release},)</version> </requireJavaVersion> </rules> </configuration> @@ -657,7 +656,14 @@ <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> - <version>1.2.0</version> + <version>1.9.0</version> + <dependencies> + <dependency> + <groupId>com.github.javaparser</groupId> + <artifactId>javaparser-core</artifactId> + <version>3.25.5</version> + </dependency> + </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml index 4c803b8f27..af5ef28963 100644 --- a/hyracks-fullstack/pom.xml +++ b/hyracks-fullstack/pom.xml @@ -49,7 +49,7 @@ <root.dir>${basedir}</root.dir> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <file.encoding>UTF-8</file.encoding> - <release.jdk.version>11</release.jdk.version> + <maven.compiler.release>11</maven.compiler.release> <javac.xlint.value>all</javac.xlint.value> <jvm.extraargs /> <sonar.jacoco.reportPath>${env.PWD}/target/jacoco-merged.exec</sonar.jacoco.reportPath> @@ -570,7 +570,6 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> - <release>${release.jdk.version}</release> <compilerArgument>-Xlint:${javac.xlint.value}</compilerArgument> </configuration> </plugin> @@ -596,7 +595,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>3.0.0</version> + <version>3.3.1</version> <executions> <execution> <id>verify-style</id> @@ -680,7 +679,7 @@ <version>[3.3.9,)</version> </requireMavenVersion> <requireJavaVersion> - <version>[${release.jdk.version},)</version> + <version>[${maven.compiler.release},)</version> </requireJavaVersion> </rules> </configuration> @@ -765,7 +764,14 @@ <plugin> <groupId>net.revelc.code</groupId> <artifactId>impsort-maven-plugin</artifactId> - <version>1.2.0</version> + <version>1.9.0</version> + <dependencies> + <dependency> + <groupId>com.github.javaparser</groupId> + <artifactId>javaparser-core</artifactId> + <version>3.25.5</version> + </dependency> + </dependencies> </plugin> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <plugin>
