[ODLPARENT-118] single-feature-parent should verify compiled feature does not refer to bundles from other ODL projects Created: 20/Sep/17  Updated: 04/Aug/20

Status: In Progress
Project: odlparent
Component/s: General
Affects Version/s: 2.0.5
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 9191

 Description   

As Robert says [0], every bundle should be packaged in its project ONLY.

This improvement (adding test that fail if generated feature refers to org.opendaylight bundle not from org.opendaylight.

{project}

) would help ensuring that.
Specifically it would ensure the second part of:
"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."

Also, there should be a test for feature-repo-parent ensuring the generated descriptor contains no bundles (or configfiles), just features.

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



 Comments   
Comment by Vratko Polak [ 10/Oct/17 ]

An improvement [1] has been merged, now violations are being logged in distribution-check job. Example content: [2].

[1] https://git.opendaylight.org/gerrit/64022
[2] https://logs.opendaylight.org/releng/jenkins092/bgpcep-distribution-check-oxygen/121/bug9191.log.gz

Generated at Wed Feb 07 20:27:41 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.