<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:02:04 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>[INFRAUTILS-28] inter-project dependencies are not expressed correctly in feature definitions</title>
                <link>https://jira.opendaylight.org/browse/INFRAUTILS-28</link>
                <project id="10129" key="INFRAUTILS">infrautils</project>
                    <description>&lt;p&gt;As per&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/release/2018-January/013604.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/release/2018-January/013604.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/release/2017-September/012356.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/release/2017-September/012356.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;infrautils&#160; inter-project dependencies are not expressed correctly in feature definitions, as downstream projects are packaging their ODL upstream&apos;s bundles directly in their features, rather than properly depending on upstream&apos;s features.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;infrautils/odl-infrautils-ready/1.3.0-SNAPSHOT/odl-infrautils-ready-1.3.0-SNAPSHOT-features.xml: &amp;lt;bundle&amp;gt;wrap:mvn:org.opendaylight.odlparent/bundles-test-lib/3.0.2&amp;lt;/bundle&amp;gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Please read the above mails to get full understanding of the issue, and please fix the same in your project&lt;/em&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29183">INFRAUTILS-28</key>
            <summary>inter-project dependencies are not expressed correctly in feature definitions</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10000">Done</resolution>
                                        <assignee username="k.faseela">Faseela K</assignee>
                                    <reporter username="k.faseela">Faseela K</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Feb 2018 14:19:55 +0000</created>
                <updated>Mon, 19 Feb 2018 10:30:09 +0000</updated>
                            <resolved>Mon, 19 Feb 2018 10:30:09 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="61077" author="vorburger" created="Thu, 15 Feb 2018 15:43:11 +0000"  >&lt;p&gt;re-assigning from default assignee to &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=k.faseela&quot; class=&quot;user-hover&quot; rel=&quot;k.faseela&quot;&gt;k.faseela&lt;/a&gt; who already started looking into this... copy/paste of private email exchange:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;On Thu, Feb 15, 2018 at 12:07 PM, Faseela K &amp;lt;faseela.k@ericsson.com&amp;gt; wrote:&lt;br/&gt;
Hi,&lt;/p&gt;

&lt;p&gt;   I was trying to correct infrautils ready&#8217;s feature pom, based on Robert&#8217;s mail.&lt;/p&gt;

&lt;p&gt; The generated feature.xml shows : &amp;lt;bundle&amp;gt;wrap:mvn:org.opendaylight.odlparent/bundles-test-lib/3.0.2&amp;lt;/bundle&amp;gt;&lt;br/&gt;
   However I do not see any bundle dependency in the respective pom, only odlparent feature is there.&lt;/p&gt;

&lt;p&gt;   How will that happen?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;With reply:&lt;blockquote&gt;

&lt;p&gt;ready/impl/pom.xml has the dependency to bundles-test-lib you are looking for.&lt;/p&gt;

&lt;p&gt;but that POM has the maven-bundle-plugin configuration instructions for BND to &amp;lt;Embed-Dependency&amp;gt; bundles-test-lib (and awaitility &amp;amp; hamcrest-core...), so I&apos;m surprised that the generated feature.xml shows &amp;lt;bundle&amp;gt;wrap:mvn:bundles-test-lib ... it should not, we do not need that - because bundles-test-lib is embedded in ready-impl-1.3.0-SNAPSHOT.jar (it is; I just double checked, just to be sure).&lt;/p&gt;

&lt;p&gt;It&apos;s funny BTW that in common/features/odl-infrautils-ready/target/feature/feature.xml this problem only affects bundles-test-lib, but not awaitility &amp;amp; hamcrest-core... but that&apos;s just a lucky coincence (I suspect because the latter 2 are &amp;lt;scope&amp;gt;test in odlparent, overridden to be scope compile in ready/impl, but that does not affect odl-infrautils-ready).&lt;/p&gt;

&lt;p&gt;So the real problem here, and possibly elsewhere as well &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/help_16.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;, is that the automatic feature generation apparently adds bundle wrap to features for dependencies which are embedded. And I kind of see why... it cannot really know (at the time it generates the feature) that some of dependencies were embedded (in another POM). Some proposed ideas to address this, in the order I would try them:&lt;/p&gt;

&lt;p&gt;1. Perhaps playing with the &amp;lt;scope&amp;gt; of such dependencies, say provided instead of runtime for bundles-test-lib in ready/impl/pom.xml, can convince the feature generation to ignore them? Just make sure that the embedding then actually still works with that... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; Worth a try... do you want to try that, first?&lt;/p&gt;

&lt;p&gt;2. Otherwise, try adding an &amp;lt;exclusions&amp;gt; to the ready-impl &amp;lt;dependency&amp;gt; of common/features/odl-infrautils-ready/pom.xml for bundles-test-lib. This is more likely to work I expect - but it&apos;s a bit uglier than 1. because we would duplicate this in two POM.&lt;/p&gt;

&lt;p&gt;I expect this problem may affect other features in ODL which depend on bundles which use embedding; I know e.g. in AAA there are some - and think it would be worthwhile to share this more widely - perhaps best after the solution? &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;</comment>
                            <comment id="61095" author="faseela.k@ericsson.com" created="Sat, 17 Feb 2018 10:57:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/68376/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/68376/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="61098" author="vorburger" created="Mon, 19 Feb 2018 10:30:09 +0000"  >&lt;p&gt;merged - thanks &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=k.faseela&quot; class=&quot;user-hover&quot; rel=&quot;k.faseela&quot;&gt;k.faseela&lt;/a&gt;!&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03a6v:</customfieldvalue>

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