[DAEXIM-13] Not to able build daexim/master Created: 15/Jan/19 Updated: 09/Feb/19 Resolved: 09/Feb/19 |
|
| Status: | Resolved |
| Project: | daexim |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Abhishek Tiwari | Assignee: | Shaleen Saxena |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Hi, I am getting errors for the classes in package org.opendaylight.yang.gen.v1.urn.opendaylight.daexim.rev160921
for example: class WildcardStar ModuleName |
| Comments |
| Comment by Abhishek Tiwari [ 15/Jan/19 ] |
|
Took git clone from https://github.com/opendaylight/daexim/blob/master |
| Comment by Richard Kosegi [ 15/Jan/19 ] |
|
Can you share full error? Local build works for me, also CI is working fine https://jenkins.opendaylight.org/releng/job/daexim-merge-neon/ |
| Comment by Abhishek Tiwari [ 16/Jan/19 ] |
|
I am working on master. Compilation issues in maven. [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] 'dependencies.dependency.version' for org.opendaylight.daexim:daexim-model:jar is missing. @ line 106, column 21 [ERROR] 'dependencies.dependency.version' for org.opendaylight.mdsal.model:odl-mdsal-model-rfc6991:xml:features is missing. @ line 47, column 21
|
| Comment by Richard Kosegi [ 16/Jan/19 ] |
|
Non-resolvable import POM: Failure to find org.opendaylight.mdsal:mdsal-artifacts:pom:1.4.0-Boron You see that "1.4.0-Boron"? Current master is supposed to be Neon (Boron is 5 major releases in past) Your local source tree does not seems to be up-to-date. Are you sure that your maven is configured correctly to use Opendaylight Nexus? You can follow this guide to setup your environment https://wiki.opendaylight.org/view/GettingStarted:Development_Environment_Setup#Edit_your_.7E.2F.m2.2Fsettings.xml what is tip of your git HEAD (git rev-parse HEAD)?
|
| Comment by Abhishek Tiwari [ 16/Jan/19 ] |
|
You see that "1.4.0-Boron"? Current master is supposed to be Neon (Boron is 5 major releases in past) - Please share the poms of the sub modules, or may be my repository is not able to get the libraries??
Are you sure that your maven is configured correctly to use Opendaylight Nexus? – yes tip of git head is 801a815f013888d42215b6a6e0d9bbd087cffb02 |
| Comment by Richard Kosegi [ 16/Jan/19 ] |
|
This seems OK, then your maven config must be broken. Could you confirm how you configured it? |
| Comment by Shaleen Saxena [ 16/Jan/19 ] |
|
Abhishek, The link you gave: https://github.com/opendaylight/daexim/blob/master is giving me 404 error. However, I cloned a new workspace using https://github.com/opendaylight/daexim.git and I can build this without trouble. Some questions:
Thanks |
| Comment by Abhishek Tiwari [ 17/Jan/19 ] |
|
| Comment by Abhishek Tiwari [ 17/Jan/19 ] |
|
ssaxena, did same what you suggested but
[ERROR] [ERROR] Some problems were encountered while processing the POMs: |
| Comment by Abhishek Tiwari [ 17/Jan/19 ] |
|
Files in folder rev160921 are also not getting created. so giving compile time error. |
| Comment by Richard Kosegi [ 17/Jan/19 ] |
|
can you re-run maven with -X argument a attach full log? |
| Comment by Abhishek Tiwari [ 17/Jan/19 ] |
|
Attached the logs log.txt |
| Comment by Shaleen Saxena [ 18/Jan/19 ] |
|
Could you add your settings.xml file as well please?
|
| Comment by Abhishek Tiwari [ 18/Jan/19 ] |
|
i dont have settings.xml, can you please share me yours to put it in .m2 |
| Comment by Richard Kosegi [ 18/Jan/19 ] |
|
Your environment is not configured with Opendaylight Nexus as I mentioned in my comment previously. Follow this link on how to setup your settings.xml : https://wiki.opendaylight.org/view/GettingStarted:Development_Environment_Setup#Edit_your_.7E.2F.m2.2Fsettings.xml |
| Comment by Abhishek Tiwari [ 18/Jan/19 ] |
|
rkosegi let me try that. thanks |
| Comment by Abhishek Tiwari [ 18/Jan/19 ] |
|
i did the changed suggested on the page https://wiki.opendaylight.org/view/GettingStarted:Development_Environment_Setup#Edit_your_.7E.2F.m2.2Fsettings.xml . it is giving me same error. |
| Comment by Richard Kosegi [ 18/Jan/19 ] |
|
We need full build log, again. |
| Comment by Shaleen Saxena [ 18/Jan/19 ] |
|
Could you add your new ~/.m2/settings.xml as well? Also, are there any other files in your ~/.m2 (other than the repository/ directory)? Lastly, can you ping nexus.opendaylight.org from your machine?
|
| Comment by Michael Vorburger [ 31/Jan/19 ] |
|
Guys this is a local build problem, not a release blocking "daexim does not build on opendaylight.org's Jenkins", agreed? Priority therefore downgraded. |
| Comment by Richard Kosegi [ 31/Jan/19 ] |
|
I was thinking to reject it as this clearly local problem, but we want to give OP chance to provide some info to help him. Yes, agreed |
| Comment by Richard Kosegi [ 09/Feb/19 ] |
|
Feel free to re-open if you can provide steps to reproduce problem. |