From bf2fc65a5941554c6d76d766ee78e0cac060a1d6 Mon Sep 17 00:00:00 2001
From: tmp <tmp@huawei.com>
Date: Mon, 13 Sep 2021 17:28:27 +0800
Subject: [PATCH] add dependent package to lib

---
 backend/pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/backend/pom.xml b/backend/pom.xml
index 996f4e8..6b77fdd 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -47,6 +47,30 @@
           <fail>true</fail>
         </configuration>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy</id>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+	    <phase>package</phase>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache.sshd</groupId>
+                  <artifactId>sshd-core</artifactId>
+                  <version>${sshd-core.version}</version>
+                  <outputDirectory>${project.build.directory}/lib</outputDirectory>
+	        </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>
-- 
2.27.0

