Skip to content

Commit

Permalink
Update to newest airlift and airbase
Browse files Browse the repository at this point in the history
Requires sorted pom and some dependency updates
  • Loading branch information
wendigo committed May 3, 2024
1 parent d7092a7 commit e0ae96e
Show file tree
Hide file tree
Showing 14 changed files with 332 additions and 329 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drift-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</parent>

<artifactId>drift-api</artifactId>
<description>Drift annotations and exceptions for use in Thrift interfaces and types</description>
<packaging>jar</packaging>
<description>Drift annotations and exceptions for use in Thrift interfaces and types</description>

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
Expand Down
52 changes: 26 additions & 26 deletions drift-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,6 @@
</properties>

<dependencies>
<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-api</artifactId>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-codec</artifactId>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-protocol</artifactId>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-transport-spi</artifactId>
</dependency>

<dependency>
<groupId>com.google.errorprone</groupId>
Expand All @@ -46,14 +27,14 @@
</dependency>

<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<optional>true</optional>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<optional>true</optional>
</dependency>

<dependency>
Expand All @@ -75,17 +56,36 @@
<groupId>io.airlift</groupId>
<artifactId>units</artifactId>
</dependency>
<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-api</artifactId>
</dependency>

<dependency>
<groupId>org.weakref</groupId>
<artifactId>jmxutils</artifactId>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-codec</artifactId>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-protocol</artifactId>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-transport-spi</artifactId>
</dependency>

<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>

<dependency>
<groupId>org.weakref</groupId>
<artifactId>jmxutils</artifactId>
</dependency>

<!-- for testing -->
<dependency>
<groupId>io.airlift</groupId>
Expand Down
46 changes: 23 additions & 23 deletions drift-codec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,26 @@
</parent>

<artifactId>drift-codec</artifactId>
<description>Annotation based encoder and decoder for Thrift</description>
<packaging>jar</packaging>
<description>Annotation based encoder and decoder for Thrift</description>

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
<shadeBase>io.airlift.drift.codec.\$internal</shadeBase>
</properties>

<dependencies>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-api</artifactId>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-protocol</artifactId>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<optional>true</optional>
</dependency>

<dependency>
Expand All @@ -34,43 +37,40 @@
</dependency>

<dependency>
<groupId>io.airlift</groupId>
<artifactId>bytecode</artifactId>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<optional>true</optional>
<groupId>io.airlift</groupId>
<artifactId>bytecode</artifactId>
</dependency>

<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<optional>true</optional>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-api</artifactId>
</dependency>

<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<optional>true</optional>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-protocol</artifactId>
</dependency>

<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>

<!-- for testing -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<!-- for testing -->
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -82,10 +82,10 @@
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<phase>package</phase>
<configuration>
<createSourcesJar>true</createSourcesJar>
<shadeSourcesContent>true</shadeSourcesContent>
Expand Down
20 changes: 10 additions & 10 deletions drift-idl-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,33 @@
</parent>

<artifactId>drift-idl-generator</artifactId>
<description>Generate Thrift IDL from Drift annotated classes</description>
<packaging>jar</packaging>
<description>Generate Thrift IDL from Drift annotated classes</description>

<properties>
<air.main.basedir>${project.parent.basedir}</air.main.basedir>
</properties>

<dependencies>
<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-api</artifactId>
</dependency>

<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-codec</artifactId>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<optional>true</optional>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-api</artifactId>
</dependency>

<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<optional>true</optional>
<groupId>io.airlift.drift</groupId>
<artifactId>drift-codec</artifactId>
</dependency>

<!-- for testing -->
Expand Down
Loading

0 comments on commit e0ae96e

Please sign in to comment.