rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vongosl...@apache.org
Subject [rocketmq-exporter] branch master updated: Optimize dependencies and support JDK 11+
Date Wed, 30 Dec 2020 08:53:18 GMT
This is an automated email from the ASF dual-hosted git repository.

vongosling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-exporter.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e0c5e0  Optimize dependencies and support JDK 11+
7e0c5e0 is described below

commit 7e0c5e030bbada9c5b1d175c084195600438116f
Author: von gosling <vongosling@apache.org>
AuthorDate: Wed Dec 30 16:53:11 2020 +0800

    Optimize dependencies and support JDK 11+
---
 pom.xml | 65 +++++++++++++++--------------------------------------------------
 1 file changed, 15 insertions(+), 50 deletions(-)

diff --git a/pom.xml b/pom.xml
index 338970e..7404eab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,29 +13,23 @@
     <version>0.0.2-SNAPSHOT</version>
     <name>rocketmq-exporter</name>
 
-    <description>Demo project for Spring Boot</description>
+    <description>Apache RocketMQ Prometheus Exporter</description>
 
     <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <java.version>1.7</java.version>
-        <guava.version>16.0.1</guava.version>
-        <commons-digester.version>2.1</commons-digester.version>
-        <commons-lang.version>2.6</commons-lang.version>
-        <commons-io.version>2.4</commons-io.version>
-        <commons-cli.version>1.2</commons-cli.version>
         <rocketmq.version>4.8.0</rocketmq.version>
-        <surefire.version>2.19.1</surefire.version>
-        <aspectj.version>1.8.9</aspectj.version>
-        <main.basedir>${basedir}/../..</main.basedir>
         <docker.image.prefix>docker.io</docker.image.prefix>
     </properties>
 
     <dependencies>
         <dependency>
+            <groupId>com.google.guava</groupId>
+            <artifactId>guava</artifactId>
+            <version>19.0</version>
+        </dependency>
+        <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
-
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
@@ -47,31 +41,6 @@
             <version>${rocketmq.version}</version>
         </dependency>
         <dependency>
-            <groupId>commons-collections</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2.2</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.rocketmq</groupId>
-            <artifactId>rocketmq-namesrv</artifactId>
-            <version>${rocketmq.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.rocketmq</groupId>
-            <artifactId>rocketmq-broker</artifactId>
-            <version>${rocketmq.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.aspectj</groupId>
-            <artifactId>aspectjrt</artifactId>
-            <version>${aspectj.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.aspectj</groupId>
-            <artifactId>aspectjweaver</artifactId>
-            <version>${aspectj.version}</version>
-        </dependency>
-        <dependency>
             <groupId>org.jooq</groupId>
             <artifactId>joor</artifactId>
             <version>0.9.6</version>
@@ -81,11 +50,6 @@
             <artifactId>simpleclient</artifactId>
             <version>0.6.0</version>
         </dependency>
-        <dependency>
-            <groupId>io.prometheus</groupId>
-            <artifactId>simpleclient_common</artifactId>
-            <version>0.6.0</version>
-        </dependency>
     </dependencies>
 
     <build>
@@ -114,10 +78,19 @@
                     </execution>
                 </executions>
             </plugin>
+            <!-- Use dockerfile-maven instead, https://github.com/spotify/dockerfile-maven
-->
             <plugin>
                 <groupId>com.spotify</groupId>
                 <artifactId>docker-maven-plugin</artifactId>
                 <version>0.4.11</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>javax.activation</groupId>
+                        <artifactId>javax.activation-api</artifactId>
+                        <version>1.2.0</version>
+                        <scope>compile</scope>
+                    </dependency>
+                </dependencies>
                 <configuration>
                     <imageName>${docker.image.prefix}/${project.artifactId}</imageName>
                     <dockerDirectory>src/main/docker</dockerDirectory>
@@ -130,14 +103,6 @@
                     </resources>
                 </configuration>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>8</source>
-                    <target>8</target>
-                </configuration>
-            </plugin>
         </plugins>
 
     </build>


Mime
View raw message