问题
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