[OPNFLWPLUG-260] karaf features missing dependency on osgi console Created: 03/Sep/14  Updated: 27/Sep/21  Resolved: 05/Sep/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Devin Avery Assignee: Michal Rehak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


External issue ID: 1681

 Description   

If you clean out your .m2 repository and then build and test the openflowplugin feature you will find that the test fails because it can not get a dependency on the osgi console. The error is:

org.osgi.framework.BundleException: Unresolved constraint in bundle org.opendaylight.openflowplugin [191]: Unable to resolve 191.0: missing requirement [191.0] osgi.wiring.package; (&(osgi.wiring.package=org.eclipse.osgi.framework.console)(version>=1.1.0)(!(version>=2.0.0)))

I think this is coming from this class: org.opendaylight.openflowplugin.statistics.MessageCountCommandProvider

Adding the dummy console to the features allows us to work past this issue.



 Comments   
Comment by Michal Rehak [ 03/Sep/14 ]

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

Comment by Michal Rehak [ 04/Sep/14 ]

merged

Comment by Devin Avery [ 04/Sep/14 ]

Not sure why this was assigned to me. The git is merged though so I think we can close this out.

Comment by Michal Rehak [ 05/Sep/14 ]

Hi Devin,
I assigned it to you as you are the reporter. I guess you are the best candidate for test and verify if it is really fixed.

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