Maven pom 压缩来自 GitHub 的配置文件和来自 artifactory 的 jars [英] Maven pom to zip config files from GitHub and jars from artifactory

查看:38
本文介绍了Maven pom 压缩来自 GitHub 的配置文件和来自 artifactory 的 jars的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要求:

  • 需要将配置文件和 jars 从 artifactory 推送到 UCD 以进行部署.
  • 配置文件存在于 GitHub 存储库中.
  • jar(构建不需要,但需要在 UCD 中启动应用程序)存在于 artifactory 中.

为了从 github 复制配置文件并从 artifactory 下载/复制 jars 并将所有内容打包在一个 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?

推荐答案

您可能会考虑:

  • 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 的配置文件和来自 artifactory 的 jars的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆