Hello Pragati, On Mon, Oct 31, 2016 at 1:00 PM, Pragati Shrivastava < cs14resch11...@iith.ac.in> wrote:
> Yes I have edited my m2.settings.xml using: > > cp -n ~/.m2/settings.xml{,.orig} ; \ > wget -q -O - > https://raw.githubusercontent.com/opendaylight/odlparent/master/settings.xml > > ~/.m2/settings.xml > > PFA: Full Error log, after running command: > > Is that all that's shown? It's a bit curious that it doesn't seem to download anything at all.. you should normally see it pull down, a lot of, stuff from http://nexus.opendaylight.org, or if you haven't done the settings.xml which above you show as having then then from https://repo1.maven.org/maven2/ (which would be wrong; I'm just saying) ... yours doesn't seem to download anything, and immediately fail? It doesn't show anything else before what you attached? Have you successfully used your Maven installation for anything else than ODL on this computer? I think something unrelated to ODL may be wrong with it... Where did you get your mvn from, how did you install it? The Builderror.log you attached earlier indicates that you have it system wide in /usr/local/apache-maven, so you probably got it from an RPM or DEB via your OS package manager? Perhaps try to uninstall that, and just get a fresh one yourself from http://maven.apache.org/ and put it into your ~/bin and then try with that (put ~/bin/your-maven/bin on your PATH and it's basically the same thing to use as an OS level installed one). I'm trying to think what else could possibly cause this. You don't happen to have <offline>true in (one of..) your settings.xml? The default ODL one you downloaded from us and now have in your ~/.m2/ doesn't have this, but.. /usr/local/apache-maven/apache-maven-3.3.9/conf/settings.xml doesn't, does it? Another idea... you're not having some sort of confusion on your system between your local hopefully non-root user account ~rsm, and the root account? I'm asking because your 2nd log shows you're trying to build in /home/rsm/controller/integration-distribution/pom.xml, but your first -X log had e.g. "[DEBUG] Using local repository at /root/.m2/repository" - that doesn't seem right. You're not running "sudo mvn", are you? > $mvn clean install -D skipTests > > FYI, minor: We now recommend that you use -Pq instead of -DskipTests. Just a tip for when you have it working (this is unrelated to the more basic problem you're facing for the moment). Hope some of the above helps you to figure this out. Tx, M. -- Michael Vorburger <vorbur...@redhat.com> | IRC: vorburger @freenode | ~ = http://vorburger.ch On Mon, Oct 31, 2016 at 4:23 PM, Robert Varga <n...@hq.sk> wrote: > >> On 10/31/2016 10:28 AM, Pragati Shrivastava wrote: >> > >> > Building ODL on system: Ubuntu 14.0.4, JDK 1.8, maven 3.3.9, >> > I have followed " >> > https://wiki.opendaylight.org/view/GettingStarted:Developmen >> t_Environment_Setup >> > >> > tutorial to setup ODL >> > but >> > $mvn clean-install >> > fails with error log (PFA), >> >> It looks as though maven is not able to download odlparent ... can you >> verify your ~/.m2/settings.xml? >> >> Also, can you post the full output, without -X, after wiping >> ~/.m2/repository/org/opendaylight? >> >> Thanks, >> Robert >> >> > > > -- > Pragati Shrivastava > Phd Scholar, > Dept. of Computer Science & Engineering, > Indian Institute of Technology Hyderabad, > Email: cs14resch11...@iith.ac.in > pragatipr...@gmail.com > Cell: 09966154652 > > _______________________________________________ > 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