I am creating a tar file which contains a jar module, python files and other script files. The jar module needs some other jars which needs to be packaged inside tar. I can place the related jars in the project and package it. But, I want to get the jars from Nexus.
I am using maven assembly plugin to create the tar.
Can you please suggest, how can I do it ?
Try with dependency:copy
:
https://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html
Here you specify artifacts to be downloaded to a specific location.