diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d812cf0d..405dfe812 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: temurin - java-version: 17 + java-version: 21 - name: Maven Install run: mvn install -B -V -DskipTests -Dair.check.skip-all - name: Maven Tests diff --git a/drift-api/pom.xml b/drift-api/pom.xml index 287c4ba25..34b304a03 100644 --- a/drift-api/pom.xml +++ b/drift-api/pom.xml @@ -9,8 +9,8 @@ drift-api - Drift annotations and exceptions for use in Thrift interfaces and types jar + Drift annotations and exceptions for use in Thrift interfaces and types ${project.parent.basedir} diff --git a/drift-client/pom.xml b/drift-client/pom.xml index 552de68e6..b9c3e48d7 100644 --- a/drift-client/pom.xml +++ b/drift-client/pom.xml @@ -19,25 +19,6 @@ - - io.airlift.drift - drift-api - - - - io.airlift.drift - drift-codec - - - - io.airlift.drift - drift-protocol - - - - io.airlift.drift - drift-transport-spi - com.google.errorprone @@ -46,14 +27,14 @@ - com.google.inject - guice - true + com.google.guava + guava - com.google.guava - guava + com.google.inject + guice + true @@ -75,10 +56,24 @@ io.airlift units + + io.airlift.drift + drift-api + - org.weakref - jmxutils + io.airlift.drift + drift-codec + + + + io.airlift.drift + drift-protocol + + + + io.airlift.drift + drift-transport-spi @@ -86,6 +81,11 @@ jakarta.validation-api + + org.weakref + jmxutils + + io.airlift diff --git a/drift-codec/pom.xml b/drift-codec/pom.xml index a1fc9ae35..a12367bce 100644 --- a/drift-codec/pom.xml +++ b/drift-codec/pom.xml @@ -9,8 +9,8 @@ drift-codec - Annotation based encoder and decoder for Thrift jar + Annotation based encoder and decoder for Thrift ${project.parent.basedir} @@ -18,14 +18,17 @@ + - io.airlift.drift - drift-api + com.github.spotbugs + spotbugs-annotations + true - io.airlift.drift - drift-protocol + com.google.errorprone + error_prone_annotations + true @@ -34,26 +37,23 @@ - io.airlift - bytecode + com.google.inject + guice + true - com.github.spotbugs - spotbugs-annotations - true + io.airlift + bytecode - - com.google.errorprone - error_prone_annotations - true + io.airlift.drift + drift-api - com.google.inject - guice - true + io.airlift.drift + drift-protocol @@ -61,16 +61,16 @@ jakarta.annotation-api - - org.testng - testng + org.assertj + assertj-core test + - org.assertj - assertj-core + org.testng + testng test @@ -82,10 +82,10 @@ maven-shade-plugin - package shade + package true true diff --git a/drift-idl-generator/pom.xml b/drift-idl-generator/pom.xml index 1bd113875..d2a339a0d 100644 --- a/drift-idl-generator/pom.xml +++ b/drift-idl-generator/pom.xml @@ -9,33 +9,33 @@ drift-idl-generator - Generate Thrift IDL from Drift annotated classes jar + Generate Thrift IDL from Drift annotated classes ${project.parent.basedir} - - io.airlift.drift - drift-api - - io.airlift.drift - drift-codec + com.github.spotbugs + spotbugs-annotations + true com.google.guava guava + + io.airlift.drift + drift-api + - com.github.spotbugs - spotbugs-annotations - true + io.airlift.drift + drift-codec diff --git a/drift-integration-tests/pom.xml b/drift-integration-tests/pom.xml index 7d5c36b8c..79cd2d016 100644 --- a/drift-integration-tests/pom.xml +++ b/drift-integration-tests/pom.xml @@ -19,99 +19,106 @@ + - io.airlift.drift - drift-api + com.github.spotbugs + spotbugs-annotations test - io.airlift.drift - drift-client + com.google.errorprone + error_prone_annotations test + true - io.airlift.drift - drift-codec + com.google.guava + guava test - io.airlift.drift - drift-server + com.google.inject + guice test - io.airlift.drift - drift-transport-apache + io.airlift + bootstrap test - io.airlift.drift - drift-transport-netty + io.airlift + configuration test - io.airlift.drift - drift-transport-spi + io.airlift + jmx test - com.github.spotbugs - spotbugs-annotations + io.airlift + security test - com.google.guava - guava + io.airlift + stats test - com.google.inject - guice + io.airlift + units + test + + + io.airlift.drift + drift-api test - io.airlift - bootstrap + io.airlift.drift + drift-client test - io.airlift - configuration + io.airlift.drift + drift-codec test - io.airlift - jmx + io.airlift.drift + drift-server test - io.airlift - security + io.airlift.drift + drift-transport-apache test - io.airlift - stats + io.airlift.drift + drift-transport-netty test - io.airlift - units + io.airlift.drift + drift-transport-spi test @@ -128,9 +135,9 @@ - org.weakref + org.assertj + assertj-core test - jmxutils @@ -140,15 +147,8 @@ - org.assertj - assertj-core - test - - - - com.google.errorprone - error_prone_annotations - true + org.weakref + jmxutils test diff --git a/drift-javadoc/pom.xml b/drift-javadoc/pom.xml index c115dd536..f77fe365e 100644 --- a/drift-javadoc/pom.xml +++ b/drift-javadoc/pom.xml @@ -9,35 +9,41 @@ drift-javadoc - Annotation processor to store the Javadoc of Drift classes jar + Annotation processor to store the Javadoc of Drift classes ${project.parent.basedir} + + + com.squareup + javapoet + io.airlift.drift drift-api - com.squareup - javapoet + com.google.guava + guava + test - io.takari.maven.plugins - takari-plugin-testing + takari-plugin-integration-testing + pom test + io.takari.maven.plugins - takari-plugin-integration-testing - pom + takari-plugin-testing test @@ -52,12 +58,6 @@ assertj-core test - - - com.google.guava - guava - test - @@ -78,10 +78,10 @@ testProperties - process-test-resources testProperties + process-test-resources diff --git a/drift-maven-plugin/pom.xml b/drift-maven-plugin/pom.xml index 13900b3c9..a4b7349ba 100644 --- a/drift-maven-plugin/pom.xml +++ b/drift-maven-plugin/pom.xml @@ -9,8 +9,8 @@ drift-maven-plugin - Maven plugin for Drift maven-plugin + Maven plugin for Drift ${project.parent.basedir} @@ -22,16 +22,16 @@ drift-idl-generator - org.apache.maven - maven-core + maven-artifact provided + org.apache.maven - maven-artifact + maven-core provided @@ -54,17 +54,17 @@ runtime - io.takari.maven.plugins - takari-plugin-testing + takari-plugin-integration-testing + pom test + io.takari.maven.plugins - takari-plugin-integration-testing - pom + takari-plugin-testing test @@ -76,6 +76,16 @@ + + + + src/main/resources + + + true + src/main/resources-filtered + + io.takari.maven.plugins @@ -84,10 +94,10 @@ testProperties - process-test-resources testProperties + process-test-resources @@ -106,15 +116,5 @@ - - - - src/main/resources - - - src/main/resources-filtered - true - - diff --git a/drift-protocol/pom.xml b/drift-protocol/pom.xml index d651cd58e..6f4929dc6 100644 --- a/drift-protocol/pom.xml +++ b/drift-protocol/pom.xml @@ -9,8 +9,8 @@ drift-protocol - Core classes for Drift jar + Core classes for Drift ${project.parent.basedir} diff --git a/drift-server/pom.xml b/drift-server/pom.xml index eda54698d..d15b9386c 100644 --- a/drift-server/pom.xml +++ b/drift-server/pom.xml @@ -19,19 +19,10 @@ - - io.airlift.drift - drift-api - - - - io.airlift.drift - drift-codec - - io.airlift.drift - drift-transport-spi + com.google.guava + guava @@ -40,11 +31,6 @@ true - - com.google.guava - guava - - io.airlift configuration @@ -59,6 +45,20 @@ io.airlift units + + io.airlift.drift + drift-api + + + + io.airlift.drift + drift-codec + + + + io.airlift.drift + drift-transport-spi + jakarta.annotation diff --git a/drift-transport-apache/pom.xml b/drift-transport-apache/pom.xml index 9bc3dcb96..6d3fd6673 100644 --- a/drift-transport-apache/pom.xml +++ b/drift-transport-apache/pom.xml @@ -19,25 +19,6 @@ - - io.airlift.drift - drift-api - - - - io.airlift.drift - drift-codec - - - - io.airlift.drift - drift-protocol - - - - io.airlift.drift - drift-transport-spi - com.google.guava @@ -52,12 +33,12 @@ io.airlift - configuration + concurrent io.airlift - concurrent + configuration @@ -67,18 +48,26 @@ io.airlift - jmx - test + units + + + io.airlift.drift + drift-api - io.airlift - units + io.airlift.drift + drift-codec - org.apache.thrift - libthrift + io.airlift.drift + drift-protocol + + + + io.airlift.drift + drift-transport-spi @@ -92,6 +81,17 @@ true + + org.apache.thrift + libthrift + + + + io.airlift + jmx + test + + io.airlift diff --git a/drift-transport-netty/pom.xml b/drift-transport-netty/pom.xml index 39ee20fbb..1d53e2650 100644 --- a/drift-transport-netty/pom.xml +++ b/drift-transport-netty/pom.xml @@ -19,24 +19,11 @@ - - io.airlift.drift - drift-api - - - - io.airlift.drift - drift-codec - - io.airlift.drift - drift-protocol - - - - io.airlift.drift - drift-transport-spi + com.github.spotbugs + spotbugs-annotations + true @@ -46,14 +33,14 @@ - com.google.inject - guice - true + com.google.guava + guava - com.google.guava - guava + com.google.inject + guice + true @@ -80,16 +67,29 @@ io.airlift units + + io.airlift.drift + drift-api + - io.netty - netty-all + io.airlift.drift + drift-codec - jakarta.validation - jakarta.validation-api - true + io.airlift.drift + drift-protocol + + + + io.airlift.drift + drift-transport-spi + + + + io.netty + netty-all @@ -98,8 +98,8 @@ - com.github.spotbugs - spotbugs-annotations + jakarta.validation + jakarta.validation-api true @@ -117,9 +117,15 @@ - org.testng - testng + org.apache.thrift + libthrift test + + + org.apache.httpcomponents + httpclient + + @@ -129,15 +135,9 @@ - org.apache.thrift - libthrift + org.testng + testng test - - - org.apache.httpcomponents - httpclient - - diff --git a/drift-transport-spi/pom.xml b/drift-transport-spi/pom.xml index c23508128..a7edb25f8 100644 --- a/drift-transport-spi/pom.xml +++ b/drift-transport-spi/pom.xml @@ -19,20 +19,6 @@ - - io.airlift.drift - drift-api - - - - io.airlift.drift - drift-codec - - - - io.airlift.drift - drift-protocol - com.google.guava @@ -50,6 +36,20 @@ units true + + io.airlift.drift + drift-api + + + + io.airlift.drift + drift-codec + + + + io.airlift.drift + drift-protocol + jakarta.validation diff --git a/pom.xml b/pom.xml index 26320ddca..dd87a9bec 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.airlift airbase - 143 + 156 io.airlift.drift @@ -17,32 +17,32 @@ Annotation based Thrift implementation https://github.com/airlift/drift - - scm:git:git://github.com/airlift/drift.git - https://github.com/airlift/drift - HEAD - + 2012 + + + + drift-api - drift-protocol - drift-codec drift-client + drift-codec drift-idl-generator drift-integration-tests drift-javadoc drift-maven-plugin + drift-protocol drift-server drift-transport-apache drift-transport-netty drift-transport-spi - 2012 - - - - + + scm:git:git://github.com/airlift/drift.git + HEAD + https://github.com/airlift/drift + license/apache-copyright-header.txt @@ -50,180 +50,173 @@ true true - 17 + 21 8 - 234 + 246 3.0.2 3.9.6 + + true - - io.airlift.drift - drift-api - ${project.version} - - io.airlift.drift - drift-codec - ${project.version} + com.squareup + javapoet + 1.9.0 - io.airlift.drift - drift-client - ${project.version} + io.airlift + bootstrap + ${dep.airlift.version} - io.airlift.drift - drift-idl-generator - ${project.version} + io.airlift + bytecode + 1.1 - io.airlift.drift - drift-protocol - ${project.version} + io.airlift + concurrent + ${dep.airlift.version} - io.airlift.drift - drift-server - ${project.version} + io.airlift + configuration + ${dep.airlift.version} - io.airlift.drift - drift-transport-apache - ${project.version} + io.airlift + jmx + ${dep.airlift.version} - io.airlift.drift - drift-transport-netty - ${project.version} + io.airlift + log + ${dep.airlift.version} - io.airlift.drift - drift-transport-spi - ${project.version} + io.airlift + security + ${dep.airlift.version} io.airlift - bootstrap + stats ${dep.airlift.version} io.airlift - configuration + testing ${dep.airlift.version} io.airlift - concurrent - ${dep.airlift.version} + units + 1.10 - io.airlift - jmx - ${dep.airlift.version} + io.airlift.drift + drift-api + ${project.version} - io.airlift - log - ${dep.airlift.version} + io.airlift.drift + drift-client + ${project.version} - io.airlift - bytecode - 1.1 + io.airlift.drift + drift-codec + ${project.version} - io.airlift - security - ${dep.airlift.version} + io.airlift.drift + drift-idl-generator + ${project.version} - io.airlift - stats - ${dep.airlift.version} + io.airlift.drift + drift-protocol + ${project.version} - io.airlift - testing - ${dep.airlift.version} + io.airlift.drift + drift-server + ${project.version} - io.airlift - units - 1.3 + io.airlift.drift + drift-transport-apache + ${project.version} - io.netty - netty-all - 4.1.29.Final + io.airlift.drift + drift-transport-netty + ${project.version} - org.apache.thrift - libthrift - 0.12.0 - - - org.apache.httpcomponents - httpcore - - - org.apache.httpcomponents - httpclient - - + io.airlift.drift + drift-transport-spi + ${project.version} - com.squareup - javapoet - 1.9.0 + io.netty + netty-all + 4.1.29.Final io.takari.maven.plugins - takari-plugin-testing + takari-plugin-integration-testing ${dep.takari-plugin.version} + pom io.takari.maven.plugins - takari-plugin-integration-testing + takari-plugin-testing ${dep.takari-plugin.version} - pom + + + + junit + junit + 4.13.2 org.apache.maven - maven-core + maven-artifact ${dep.maven.version} org.apache.maven - maven-artifact + maven-core ${dep.maven.version} @@ -240,9 +233,19 @@ - junit - junit - 4.13.2 + org.apache.thrift + libthrift + 0.12.0 + + + org.apache.httpcomponents + httpclient + + + org.apache.httpcomponents + httpcore + +