You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/09/17 09:03:32 UTC

[inlong] branch master updated: [INLONG-5904][Manager] Add manager client packages into the lib directory (#5905)

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

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ce4ee094 [INLONG-5904][Manager] Add manager client packages into the lib directory (#5905)
5ce4ee094 is described below

commit 5ce4ee09462d9c6ebcd21ef698d57a528be8639f
Author: haifxu <xh...@gmail.com>
AuthorDate: Sat Sep 17 17:03:28 2022 +0800

    [INLONG-5904][Manager] Add manager client packages into the lib directory (#5905)
---
 inlong-manager/manager-client-tools/pom.xml | 21 +++++++++++++++++++++
 inlong-manager/manager-client/pom.xml       | 17 +++++++++++++++++
 inlong-manager/manager-web/assembly.xml     |  3 +++
 3 files changed, 41 insertions(+)

diff --git a/inlong-manager/manager-client-tools/pom.xml b/inlong-manager/manager-client-tools/pom.xml
index 84f6711de..35c1beda0 100644
--- a/inlong-manager/manager-client-tools/pom.xml
+++ b/inlong-manager/manager-client-tools/pom.xml
@@ -54,4 +54,25 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-dependencies</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>target/</outputDirectory>
+                            <includeArtifactIds>jcommander</includeArtifactIds>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>
\ No newline at end of file
diff --git a/inlong-manager/manager-client/pom.xml b/inlong-manager/manager-client/pom.xml
index 53061975f..1cd16e590 100644
--- a/inlong-manager/manager-client/pom.xml
+++ b/inlong-manager/manager-client/pom.xml
@@ -96,6 +96,23 @@
                     <showWarnings>true</showWarnings>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-dependencies</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>target/</outputDirectory>
+                            <includeArtifactIds>converter-jackson,retrofit</includeArtifactIds>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
 </project>
\ No newline at end of file
diff --git a/inlong-manager/manager-web/assembly.xml b/inlong-manager/manager-web/assembly.xml
index 33133f4b8..a9ecc5d24 100755
--- a/inlong-manager/manager-web/assembly.xml
+++ b/inlong-manager/manager-web/assembly.xml
@@ -85,6 +85,8 @@
             <outputDirectory>lib</outputDirectory>
             <includes>
                 <include>manager-client*.jar</include>
+                <include>converter-jackson-*</include>
+                <include>retrofit-*</include>
             </includes>
         </fileSet>
         <fileSet>
@@ -92,6 +94,7 @@
             <outputDirectory>lib</outputDirectory>
             <includes>
                 <include>/manager-client-tools*.jar</include>
+                <include>jcommander-*.jar</include>
             </includes>
         </fileSet>