<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27: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>[ODLPARENT-79] addInstallRepositoryPath only works for bundles (JARs), but not for attached artifacts such as feature.xml</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-79</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;Background: addInstallRepositoryPath is a parameter (which I originally contributed); documented e.g. here &lt;a href=&quot;https://wiki.opendaylight.org/view/CrossProject:Integration_Group:karaf#Getting_your_code_into_Karaf_.28for_developers.3B_-DaddInstallRepositoryPath_.2F_addInstallRepositoryPath.29&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/CrossProject:Integration_Group:karaf#Getting_your_code_into_Karaf_.28for_developers.3B_-DaddInstallRepositoryPath_.2F_addInstallRepositoryPath.29&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I&apos;d like to use the -DaddInstallRepositoryPath to install a feature of a project under development into a Karaf; for example:&lt;/p&gt;

&lt;p&gt;vorburger@work:~/dev/ODL/git/daexim$ mvn -Pq -DaddInstallRepositoryPath=../../netvirt/vpnservice/distribution/karaf/target/assembly/system clean install&lt;/p&gt;

&lt;p&gt;But this only correctly installs bundles (JARs), but does not work for attached artifacts such as feature.xml ... &lt;/p&gt;

&lt;p&gt;This is because the additional-install uses:&lt;/p&gt;

&lt;p&gt;    &amp;lt;configuration&amp;gt;&lt;br/&gt;
        &amp;lt;file&amp;gt;${project.build.directory}/${project.build.finalName}.jar&lt;/p&gt;

&lt;p&gt;of course that&apos;s technically wrong, it&apos;s not sufficient, because it misses attached artifacts, as we see here:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; &amp;#8212; maven-install-plugin:2.5.2:install (default-install) @ daexim-features &amp;#8212;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.jar to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.jar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/pom.xml to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.pom&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.kar to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.kar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/classes/features.xml to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT-features.xml&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; &amp;#8212; maven-install-plugin:2.5.2:install-file (additional-install) @ daexim-features &amp;#8212;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.jar to /home/vorburger/dev/ODL/git/netvirt/vpnservice/distribution/karaf/target/assembly/system/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.jar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /tmp/mvninstall8580636725527113759.pom to /home/vorburger/dev/ODL/git/netvirt/vpnservice/distribution/karaf/target/assembly/system/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.pom&lt;/p&gt;

&lt;p&gt;NB that the features.xml is only installed by the default-install but not by the additional-install.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22202">ODLPARENT-79</key>
            <summary>addInstallRepositoryPath only works for bundles (JARs), but not for attached artifacts such as feature.xml</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Mar 2017 15:40:20 +0000</created>
                <updated>Wed, 24 Jan 2018 14:27:05 +0000</updated>
                                                                            <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="41954" author="vorburger" created="Wed, 22 Mar 2017 17:15:24 +0000"  >&lt;p&gt;Don&apos;t see how I could solve this downstream without major hacking, so I&apos;ve contributed a fix upstream in &lt;a href=&quot;https://issues.apache.org/jira/browse/MINSTALL-126&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://issues.apache.org/jira/browse/MINSTALL-126&lt;/a&gt;.. if that get merged, and a new maven-install-plugin was released (3.0.0 or even just a 2.5.3), then we could do &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/53691/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/53691/&lt;/a&gt;, which would fix this properly for good, see:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; &amp;#8212; maven-install-plugin:3.0.0-SNAPSHOT:install (default-install) @ daexim-features &amp;#8212;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.jar to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.jar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/pom.xml to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.pom&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.kar to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.kar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/classes/features.xml to /home/vorburger/.m2/repository/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT-features.xml&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; &amp;#8212; maven-install-plugin:3.0.0-SNAPSHOT:install (additional-install) @ daexim-features &amp;#8212;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.jar to /home/vorburger/dev/ODL/git/netvirt/vpnservice/distribution/karaf/target/assembly/system/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.jar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/pom.xml to /home/vorburger/dev/ODL/git/netvirt/vpnservice/distribution/karaf/target/assembly/system/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.pom&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/daexim-features-1.0.0-SNAPSHOT.kar to /home/vorburger/dev/ODL/git/netvirt/vpnservice/distribution/karaf/target/assembly/system/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT.kar&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; Installing /home/vorburger/dev/ODL/git/daexim/features/target/classes/features.xml to /home/vorburger/dev/ODL/git/netvirt/vpnservice/distribution/karaf/target/assembly/system/org/opendaylight/daexim/daexim-features/1.0.0-SNAPSHOT/daexim-features-1.0.0-SNAPSHOT-features.xml&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>8050</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=8050]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

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

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