Hi, Although it is possible, it is probably not a good idea. When you run "mvn clean install" the necessary jars are downloaded from nexus and cached in your m2 repository. By default, the repository is located at "~/.m2/repository". If you do this once and get the required jars, you can then run "mvn clean install -nsu -o", which means it will build with no snapshot updates and offline. However, you are then risking the chance of building against out of date dependencies.
The best way is to build online, since you will be able to grab the most up to date dependencies (either through forcing with "-U" flag, or after the snapshot is deemed out of date). Hope this helps! Regards, Ryan Goulding On Wed, Feb 1, 2017 at 11:20 AM, yewgang <batmanu...@gmail.com> wrote: > I use maven to build, but due to network unreachable, i got error and quit > many times. > > Is there some offline jar package i can download by hand, or some way to > find? Just treat as complain if no way. > > Thanks. > > _______________________________________________ > controller-dev mailing list > controller-dev@lists.opendaylight.org > https://lists.opendaylight.org/mailman/listinfo/controller-dev > >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev