diff --git a/java/adapter/avro/pom.xml b/java/adapter/avro/pom.xml index 645e8c4ff2e60..9ddc150253874 100644 --- a/java/adapter/avro/pom.xml +++ b/java/adapter/avro/pom.xml @@ -25,27 +25,36 @@ http://maven.apache.org + + org.apache.arrow arrow-memory-core + + org.apache.arrow arrow-memory-netty runtime + + org.apache.arrow arrow-vector + org.immutables value + org.apache.avro avro ${dep.avro.version} + diff --git a/java/adapter/jdbc/pom.xml b/java/adapter/jdbc/pom.xml index 33360c64b13b6..5f72729bb76e7 100644 --- a/java/adapter/jdbc/pom.xml +++ b/java/adapter/jdbc/pom.xml @@ -26,17 +26,20 @@ + org.apache.arrow arrow-memory-core + org.apache.arrow arrow-memory-netty runtime + org.apache.arrow arrow-vector @@ -48,6 +51,7 @@ value + com.h2database h2 @@ -90,6 +94,9 @@ jdk11+ [11,] + + !m2e.version + diff --git a/java/adapter/orc/pom.xml b/java/adapter/orc/pom.xml index ec6f73a3e9e40..f6aadca6de4d3 100644 --- a/java/adapter/orc/pom.xml +++ b/java/adapter/orc/pom.xml @@ -134,22 +134,5 @@ - - - org.apache.maven.plugins - maven-dependency-plugin - - - analyze - - - - org.apache.arrow:arrow-format - - - - - - diff --git a/java/bom/pom.xml b/java/bom/pom.xml index 0af50c638055e..12b9950ad80fc 100644 --- a/java/bom/pom.xml +++ b/java/bom/pom.xml @@ -15,7 +15,7 @@ org.apache apache - 31 + 18 org.apache.arrow @@ -27,19 +27,6 @@ - - 1.8 - 1.8 - 3.11.0 - 3.2.5 - 0.16.1 - 3.7.1 - 3.12.1 - 3.6.1 - 3.2.0 - 3.2.2 - 3.6.3 - 3.5.0 @@ -151,9 +138,11 @@ ${project.version} + + @@ -167,10 +156,12 @@ org.apache.maven.plugins maven-project-info-reports-plugin + 3.5.0 org.apache.maven.plugins maven-site-plugin + 3.12.1 com.diffplug.spotless @@ -197,10 +188,12 @@ org.apache.maven.plugins maven-project-info-reports-plugin + 3.5.0 org.apache.maven.plugins maven-site-plugin + 3.12.1 diff --git a/java/c/pom.xml b/java/c/pom.xml index 43a62a8303bfe..1095e99bbdd3f 100644 --- a/java/c/pom.xml +++ b/java/c/pom.xml @@ -83,4 +83,5 @@ + diff --git a/java/dataset/pom.xml b/java/dataset/pom.xml index 2121119af398e..dd0c76523d0f8 100644 --- a/java/dataset/pom.xml +++ b/java/dataset/pom.xml @@ -201,7 +201,7 @@ org.apache.maven.plugins maven-surefire-plugin - --add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED + --add-reads=org.apache.arrow.dataset=com.fasterxml.jackson.databind --add-opens=java.base/java.nio=org.apache.arrow.dataset,org.apache.arrow.memory.core,ALL-UNNAMED diff --git a/java/flight/flight-core/pom.xml b/java/flight/flight-core/pom.xml index 4c1002ae75f04..9832850108c50 100644 --- a/java/flight/flight-core/pom.xml +++ b/java/flight/flight-core/pom.xml @@ -15,6 +15,7 @@ org.apache.arrow arrow-flight 17.0.0-SNAPSHOT + ../pom.xml flight-core @@ -150,6 +151,13 @@ org.apache.maven.plugins maven-shade-plugin + + 3.2.4 shade-main @@ -236,6 +244,7 @@ org.apache.maven.plugins maven-dependency-plugin + 3.3.0 analyze @@ -255,6 +264,7 @@ org.codehaus.mojo build-helper-maven-plugin + 1.9.1 add-generated-sources-to-classpath @@ -272,6 +282,7 @@ maven-assembly-plugin + 3.7.1 jar-with-dependencies @@ -288,6 +299,13 @@ + + + kr.motd.maven + os-maven-plugin + 1.7.1 + + @@ -295,14 +313,18 @@ jdk11+ [11,] + + !m2e.version + org.apache.maven.plugins maven-surefire-plugin - - --add-opens=org.apache.arrow.flight.core/org.apache.arrow.flight.perf.impl=protobuf.java --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED + + --add-opens=org.apache.arrow.flight.core/org.apache.arrow.flight.perf.impl=protobuf.java --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED + false ${project.basedir}/../../../testing/data @@ -312,4 +334,5 @@ + diff --git a/java/flight/flight-integration-tests/pom.xml b/java/flight/flight-integration-tests/pom.xml index cd2c28ba8959f..74016d81e91e5 100644 --- a/java/flight/flight-integration-tests/pom.xml +++ b/java/flight/flight-integration-tests/pom.xml @@ -15,6 +15,7 @@ org.apache.arrow arrow-flight 17.0.0-SNAPSHOT + ../pom.xml flight-integration-tests @@ -62,6 +63,7 @@ maven-assembly-plugin + 3.7.1 jar-with-dependencies diff --git a/java/flight/flight-sql-jdbc-core/pom.xml b/java/flight/flight-sql-jdbc-core/pom.xml index ef3f2469b73dd..fbab69df3b305 100644 --- a/java/flight/flight-sql-jdbc-core/pom.xml +++ b/java/flight/flight-sql-jdbc-core/pom.xml @@ -15,6 +15,7 @@ org.apache.arrow arrow-flight 17.0.0-SNAPSHOT + ../pom.xml flight-sql-jdbc-core @@ -46,17 +47,20 @@ + org.apache.arrow arrow-memory-core + org.apache.arrow arrow-memory-netty runtime + org.apache.arrow arrow-vector @@ -132,6 +136,11 @@ + + + src/main/resources + + maven-surefire-plugin @@ -145,6 +154,7 @@ org.codehaus.mojo properties-maven-plugin + 1.2.1 write-project-properties-to-file diff --git a/java/flight/flight-sql-jdbc-driver/pom.xml b/java/flight/flight-sql-jdbc-driver/pom.xml index 4456270e7b347..b3afbe1defdba 100644 --- a/java/flight/flight-sql-jdbc-driver/pom.xml +++ b/java/flight/flight-sql-jdbc-driver/pom.xml @@ -15,6 +15,7 @@ org.apache.arrow arrow-flight 17.0.0-SNAPSHOT + ../pom.xml flight-sql-jdbc-driver diff --git a/java/flight/flight-sql/pom.xml b/java/flight/flight-sql/pom.xml index f5926d6e68485..d5366ae988d57 100644 --- a/java/flight/flight-sql/pom.xml +++ b/java/flight/flight-sql/pom.xml @@ -15,6 +15,7 @@ org.apache.arrow arrow-flight 17.0.0-SNAPSHOT + ../pom.xml flight-sql @@ -118,6 +119,9 @@ jdk11+ [11,] + + !m2e.version + @@ -132,4 +136,5 @@ + diff --git a/java/format/pom.xml b/java/format/pom.xml index 4483047e20960..e9eded79de660 100644 --- a/java/format/pom.xml +++ b/java/format/pom.xml @@ -31,6 +31,7 @@ + @@ -41,5 +42,6 @@ + diff --git a/java/gandiva/pom.xml b/java/gandiva/pom.xml index c5703c62dfe23..00acb89f1d7cf 100644 --- a/java/gandiva/pom.xml +++ b/java/gandiva/pom.xml @@ -22,12 +22,13 @@ jar Arrow Gandiva Java wrappers around the native Gandiva SQL expression compiler. - + 1.8 + 1.8 + 3.25.1 true ../../../cpp/release-build - org.apache.arrow @@ -50,6 +51,7 @@ com.google.protobuf protobuf-java + ${protobuf.version} com.google.guava @@ -60,7 +62,6 @@ slf4j-api - @@ -87,6 +88,14 @@ + + + + kr.motd.maven + os-maven-plugin + 1.7.1 + + @@ -96,6 +105,7 @@ org.apache.maven.plugins maven-source-plugin + 2.2.1 attach-sources @@ -108,6 +118,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.6.3 attach-javadocs @@ -120,6 +131,7 @@ org.apache.maven.plugins maven-gpg-plugin + 3.2.2 sign-artifacts @@ -134,4 +146,5 @@ + diff --git a/java/maven/module-info-compiler-maven-plugin/pom.xml b/java/maven/module-info-compiler-maven-plugin/pom.xml index 5909b6b3484fc..6589020d6ecb5 100644 --- a/java/maven/module-info-compiler-maven-plugin/pom.xml +++ b/java/maven/module-info-compiler-maven-plugin/pom.xml @@ -64,14 +64,39 @@ org.apache.maven.plugin-tools maven-plugin-annotations - ${maven.plugin.tools.version} + 3.11.0 provided + + + maven-clean-plugin + 3.3.2 + + + maven-plugin-plugin + 3.12.0 + + + maven-jar-plugin + 3.3.0 + + + maven-install-plugin + 3.1.1 + + + maven-deploy-plugin + 3.1.1 + + + maven-invoker-plugin + 3.1.0 + com.gradle gradle-enterprise-maven-extension @@ -93,6 +118,7 @@ org.apache.maven.plugins maven-plugin-plugin + 3.12.0 true diff --git a/java/maven/pom.xml b/java/maven/pom.xml index 558532012a1ae..f290ded2e2913 100644 --- a/java/maven/pom.xml +++ b/java/maven/pom.xml @@ -15,13 +15,6 @@ Note: Do not inherit from the Arrow parent POM as plugins can be referenced during the parent POM, introducing circular dependencies. --> - - org.apache - apache - 31 - - - org.apache.arrow.maven.plugins arrow-maven-plugins 17.0.0-SNAPSHOT @@ -34,38 +27,25 @@ true - - 1.8 - 1.8 - 3.12.0 - 3.2.5 - 0.16.1 - 3.7.1 - 3.12.1 - 3.6.1 - 3.2.0 - 3.2.2 - 3.6.3 - 3.5.0 - com.diffplug.spotless - spotless-maven-plugin - 2.30.0 + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.5.0 - pl.project13.maven - git-commit-id-plugin - 4.0.5 + org.apache.maven.plugins + maven-site-plugin + 3.12.1 - org.cyclonedx - cyclonedx-maven-plugin - 2.8.0 + com.diffplug.spotless + spotless-maven-plugin + 2.30.0 @@ -139,6 +119,11 @@ **/logback.xml + true + + true + true + org.apache.arrow ${username} @@ -158,17 +143,43 @@ + + org.apache.maven.plugins + maven-resources-plugin + + UTF-8 + + org.apache.maven.plugins maven-compiler-plugin + UTF-8 + 1.8 + 1.8 2048m + false true maven-enforcer-plugin + + validate_java_and_maven_version + + enforce + + verify + false + + + + [3.3.0,4) + + + + avoid_bad_dependencies @@ -194,6 +205,8 @@ pl.project13.maven git-commit-id-plugin + 4.0.5 + dd.MM.yyyy '@' HH:mm:ss z false @@ -235,6 +248,7 @@ org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 ../dev/checkstyle/checkstyle.xml ../dev/checkstyle/checkstyle.license @@ -274,6 +288,7 @@ org.cyclonedx cyclonedx-maven-plugin + 2.7.11 @@ -338,10 +353,12 @@ org.apache.maven.plugins maven-project-info-reports-plugin + 3.5.0 org.apache.maven.plugins maven-site-plugin + 3.12.1 diff --git a/java/memory/memory-core/pom.xml b/java/memory/memory-core/pom.xml index 8e39ae43d116f..ca5bc603bd4dc 100644 --- a/java/memory/memory-core/pom.xml +++ b/java/memory/memory-core/pom.xml @@ -61,6 +61,9 @@ jdk11+ [11,] + + !m2e.version + @@ -89,6 +92,7 @@ org.apache.maven.plugins maven-surefire-plugin + opens-tests @@ -97,9 +101,12 @@ test - - - + + -Dfoo=bar + + + **/TestArrowBuf.java + **/TestOpens.java @@ -122,6 +129,9 @@ org.apache.maven.plugins maven-compiler-plugin + 8 + 8 + UTF-8 -Xmaxerrs @@ -140,6 +150,12 @@ ${checker.framework.version} + + + org.immutables.value.internal.$processor$.$Processor + + org.checkerframework.checker.nullness.NullnessChecker + diff --git a/java/performance/pom.xml b/java/performance/pom.xml index e9023ece080a3..765b6a58cd8f0 100644 --- a/java/performance/pom.xml +++ b/java/performance/pom.xml @@ -22,7 +22,9 @@ JMH Performance benchmarks for other Arrow libraries. + UTF-8 1.37 + 1.8 benchmarks true .* @@ -81,6 +83,42 @@ + + + + maven-clean-plugin + 3.3.2 + + + maven-deploy-plugin + 3.1.1 + + + maven-install-plugin + 3.1.1 + + + maven-jar-plugin + 3.3.0 + + + maven-javadoc-plugin + 3.6.3 + + + maven-resources-plugin + 3.3.1 + + + maven-source-plugin + 2.2.1 + + + maven-surefire-plugin + 3.2.5 + + + org.apache.maven.plugins @@ -128,6 +166,7 @@ org.codehaus.mojo exec-maven-plugin + 3.2.0 ${skip.perf.benchmarks} test @@ -164,4 +203,5 @@ + diff --git a/java/pom.xml b/java/pom.xml index f3639858d7818..16564ae828b0f 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -15,7 +15,7 @@ org.apache apache - 31 + 18 org.apache.arrow @@ -85,7 +85,7 @@ 33.0.0-jre 4.1.108.Final 1.63.0 - 3.25.1 + 3.23.1 2.17.0 3.4.0 23.5.26 @@ -95,28 +95,10 @@ true 9+181-r4173-1 2.24.0 + 3.12.1 5.11.0 5.2.0 3.42.0 - none - -Xdoclint:none - - 1.8 - 1.8 - 3.11.0 - 3.2.5 - 0.16.1 - 3.7.1 - 3.12.1 - 3.6.1 - 3.2.0 - - 3.2.2 - 3.6.3 - 3.5.0 @@ -286,16 +268,40 @@ 8.3.0 test + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + 3.1.2 + + + org.apache.rat + apache-rat-plugin + 0.16.1 + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + org.apache.maven.plugins maven-compiler-plugin + ${maven-compiler-plugin.version} - true **/module-info.java **/module-info.java false @@ -308,8 +314,18 @@ + + maven-enforcer-plugin + 3.4.1 + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.1 + maven-surefire-plugin + 3.2.5 true true @@ -324,9 +340,22 @@ 1048576 + + + org.junit.jupiter + junit-jupiter-engine + ${dep.junit.jupiter.version} + + + org.apache.maven.surefire + surefire-junit-platform + 3.2.5 + + maven-failsafe-plugin + 3.2.5 ${project.build.directory} @@ -415,22 +444,6 @@ - - - org.apache.drill.tools - drill-fmpp-maven-plugin - [1.0,) - - generate - - - - - false - true - - - @@ -438,7 +451,9 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.6.3 + 8 **/module-info.java @@ -449,6 +464,16 @@ module-info-compiler-maven-plugin ${project.version} + + org.apache.maven.plugins + maven-project-info-reports-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-site-plugin + 3.12.1 + com.gradle gradle-enterprise-maven-extension @@ -496,36 +521,6 @@ spotless-maven-plugin 2.30.0 - - org.codehaus.mojo - build-helper-maven-plugin - 1.9.1 - - - org.codehaus.mojo - properties-maven-plugin - 1.2.1 - - - org.codehaus.mojo - exec-maven-plugin - 3.2.0 - - - pl.project13.maven - git-commit-id-plugin - 4.0.5 - - - org.cyclonedx - cyclonedx-maven-plugin - 2.8.0 - - - org.apache.drill.tools - drill-fmpp-maven-plugin - 1.21.1 - @@ -599,6 +594,11 @@ **/logback.xml + true + + true + true + org.apache.arrow ${username} @@ -618,17 +618,42 @@ + + org.apache.maven.plugins + maven-resources-plugin + + UTF-8 + + org.apache.maven.plugins maven-compiler-plugin + 1.8 + 1.8 2048m + false true maven-enforcer-plugin + + validate_java_and_maven_version + + enforce + + verify + false + + + + [3.3.0,4) + + + + avoid_bad_dependencies @@ -654,6 +679,8 @@ pl.project13.maven git-commit-id-plugin + 4.0.5 + dd.MM.yyyy '@' HH:mm:ss z false @@ -695,6 +722,7 @@ org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 **/module-info.java dev/checkstyle/checkstyle.xml @@ -758,6 +786,7 @@ org.cyclonedx cyclonedx-maven-plugin + 2.7.11 @@ -788,10 +817,12 @@ org.apache.maven.plugins maven-project-info-reports-plugin + 3.5.0 org.apache.maven.plugins maven-site-plugin + 3.12.1 com.diffplug.spotless @@ -826,6 +857,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.6.3 **/module-info.java @@ -853,15 +885,28 @@ org.apache.maven.plugins maven-project-info-reports-plugin + 3.5.0 org.apache.maven.plugins maven-site-plugin + 3.12.1 + + java-nodoclint + + [1.8,) + + + none + -Xdoclint:none + + + arrow-c-data @@ -909,6 +954,7 @@ org.apache.maven.plugins maven-compiler-plugin + true -XDcompilePolicy=simple -Xplugin:ErrorProne @@ -941,6 +987,9 @@ org.apache.maven.plugins maven-compiler-plugin + 8 + 8 + UTF-8 -XDcompilePolicy=simple -Xplugin:ErrorProne -XepExcludedPaths:.*/(target/generated-sources)/.* @@ -964,16 +1013,6 @@ - - - - - jdk11+ - - [11,] - - - org.apache.maven.plugins maven-surefire-plugin @@ -981,13 +1020,6 @@ --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED - - org.apache.maven.plugins - maven-failsafe-plugin - - --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED - - @@ -1028,6 +1060,7 @@ org.jacoco jacoco-maven-plugin + 0.8.11 @@ -1073,6 +1106,7 @@ org.codehaus.mojo exec-maven-plugin + 3.2.0 cdata-cmake @@ -1129,6 +1163,7 @@ org.codehaus.mojo exec-maven-plugin + 3.2.0 jni-cpp-cmake @@ -1235,6 +1270,7 @@ org.codehaus.mojo exec-maven-plugin + 3.2.0 jni-cpp-cmake @@ -1324,4 +1360,5 @@ + diff --git a/java/tools/pom.xml b/java/tools/pom.xml index 58b790c9f027f..b1507cd301f31 100644 --- a/java/tools/pom.xml +++ b/java/tools/pom.xml @@ -54,11 +54,6 @@ 1.3.14 test - com.fasterxml.jackson.core jackson-core @@ -90,6 +85,7 @@ maven-assembly-plugin + 3.7.1 jar-with-dependencies @@ -105,21 +101,7 @@ - - org.apache.maven.plugins - maven-dependency-plugin - - - analyze - verify - - - com.fasterxml.jackson.core:* - - - - - + diff --git a/java/vector/pom.xml b/java/vector/pom.xml index ca932ae6f26f9..07af93a499907 100644 --- a/java/vector/pom.xml +++ b/java/vector/pom.xml @@ -76,7 +76,64 @@ + + + + true + + + false + + apache + apache + https://repo.maven.apache.org/maven2/ + + + + + + + codegen + + ${basedir}/src/main/codegen + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.drill.tools + drill-fmpp-maven-plugin + [1.0,) + + generate + + + + + false + true + + + + + + + + + + org.apache.maven.plugins @@ -106,10 +163,33 @@ + + maven-resources-plugin + + + + copy-fmpp-resources + + copy-resources + + initialize + + ${project.build.directory}/codegen + + + src/main/codegen + false + + + + + + org.apache.drill.tools drill-fmpp-maven-plugin + 1.21.1 generate-fmpp @@ -120,7 +200,7 @@ src/main/codegen/config.fmpp ${project.build.directory}/generated-sources - src/main/codegen/templates + ${project.build.directory}/codegen/templates @@ -128,6 +208,13 @@ org.apache.maven.plugins maven-shade-plugin + + 3.2.4 @@ -156,6 +243,7 @@ + @@ -188,4 +276,5 @@ +