Maven pom to zip config files from GitHub and jars from artifactory

ぃ、小莉子 提交于 2021-02-04 06:51:54

问题


Requirement:

  • Need to push config files and jars from artifactory to UCD for deployment.
  • Config files are present in GitHub repostiory.
  • Jars (not needed for build but needed to start application in UCD) are present in artifactory.

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?


回答1:


You might consider:

  • 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)


来源:https://stackoverflow.com/questions/57385360/maven-pom-to-zip-config-files-from-github-and-jars-from-artifactory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!