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

查看:144
本文介绍了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?

推荐答案

您可以考虑:

  • 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屋!

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