Maven pom来自GitHub的zip配置文件和来自工件的jars [英] Maven pom to zip config files from GitHub and jars from artifactory
本文介绍了Maven pom来自GitHub的zip配置文件和来自工件的jars的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要求:
- 需要将配置文件和jar从工件推送到UCD进行部署.
- 配置文件存在于GitHub repostiory中.
- Jars(构建不需要,但在UCD中启动应用程序是必需的).
要从github复制配置文件并从工件中下载/复制jar并将所有内容打包为zip文件以推送到UCD,要遵循的一般过程是什么?
What would be the general process to follow, in order to copy config files from github and download/copy jars from artifactory and package everything in a zip file to push to UCD?
推荐答案
您可以考虑:
- maven下载插件,以从URL(例如GitHub存储库或Artifactory)获取所需文件.
- maven程序集插件以建立存档
- 在
尽管有urbancode插件maven-ibmucd 可能很方便(未经测试)
- the maven download plugin to get the files you need from an URL (like a GitHub repository or an Artifactory one)
- the maven assembly plugin to build your archive
- configuring on UCD side the source of your Nexus package to deploy, although there is a urbancode plugin maven-ibmucd which could be handy (not tested)
这篇关于Maven pom来自GitHub的zip配置文件和来自工件的jars的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文