84 lines
2.5 KiB
Diff
84 lines
2.5 KiB
Diff
From c26b3207515396163d30dfcfff4c1b2d51e3b7d0 Mon Sep 17 00:00:00 2001
|
|
From: tmp <tmp@huawei.com>
|
|
Date: Tue, 14 Sep 2021 19:50:06 +0800
|
|
Subject: [PATCH] add dependent package to lib
|
|
|
|
---
|
|
backend/manager/modules/utils/pom.xml | 24 ++++++++++++++++++++++++
|
|
backend/pom.xml | 24 ++++++++++++++++++++++++
|
|
2 files changed, 48 insertions(+)
|
|
|
|
diff --git a/backend/manager/modules/utils/pom.xml b/backend/manager/modules/utils/pom.xml
|
|
index dc6f6ca..163d31d 100644
|
|
--- a/backend/manager/modules/utils/pom.xml
|
|
+++ b/backend/manager/modules/utils/pom.xml
|
|
@@ -167,6 +167,30 @@
|
|
</execution>
|
|
</executions>
|
|
</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.ebaysf.web</groupId>
|
|
+ <artifactId>cors-filter</artifactId>
|
|
+ <version>1.0.1</version>
|
|
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
+ </artifactItem>
|
|
+ </artifactItems>
|
|
+ </configuration>
|
|
+ </execution>
|
|
+ </executions>
|
|
+ </plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
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
|
|
|