Skip to content

Commit

Permalink
Add jakarta dependency definitions
Browse files Browse the repository at this point in the history
This defines Jakarta dependencies to use by downstream projects:

- rs.ws-api
- xml.bind-api
- servlet-api
- annotation-api
  • Loading branch information
wendigo committed Jun 6, 2023
1 parent 44af91a commit 93a8fb5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Airbase 141

* Add jakarta dependencies

Airbase 140

* Pass `user.timezone` in tests as a system property, not as a JVM argument
Expand Down
42 changes: 39 additions & 3 deletions airbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@
<dep.assertj-core.version>3.24.2</dep.assertj-core.version>
<dep.bval.version>2.0.6</dep.bval.version>
<dep.guava.version>32.0.0-jre</dep.guava.version>
<dep.guice.version>6.0.0</dep.guice.version>
<dep.guice.version>7.0.0</dep.guice.version>
<dep.jackson.version>2.15.0</dep.jackson.version>
<dep.javax-inject.version>1</dep.javax-inject.version>
<dep.jakarta-inject.version>2.0.1</dep.jakarta-inject.version>
<dep.javax-validation.version>2.0.1.Final</dep.javax-validation.version>
<dep.jmh.version>1.36</dep.jmh.version>
<dep.jmxutils.version>1.23</dep.jmxutils.version>
Expand Down Expand Up @@ -1130,23 +1130,45 @@

<!-- Java APIs -->
<dependency>
<!-- keep it for the migration phase, remove once it's completed -->
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>${dep.javax-inject.version}</version>
<version>1</version>
</dependency>

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${dep.javax-validation.version}</version>
</dependency>

<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<version>${dep.jakarta-inject.version}</version>
</dependency>

<!-- servlet -->
<dependency>
<!-- keep it for the migration phase, remove once it's completed -->
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-servlet-api</artifactId>
<version>4.0.6</version>
</dependency>

<dependency>
<groupId>org.eclipse.jetty.toolchain</groupId>
<artifactId>jetty-jakarta-servlet-api</artifactId>
<version>5.0.2</version>
</dependency>

<!-- xml bind -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>4.0.0</version>
</dependency>

<!-- logging -->
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -1202,18 +1224,32 @@

<!-- jaxrs -->
<dependency>
<!-- keep it for the migration phase, remove once it's completed -->
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1.1</version>
</dependency>

<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.1.0</version>
</dependency>

<!-- jsr 250 -->
<dependency>
<!-- keep it for the migration phase, remove once it's completed -->
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>

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

<!-- jackson -->
<dependency>
<groupId>com.fasterxml.jackson</groupId>
Expand Down

0 comments on commit 93a8fb5

Please sign in to comment.