You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by du...@apache.org on 2022/05/26 02:02:41 UTC

[rocketmq] branch develop updated: Make it compile with Java9+ (#4373)

This is an automated email from the ASF dual-hosted git repository.

duhengforever pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new af011b1e2 Make it compile with Java9+ (#4373)
af011b1e2 is described below

commit af011b1e2d4395a5619ba9ffd27769d4d5ecdd19
Author: Aaron Ai <ya...@alibaba-inc.com>
AuthorDate: Thu May 26 10:02:32 2022 +0800

    Make it compile with Java9+ (#4373)
---
 pom.xml      | 6 ++++++
 test/pom.xml | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index f53b3d8d2..7bb7bdcfa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,6 +120,7 @@
         <opentracing.version>0.33.0</opentracing.version>
         <jaeger.version>1.6.0</jaeger.version>
         <dleger.version>0.2.4</dleger.version>
+        <annotations-api.version>6.0.53</annotations-api.version>
         <extra-enforcer-rules.version>1.0-beta-4</extra-enforcer-rules.version>
 
         <!-- Test dependencies -->
@@ -666,6 +667,11 @@
                 <artifactId>dledger</artifactId>
                 <version>${dleger.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.tomcat</groupId>
+                <artifactId>annotations-api</artifactId>
+                <version>${annotations-api.version}</version>
+            </dependency>
             <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
diff --git a/test/pom.xml b/test/pom.xml
index e75ed195d..e28ea2414 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -40,6 +40,10 @@
             <groupId>${project.groupId}</groupId>
             <artifactId>rocketmq-namesrv</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.apache.tomcat</groupId>
+            <artifactId>annotations-api</artifactId>
+        </dependency>
         <dependency>
             <groupId>com.google.truth</groupId>
             <artifactId>truth</artifactId>