This command works fine, Build completed successfully, Thanks a lot.
On Tue, Nov 1, 2016 at 2:12 PM, Michael Vorburger <vorbur...@redhat.com> wrote: > Have you tried any of the tips I suggested? DL your own mvn instead of > system, root confusion, etc. > > In your Error-sdni.log again it looks like for some reason your Maven is > not even trying to download from http://nexus.opendaylight.org - I'm > puzzled why. One thing you could try just to see what difference it makes > it the -U option, which forces *-SNAPSHOT to be re-downloaded, can you send > us the log output of: > > mvn -X -U clean > > On Tue, Nov 1, 2016 at 8:06 AM, Pragati Shrivastava < > cs14resch11...@iith.ac.in> wrote: > >> Hi, Thank you Michael, >> >> As you asked, Yes I have build ODL controller previously on the same >> system, >> $mvn clean install >> showing random behaviour, works perfectly some times, but other times its >> showing the error to build, >> today i am trying to build sdninterfaceapp , >> and again giving same error as the previously i was facing to build >> karaf-distribution (previous mail) >> Error log : PFA, >> I am not getting what is happening at all, help me out please. >> >> On Mon, Oct 31, 2016 at 5:59 PM, Michael Vorburger <vorbur...@redhat.com> >> wrote: >> >>> 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 >>>> >>> >> >> >> -- >> Pragati Shrivastava >> Phd Scholar, >> Dept. of Computer Science & Engineering, >> Indian Institute of Technology Hyderabad, >> Email: cs14resch11...@iith.ac.in >> pragatipr...@gmail.com >> Cell: 09966154652 >> > > > > -- > > Tx, > M. > -- > Michael Vorburger <vorbur...@redhat.com> | IRC: vorburger @freenode | ~ = > http://vorburger.ch > -- 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