<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:49 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>[CONTROLLER-1151] Example: Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI - Maven Build Fails...</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1151</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Trying to follow the example in link:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Code pulled ok from Git...&lt;/p&gt;

&lt;p&gt;Cloning into &apos;controller&apos;...&lt;br/&gt;
remote: Counting objects: 33285, done&lt;br/&gt;
remote: Finding sources: 100% (21351/21351)&lt;br/&gt;
remote: Total 134298 (delta 4458), reused 129365 (delta 4458)&lt;br/&gt;
Receiving objects: 100% (134298/134298), 29.28 MiB | 558.00 KiB/s, done.&lt;br/&gt;
Resolving deltas: 100% (40601/40601), done.&lt;br/&gt;
Checking connectivity... done.&lt;/p&gt;

&lt;p&gt;However - Running &quot;mvn clean install&quot; results in buid failure - &lt;br/&gt;
See attched log.&lt;/p&gt;

&lt;p&gt;running nicely in MavenLandia and then we get;&lt;/p&gt;

&lt;p&gt;:&lt;br/&gt;
:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; The build could not read 1 project -&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;Help 1&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;   &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;   The project org.opendaylight.controller:config-parent:0.3.0-SNAPSHOT&lt;br/&gt;
          (/home/gaynor/ODL_Examples/controller/opendaylight/config/config-&lt;br/&gt;
           parent/pom.xml) has 1 error&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt;     Non-resolvable parent POM: Could not find artifact org.opendaylight.yangtools:binding-parent:pom:0.7.0-SNAPSHOT and &apos;parent.relativePath&apos; points at no local POM @ line 11, column 11 -&amp;gt;&lt;/p&gt;

&lt;p&gt;Any ideas why the build fails would be appreciated...&lt;br/&gt;
I simply pulled the code following Wiki advice and tried to do maven build.&lt;br/&gt;
surprised to see it failed etc.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25705">CONTROLLER-1151</key>
            <summary>Example: Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI - Maven Build Fails...</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="10000">Done</resolution>
                                        <assignee username="rgoulding">Ryan Goulding</assignee>
                                    <reporter username="colum.gaynor@nsn.com">Colum Gaynor</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Feb 2015 20:57:04 +0000</created>
                <updated>Wed, 10 Jun 2015 06:39:03 +0000</updated>
                            <resolved>Wed, 10 Jun 2015 06:39:03 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="50143" author="colum.gaynor@nsn.com" created="Wed, 11 Feb 2015 20:57:04 +0000"  >&lt;p&gt;Attachment Error_On_First_BuildAttmpt_ODL-Controller_Maven.txt has been added with description: Maven Build Failure Output&lt;/p&gt;</comment>
                            <comment id="50139" author="carolsand@gmail.com" created="Mon, 4 May 2015 20:11:39 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL&lt;/p&gt;</comment>
                            <comment id="50140" author="jsmoeller@linuxfoundation.org" created="Wed, 27 May 2015 21:05:00 +0000"  >&lt;p&gt;I can confirm this still happens.&lt;/p&gt;</comment>
                            <comment id="50141" author="rgoulding" created="Tue, 9 Jun 2015 20:28:01 +0000"  >&lt;p&gt;For reference, this is for a really old version of ODL that is not maintained, and I &lt;b&gt;highly&lt;/b&gt; recommend you use &lt;a href=&quot;https://wiki.opendaylight.org/view/GettingStarted:Pulling,_Hacking,_and_Pushing_All_the_Code_from_the_CLI&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/GettingStarted:Pulling,_Hacking,_and_Pushing_All_the_Code_from_the_CLI&lt;/a&gt; instead.  &lt;/p&gt;

&lt;p&gt;The problem relates to the fact that you are cloning master, which is karaf based and requires explicit changes to your .m2/settings.xml to properly build.  It appears that you &lt;b&gt;intend&lt;/b&gt; to compile code from the hydrogen base, which requires this step &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI#Checkout_The_Hydrogen_Branch_via_Git_CLI&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI#Checkout_The_Hydrogen_Branch_via_Git_CLI&lt;/a&gt;;  I added this to clarify that you must &quot;git checkout stable/hydrogen&quot;.  The wiki document did not specify this step, as &quot;master&quot; referred to the hydrogen code base when it was written (the documents became stale by comparison to the git repository).&lt;/p&gt;

&lt;p&gt;I must repeat, I highly recommend you upgrade to using current release documentation and software instead of relying on old releases.&lt;/p&gt;</comment>
                            <comment id="50142" author="colum.gaynor@nsn.com" created="Wed, 10 Jun 2015 06:39:03 +0000"  >&lt;p&gt;OK. Thank you for the clarifications and for adding documentation on this.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13489" name="Error_On_First_BuildAttmpt_ODL-Controller_Maven.txt" size="49957" author="colum.gaynor@nsn.com" created="Wed, 11 Feb 2015 20:57:04 +0000"/>
                    </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>2703</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=2703]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10373"><![CDATA[Lithium-RC3]]></customfieldvalue>

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

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