Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

I don't think modifying settings.xml will help. If you want to use stable release versions, you will have to change the dependencies in your pom files. Take a look at https://nexus.opendaylight.org/content/repositories/opendaylight.release/ to find out exact version no. for your dependency

e.g. Let us say you are using odl-parent. https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/odlparent/odlparent/ will give you versions available for odl-parent. If you want to use Lithium release, use 1.5.0-Lithium in your pom file. Repeat for other dependencies.

Just make sure you use same release for all. i.e. if you're using Lithium for one, ue Lithium for all others and not mix up Helium-SR1, Helium-SR2 etc.

I don't think modifying settings.xml will help. If you want to use stable release versions, you will have to change the dependencies in your pom files. Take a look at https://nexus.opendaylight.org/content/repositories/opendaylight.release/ to find out exact version no. for your dependency

e.g. Let us say you are using odl-parent. https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/odlparent/odlparent/ will give you versions available for odl-parent. If you want to use Lithium release, use 1.5.0-Lithium in your pom file. Repeat for other dependencies.

Just make sure you use same release for all. i.e. if you're using Lithium for one, ue Lithium for all others and not mix up Helium-SR1, Helium-SR2 etc.

EDIT: Forgot to mention, other option is to give -nsu or -O [for offline] options when running mvn clean install. You'll have to be careful to use these everytime, maybe write a macro/alias to compile.