<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OVSDB-128] Constraint violation via two dependency chains when linking with odl-ovsdb-plugin</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-128</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;In a personal project, I got this exception when loading the OVSDB plugin in Karaf:&lt;/p&gt;

&lt;p&gt;Error executing command: Could not start bundle mvn:org.opendaylight.ovsdb/plugin/1.0.0-Helium in feature(s) odl-ovsdb-plugin-1.0.0-Helium: Uses constraint violation. Unable to resolve bundle revision org.opendaylight.ovsdb.plugin &lt;span class=&quot;error&quot;&gt;&amp;#91;327.0&amp;#93;&lt;/span&gt; because it is exposed to package &apos;org.slf4j&apos; from bundle revisions org.ops4j.pax.logging.pax-logging-api &lt;span class=&quot;error&quot;&gt;&amp;#91;7.0&amp;#93;&lt;/span&gt; and slf4j.api &lt;span class=&quot;error&quot;&gt;&amp;#91;227.0&amp;#93;&lt;/span&gt; via two dependency chains.&lt;/p&gt;

&lt;p&gt;Chain 1:&lt;br/&gt;
  org.opendaylight.ovsdb.plugin &lt;span class=&quot;error&quot;&gt;&amp;#91;327.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
    import: (&amp;amp;(osgi.wiring.package=org.slf4j)(version&amp;gt;=1.7.0)(!(version&amp;gt;=2.0.0)))&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;    export: osgi.wiring.package=org.slf4j&lt;br/&gt;
  org.ops4j.pax.logging.pax-logging-api &lt;span class=&quot;error&quot;&gt;&amp;#91;7.0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Chain 2:&lt;br/&gt;
  org.opendaylight.ovsdb.plugin &lt;span class=&quot;error&quot;&gt;&amp;#91;327.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
    import: (&amp;amp;(osgi.wiring.package=org.opendaylight.ovsdb.lib.message)(version&amp;gt;=1.0.0)(!(version&amp;gt;=2.0.0)))&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;    export: osgi.wiring.package=org.opendaylight.ovsdb.lib.message; uses:=org.slf4j&lt;br/&gt;
  org.opendaylight.ovsdb.library &lt;span class=&quot;error&quot;&gt;&amp;#91;324.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
    import: (&amp;amp;(osgi.wiring.package=org.slf4j)(version&amp;gt;=1.7.0)(!(version&amp;gt;=2.0.0)))&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;    export: osgi.wiring.package=org.slf4j&lt;br/&gt;
  slf4j.api &lt;span class=&quot;error&quot;&gt;&amp;#91;227.0&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21820">OVSDB-128</key>
            <summary>Constraint violation via two dependency chains when linking with odl-ovsdb-plugin</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="srini.seetharaman@gmail.com">Srini Seetharaman</reporter>
                        <labels>
                    </labels>
                <created>Sun, 2 Nov 2014 00:20:04 +0000</created>
                <updated>Thu, 19 Oct 2017 21:27:56 +0000</updated>
                            <resolved>Fri, 12 Jun 2015 01:42:30 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Plugin</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="40747" author="flavio@flaviof.com" created="Mon, 3 Nov 2014 16:39:12 +0000"  >&lt;p&gt;From: Srini Seetharaman &amp;lt;srini.seetharaman@gmail.com&amp;gt;&lt;br/&gt;
Date: Mon, Nov 3, 2014 at 2:24 AM&lt;br/&gt;
Subject: Re: &lt;span class=&quot;error&quot;&gt;&amp;#91;ovsdb-dev&amp;#93;&lt;/span&gt; Help with a Karaf loading issue&lt;br/&gt;
To: Mathieu Lemay &amp;lt;mlemay@inocybe.com&amp;gt;&lt;br/&gt;
Cc: &quot;&amp;lt;ovsdb-dev@lists.opendaylight.org&amp;gt;&quot; &amp;lt;ovsdb-dev@lists.opendaylight.org&amp;gt;&lt;/p&gt;

&lt;p&gt;Hi Mathieu:&lt;br/&gt;
Once I explicitly added &quot;odl-base-all&quot; in the karaf dependency for my project (in features/src/main/resources/features.xml), the error went away. Even though the odl-base-all was getting included in the bootFeatures, that was not sufficient. I had to include it in the karaf feature dependencies for this to be resolved.&lt;/p&gt;

&lt;p&gt;I&apos;ll mark the bug as worksforme with my above note.&lt;/p&gt;

&lt;p&gt;Srini.&lt;/p&gt;

&lt;p&gt;On Sun, Nov 2, 2014 at 6:51 PM, Mathieu Lemay &amp;lt;mlemay@inocybe.com&amp;gt; wrote:&lt;br/&gt;
Hi Srini... I&apos;m good thanks for asking.. &lt;/p&gt;

&lt;p&gt;I will take a look tomorrow am and will keep you posted... &lt;/p&gt;

&lt;p&gt;Cheers&lt;br/&gt;
Mathieu&lt;/p&gt;

&lt;p&gt;On Sat, Nov 1, 2014 at 11:20 PM, Srini Seetharaman &amp;lt;srini.seetharaman@gmail.com&amp;gt; wrote:&lt;br/&gt;
Hi Mathieu&lt;br/&gt;
Hope you&apos;re well. I&apos;m running into an issue with using the ovsdb plugin with a different project. When I link it, I get the error shown in this bug: &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=2295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=2295&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I read online (in this thread &lt;a href=&quot;https://developer.jboss.org/message/900565&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://developer.jboss.org/message/900565&lt;/a&gt;) that I should use slf4j implementation from the pax.logging and not from org.slf4j. So, it said I need to remove the dependency on slf4j.api bundle. I can remove that in the ovsdb plugin pom, but is there any other place in the karaf-empty or otherwise where we load the slf4j.api bundle?&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Srini.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2295</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=2295]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i020tj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>