On Wed, May 3, 2017 at 12:59 PM, Daniel Feferman <dlfefer...@gmail.com> wrote:
> Hi Lori and Ryan, > > So, I have javac 1.8.0_131 and Maven 3.3.9. I edited the > ~/.m2/settings.xml and then tried to run "mvn clean install -U " and I've > got: > > [INFO] Scanning for projects... > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 0.188 s > [INFO] Finished at: 2017-05-03T09:48:06-07:00 > [INFO] Final Memory: 6M/109M > [INFO] ------------------------------------------------------------ > ------------ > [ERROR] The goal you specified requires a project to execute but there is > no POM in this directory (/home/fefer/Desktop/odl). Please verify you > invoked Maven from the correct directory. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ > MissingProjectException > > It seems to be what Lori said, something about telling maven where I'm > installing it, but still no answer for now. =/ > Yuu need to be in a path with a pom.xml (or use mvn -f .../pom.xml). in your first email you were in the odl/controller directory so I guess you cloned controller and there is a pom.xml in the root there. This lat example you were in the odl directory so not pom.xml. > > Best, > Daniel > > Atenciosamente, > Daniel Lazkani Feferman > > 2017-05-03 3:58 GMT-07:00 Lori Jakab <lorand.jakab+...@gmail.com>: > >> On Tue, May 2, 2017 at 11:21 PM, Ryan Goulding <ryandgould...@gmail.com> >> wrote: >> >>> JDK 1.7+ and Maven 3+ >>> >>> >>> You will want JDK 8 and Maven 3.3.9. >>> >>> Could not find artifact org.opendaylight.odlparent:odl >>>> parent-lite:pom:1.9.0-SNAPSHOT >>> >>> >>> Strange...it appears to be in Nexus [0]. Are you using -nsu or -o? To >>> be sure I'd force an update after you ensure you have the proper JDK/Maven: >>> >>> > mvn clean install -U >>> >>> Hope this helps. >>> >> >> You may need to edit your ~/.m2/settings.xml file, if you haven't >> already. See https://wiki.opendaylight.org/view/GettingStarted:Develo >> pment_Environment_Setup#Edit_your_.7E.2F.m2.2Fsettings.xml >> >> HTH, >> -Lori >> >> >>> >>> Regards, >>> >>> Ryan Goulding >>> >>> [0] https://nexus.opendaylight.org/service/local/repositorie >>> s/opendaylight.snapshot/content/org/opendaylight/ >>> odlparent/odlparent-lite/1.9.0-SNAPSHOT/odlparent-lite-1.9. >>> 0-20170502.005852-18.pom >>> >>> On Tue, May 2, 2017 at 4:00 PM, Daniel Feferman <dlfefer...@gmail.com> >>> wrote: >>> >>>> Hi everybody, >>>> >>>> I'm new into opendaylight, I've just checked that I have JDK 1.7+ and >>>> Maven 3+ and I'm trying to install ODL, but I'm getting the following >>>> errors: >>>> >>>> [INFO] Scanning for projects... >>>> [ERROR] [ERROR] Some problems were encountered while processing the >>>> POMs: >>>> [FATAL] Non-resolvable parent POM for >>>> org.opendaylight.controller:releasepom:0.6.0-SNAPSHOT: >>>> Could not find artifact >>>> org.opendaylight.odlparent:odlparent-lite:pom:1.9.0-SNAPSHOT >>>> and 'parent.relativePath' points at no local POM @ line 4, column 11 >>>> @ >>>> [ERROR] The build could not read 1 project -> [Help 1] >>>> [ERROR] >>>> [ERROR] The project org.opendaylight.controller:releasepom:0.6.0-SNAPSHOT >>>> (/home/fefer/Desktop/odl/controller/pom.xml) has 1 error >>>> [ERROR] Non-resolvable parent POM for >>>> org.opendaylight.controller:releasepom:0.6.0-SNAPSHOT: >>>> Could not find artifact >>>> org.opendaylight.odlparent:odlparent-lite:pom:1.9.0-SNAPSHOT >>>> and 'parent.relativePath' points at no local POM @ line 4, column 11 -> >>>> [Help 2] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] http://cwiki.apache.org/conflu >>>> ence/display/MAVEN/ProjectBuildingException >>>> [ERROR] [Help 2] http://cwiki.apache.org/conflu >>>> ence/display/MAVEN/UnresolvableModelException >>>> >>>> Can anyone give me a hint? >>>> >>>> Best regards, >>>> Daniel >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >> > > _______________________________________________ > 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