Re: odl project on github pulling artifacts from opendaylight nexus

Robert Varga

On 07/09/18 09:25, Stephen Kitt wrote:
Hi Sam,

On Thu, 6 Sep 2018 20:59:36 -0400
Sam Hague <shague@...> wrote:
is there an efficient way to pull artifacts from the opendaylight
nexus when a project is hosted on github?

I have a project on github with the travis-ci setup. I pass in the
settings.xml with mvn -s settings.xml clean install. The settings.xml
is the one we always configure to point to opendaylight nexus. This
does work, but I am pretty sure github or travis probably don't like
the job downloading all these artifacts. It took two minutes of which
the majority was simply downloading from nexus.
I don’t think there’s an efficient way of *pulling* artifacts from ODL
Nexus, but you can reduce the amount of artifacts to pull by setting up
a cache; see for
an example — something like

- $HOME/.m2/repository

should do the trick for a Maven build.

(Many Travis jobs install packages etc. using apt, and that downloads
from Ubuntu — so I don’t think GitHub or Travis particularly mind about
the bandwidth.)
for an example.


Join to automatically receive all group messages.