Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error #19

Open
parulagrawal14 opened this issue Mar 11, 2019 · 8 comments
Open

Compilation Error #19

parulagrawal14 opened this issue Mar 11, 2019 · 8 comments

Comments

@parulagrawal14
Copy link

Hi All,

I am getting the below error while compiling. Kindly request you to help me in resolving this issue.

opendaylight-ansible# mvn clean install
[INFO] Scanning for projects...
Downloading from opendaylight-snapshot: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/mdsal/binding-parent/0.13.1-SNAPSHOT/maven-metadata.xml
Downloading from opendaylight-snapshot: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/mdsal/binding-parent/0.13.1-SNAPSHOT/binding-parent-0.13.1-SNAPSHOT.pom
Downloading from opendaylight-snapshot: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/mdsal-artifacts/1.8.1-SNAPSHOT/maven-metadata.xml
Downloading from opendaylight-snapshot: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/controller/mdsal-artifacts/1.8.1-SNAPSHOT/mdsal-artifacts-1.8.1-SNAPSHOT.pom
Downloading from opendaylight-snapshot: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/mdsal/model/mdsal-model-artifacts/0.13.1-SNAPSHOT/maven-metadata.xml
Downloading from opendaylight-snapshot: https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/mdsal/model/mdsal-model-artifacts/0.13.1-SNAPSHOT/mdsal-model-artifacts-0.13.1-SNAPSHOT.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Could not find artifact org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) and 'parent.relativePath' points at no local POM @ line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:mdsalutils:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13
[FATAL] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13
[ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.controller:mdsal-artifacts:pom:1.8.1-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) @ line 28, column 25
[ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.mdsal.model:mdsal-model-artifacts:pom:0.13.1-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) @ line 35, column 25
[ERROR] 'dependencies.dependency.version' for org.opendaylight.controller:odl-mdsal-broker:xml:features is missing. @ line 70, column 21
@
[ERROR] The build could not read 9 projects -> [Help 1]
[ERROR]
[ERROR] The project org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT (/home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Could not find artifact org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) and 'parent.relativePath' points at no local POM @ line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:config-api:[unknown-version] (/home/administrator/new/opendaylight-ansible/config/api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:config-impl:[unknown-version] (/home/administrator/new/opendaylight-ansible/config/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:mdsalutils:0.1.0-SNAPSHOT (/home/administrator/new/opendaylight-ansible/mdsalutils/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:mdsalutils:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible.model:ietf-l3vpn-svc:2017-05-02.0-SNAPSHOT (/home/administrator/new/opendaylight-ansible/model/ietf-l3vpn-svc/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:northbound-api:[unknown-version] (/home/administrator/new/opendaylight-ansible/northbound/api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:northbound-impl:[unknown-version] (/home/administrator/new/opendaylight-ansible/northbound/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:southbound-impl:[unknown-version] (/home/administrator/new/opendaylight-ansible/southbound/impl/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT: Failure to find org.opendaylight.mdsal:binding-parent:pom:0.13.1-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced and 'parent.relativePath' points at no local POM @ org.opendaylight.ansible:binding-parent:0.1.0-SNAPSHOT, /home/administrator/new/opendaylight-ansible/commons/binding-parent/pom.xml, line 13, column 13 -> [Help 2]
[ERROR]
[ERROR] The project org.opendaylight.ansible:odl-ansible:0.1.0-SNAPSHOT (/home/administrator/new/opendaylight-ansible/features/odl-ansible/pom.xml) has 3 errors
[ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.controller:mdsal-artifacts:pom:1.8.1-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) @ line 28, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not find artifact org.opendaylight.mdsal.model:mdsal-model-artifacts:pom:0.13.1-SNAPSHOT in opendaylight-snapshot (https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/) @ line 35, column 25 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.opendaylight.controller:odl-mdsal-broker:xml:features is missing. @ line 70, column 21
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Regards,
Parul

@shague
Copy link
Owner

shague commented Mar 11, 2019

The project work has been moved to the upstream OpenDaylight repo. The code here has not been updated to the latest ODL releases which is why you are hitting the errors related to missing artifacts. Try to grab the latest code from ODL and see if that builds better. We moved the code, had it building and then didn't update so it might have similar issues. Try to do a build with mvn clean install -Pq and see if it works.

You can use the command below to grab the latest code. [1] is an older doc describing how to grab the code also.

git clone https://git.opendaylight.org/gerrit/p/ansible.git

[1] https://docs.opendaylight.org/en/stable-boron/developer-guide/pulling-and-pushing-the-code-from-the-cli.html

@parulagrawal14
Copy link
Author

parulagrawal14 commented Mar 12, 2019 via email

@parulagrawal14
Copy link
Author

parulagrawal14 commented Mar 12, 2019 via email

@parulagrawal14
Copy link
Author

parulagrawal14 commented Mar 12, 2019 via email

@parulagrawal14
Copy link
Author

parulagrawal14 commented Mar 13, 2019 via email

@shague
Copy link
Owner

shague commented Mar 14, 2019

Parul,

try to move this discussion over to the OpenDaylight list, [email protected]. Send the latest state that your compile is in.

DLUX can be built for Oxygen and Fluorine - with the right changes. I would move to Flourine as a safer option though since Oxygen will soon be deprecated. Most of the work is just changing the pom versions.

The problem is the github repo was oxygen based, then moved to opendaylight and initially working for the fluorine and neon branches. Then many of the odlparent and mdsal artifacts were bumped. The ansible project was not updated to reflect those changes so it will not build. [1] and [2] are example patches that show the type of pom changes to make to update. [3] is similar but a bump to the fluorine branch. You mainly just change the poms to reflect the right odlparent, mdsal and yangtools versions.

Thanks, Sam

[1] https://git.opendaylight.org/gerrit/#/c/79807/

[2] https://git.opendaylight.org/gerrit/#/c/79675/

[3] https://git.opendaylight.org/gerrit/#/c/78946/

@parulagrawal14
Copy link
Author

parulagrawal14 commented Mar 15, 2019 via email

@shague
Copy link
Owner

shague commented Mar 15, 2019

Parul,

I forwarded this discussion to the ODL upstream [email protected] mailing list. Please continue the discussion there so we have dlux and others that can help. [1] is a link to the email. Subscribe to the list so you can keep the discussion going.

[1] https://lists.opendaylight.org/pipermail/discuss/2019-March/008272.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants