You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tubemq.apache.org by gx...@apache.org on 2020/05/30 14:03:19 UTC

[incubator-tubemq] 03/07: [TUBEMQ-135] Refactoring all pom.xml

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

gxcheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tubemq.git

commit cf201eaf3c7b76517eb2b527739bd8ff8f1f43a6
Author: Guangxu Cheng <gx...@apache.org>
AuthorDate: Sat May 30 21:37:27 2020 +0800

    [TUBEMQ-135] Refactoring all pom.xml
---
 pom.xml                | 12 ++++--------
 tubemq-client/pom.xml  |  9 +++++----
 tubemq-core/pom.xml    |  7 ++++---
 tubemq-example/pom.xml | 10 +++++-----
 tubemq-server/pom.xml  | 10 ++++++----
 5 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6cd47e0..4cc4352 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
     <inceptionYear>2013</inceptionYear>
     <version>0.5.0-incubating-SNAPSHOT</version>
     <packaging>pom</packaging>
-    <name>tubemq</name>
+    <name>Apache TubeMQ</name>
 
     <licenses>
         <license>
@@ -71,10 +71,6 @@
     </modules>
 
     <properties>
-        <tubemq-core-version>0.5.0-incubating-SNAPSHOT</tubemq-core-version>
-        <tubemq-client-version>0.5.0-incubating-SNAPSHOT</tubemq-client-version>
-        <tubemq-server-version>0.5.0-incubating-SNAPSHOT</tubemq-server-version>
-        <tubemq-example-version>0.5.0-incubating-SNAPSHOT</tubemq-example-version>
         <junit.version>4.11</junit.version>
         <mockito.version>2.0.2-beta</mockito.version>
         <powermock.version>1.6.5</powermock.version>
@@ -268,17 +264,17 @@
             <dependency>
                 <groupId>org.apache.tubemq</groupId>
                 <artifactId>tubemq-core</artifactId>
-                <version>${tubemq-core-version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.tubemq</groupId>
                 <artifactId>tubemq-client</artifactId>
-                <version>${tubemq-client-version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.apache.tubemq</groupId>
                 <artifactId>tubemq-example</artifactId>
-                <version>${tubemq-example-version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.slf4j</groupId>
diff --git a/tubemq-client/pom.xml b/tubemq-client/pom.xml
index b61d908..e361311 100644
--- a/tubemq-client/pom.xml
+++ b/tubemq-client/pom.xml
@@ -21,13 +21,14 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <artifactId>tubemq</artifactId>
         <groupId>org.apache.tubemq</groupId>
+        <artifactId>tubemq</artifactId>
         <version>0.5.0-incubating-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>tubemq-client</artifactId>
-    <name>tubemq-client</name>
-    <version>${tubemq-client-version}</version>
+    <name>Apache TubeMQ - Client</name>
+    <description>Client functionality for TubeMQ</description>
 
     <build>
         <plugins>
@@ -36,7 +37,7 @@
                 <artifactId>maven-assembly-plugin</artifactId>
                 <version>2.4</version>
                 <configuration>
-                    <finalName>tubemq-client-${tubemq-client-version}</finalName>
+                    <finalName>apache-tubemq-client-${project.version}</finalName>
                     <descriptors>
                         <descriptor>src/main/assembly/assembly.xml</descriptor>
                     </descriptors>
diff --git a/tubemq-core/pom.xml b/tubemq-core/pom.xml
index 516ce16..f944406 100644
--- a/tubemq-core/pom.xml
+++ b/tubemq-core/pom.xml
@@ -21,13 +21,14 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <artifactId>tubemq</artifactId>
         <groupId>org.apache.tubemq</groupId>
+        <artifactId>tubemq</artifactId>
         <version>0.5.0-incubating-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>tubemq-core</artifactId>
-    <name>tubemq-core</name>
-    <version>${tubemq-core-version}</version>
+    <name>Apache TubeMQ - Core</name>
+    <description>Core functionality for TubeMQ</description>
 
     <build>
         <plugins>
diff --git a/tubemq-example/pom.xml b/tubemq-example/pom.xml
index aebb86f..cb9a33e 100644
--- a/tubemq-example/pom.xml
+++ b/tubemq-example/pom.xml
@@ -21,13 +21,14 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <artifactId>tubemq</artifactId>
         <groupId>org.apache.tubemq</groupId>
+        <artifactId>tubemq</artifactId>
         <version>0.5.0-incubating-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
     </parent>
     <artifactId>tubemq-example</artifactId>
-    <name>tubemq-example</name>
-    <version>${tubemq-example-version}</version>
+    <name>Apache TubeMQ - Example</name>
+    <description>Example for TubeMQ</description>
 
     <build>
         <plugins>
@@ -36,7 +37,7 @@
                 <artifactId>maven-assembly-plugin</artifactId>
                 <version>2.4</version>
                 <configuration>
-                    <finalName>tubemq-example-${tubemq-example-version}</finalName>
+                    <finalName>apache-tubemq-example-${project.version}</finalName>
                     <descriptors>
                         <descriptor>src/main/assembly/assembly.xml</descriptor>
                     </descriptors>
@@ -63,7 +64,6 @@
         <dependency>
             <groupId>org.apache.tubemq</groupId>
             <artifactId>tubemq-client</artifactId>
-            <version>${tubemq-client-version}</version>
         </dependency>
     </dependencies>
 
diff --git a/tubemq-server/pom.xml b/tubemq-server/pom.xml
index ba5070d..f88b43e 100644
--- a/tubemq-server/pom.xml
+++ b/tubemq-server/pom.xml
@@ -21,13 +21,15 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-        <artifactId>tubemq</artifactId>
         <groupId>org.apache.tubemq</groupId>
+        <artifactId>tubemq</artifactId>
         <version>0.5.0-incubating-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
     </parent>
+
     <artifactId>tubemq-server</artifactId>
-    <name>tubemq-server</name>
-    <version>${tubemq-server-version}</version>
+    <name>Apache TubeMQ - Server</name>
+    <description>Server functionality for TubeMQ</description>
 
     <build>
         <plugins>
@@ -48,7 +50,7 @@
                 <artifactId>maven-assembly-plugin</artifactId>
                 <version>2.4</version>
                 <configuration>
-                    <finalName>tubemq-server-${tubemq-server-version}</finalName>
+                    <finalName>apache-tubemq-server-${project.version}</finalName>
                     <descriptors>
                         <descriptor>src/main/assembly/assembly.xml</descriptor>
                     </descriptors>