Rkumar
Rkumar

Reputation: 39

Package jar from Nexus using Assembly plugin

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 ?

Upvotes: 0

Views: 252

Answers (1)

J Fabian Meier
J Fabian Meier

Reputation: 35883

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.

Upvotes: 0

Related Questions