1 Star 0 Fork 16

huanghaitao/ovirt-engine

forked from src-openEuler/ovirt-engine 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-add-dependent-package-to-lib.patch 2.49 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2021-09-15 09:53 . fix aarch64 setup error
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hht8/ovirt-engine.git
git@gitee.com:hht8/ovirt-engine.git
hht8
ovirt-engine
ovirt-engine
master

搜索帮助