Ask Your Question
0

Nexus repository for repository freeze

asked 2015-06-17 16:55:48 -0700

labry gravatar image

Hi,

I'm a new ODL developer and I have notice that ODL often gives compile or runtime errors with no changes in My MD-SAL app code, and the problem usually goes a way in a day or two. I think this is because of the discrepancy between the Opendaylight Maven repository and the ODL code. My question is twofold.

  1. Are you experiencing the same problem or is it just me.

  2. I'm thinking about using Nexus private repository as a proxy to freeze the library. Do you think this is possible? or is there a better way? https://wiki.opendaylight.org/view/Infrastructure:Nexus

Thanks!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-07-25 08:42:40 -0700

labry gravatar image

updated 2015-09-17 07:34:17 -0700

mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.release/ -DarchetypeCatalog=http://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml -DarchetypeVersion=1.0.0-Lithium

This does the trick. What I did was changing "snapshot" to "release" and added the DarchetypeVersion=1.0.0-Lithium at the end.

edit flag offensive delete publish link more
0

answered 2015-07-25 23:44:39 -0700

faizan gravatar image

If you dont want to update your snapshot jars while building the bundles use "-nsu" command. It will use your local repo to build the bundle.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-06-17 16:55:48 -0700

Seen: 168 times

Last updated: Sep 17 '15