[GENIUS-113] inter-project dependencies are not expressed correctly in feature definitions Created: 13/Feb/18  Updated: 15/Feb/18  Resolved: 15/Feb/18

Status: Verified
Project: genius
Component/s: None
Affects Version/s: None
Fix Version/s: Oxygen

Type: Bug Priority: Medium
Reporter: Faseela K Assignee: Faseela K
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As per

https://lists.opendaylight.org/pipermail/release/2018-January/013604.html

https://lists.opendaylight.org/pipermail/release/2017-September/012356.html

Genius  inter-project dependencies are not expressed correctly in feature definitions, as downstream projects are packaging their ODL upstream's bundles directly in their features, rather than properly depending on upstream's features.

 

A simple example, one for great many:

./genius/odl-genius/0.3.0/odl-genius-0.3.0-features.xml:

<bundle>mvn:org.opendaylight.ovsdb/utils.southbound-utils/1.5.0</bundle> ./neutron/odl-neutron-hostconfig-ovs/0.9.0/odl-neutron-hostconfig-ovs-0.9.0-features.xml: <bundle>mvn:org.opendaylight.ovsdb/utils.southbound-utils/1.5.0</bundle> ./ovsdb/odl-ovsdb-southbound-test/1.5.0/odl-ovsdb-southbound-test-1.5.0-features.xml: <bundle>mvn:org.opendaylight.ovsdb/utils.southbound-utils/1.5.0</bundle>

 

This is incorrect, as every bundle should be packaged in its project ONLY. Please check the feature files your project is generating and when you find they include <bundle> lines mentioning artifacts from a different ODL project, fix your feature's pom.xml to depend on the upstream feature which packages that jar. If your upstream does not package it, there is something wrong and you need to work with them to resolve this. At the end of the day, every ODL jar file should be part of EXACTLY ONE feature and that feature MUST reside in the same project as the source code used to build that jar.



 Comments   
Comment by Isaku Yamahata [ 13/Feb/18 ]

https://git.opendaylight.org/gerrit/#/c/68214/

Comment by Faseela K [ 15/Feb/18 ]

https://git.opendaylight.org/gerrit/#/c/68238/

Generated at Wed Feb 07 19:59:56 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.