1
votes

I have a Maven Nexus repository that manages several maven projects.Every time build happens on the specific project we send binaries/snap shots to Nexus.There are several ways to access nexus.

  1. Nexus REST API
  2. Aether

My requirement is that how can i fetch available list of artifacts from Nexus repository of a specific project and how can i inject older artifact(downloaded) into a local project when it execute.If any one knows how to do this Please share.I can not find any well documented examples.

1

1 Answers

2
votes

If I understand your questions correctly you are looking at creating a runnable application for your Maven project that includes the dependencies.

This can e.g. for a jar project be done with the Maven Assembly Plugin and the jar-with-dependencies descriptor (see http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies)