[CONTROLLER-1151] Example: Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI - Maven Build Fails... Created: 11/Feb/15 Updated: 10/Jun/15 Resolved: 10/Jun/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Colum Gaynor | Assignee: | Ryan Goulding |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 2703 |
| Description |
|
Trying to follow the example in link: Code pulled ok from Git... Cloning into 'controller'... However - Running "mvn clean install" results in buid failure - running nicely in MavenLandia and then we get; : Any ideas why the build fails would be appreciated... |
| Comments |
| Comment by Colum Gaynor [ 11/Feb/15 ] |
|
Attachment Error_On_First_BuildAttmpt_ODL-Controller_Maven.txt has been added with description: Maven Build Failure Output |
| Comment by Carol Sanders [ 04/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL |
| Comment by Jan-Simon Moeller [ 27/May/15 ] |
|
I can confirm this still happens. |
| Comment by Ryan Goulding [ 09/Jun/15 ] |
|
For reference, this is for a really old version of ODL that is not maintained, and I highly recommend you use https://wiki.opendaylight.org/view/GettingStarted:Pulling,_Hacking,_and_Pushing_All_the_Code_from_the_CLI instead. 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 intend to compile code from the hydrogen base, which requires this step https://wiki.opendaylight.org/view/OpenDaylight_Controller:Pulling,_Hacking,_and_Pushing_the_Code_from_the_CLI#Checkout_The_Hydrogen_Branch_via_Git_CLI; I added this to clarify that you must "git checkout stable/hydrogen". The wiki document did not specify this step, as "master" referred to the hydrogen code base when it was written (the documents became stale by comparison to the git repository). I must repeat, I highly recommend you upgrade to using current release documentation and software instead of relying on old releases. |
| Comment by Colum Gaynor [ 10/Jun/15 ] |
|
OK. Thank you for the clarifications and for adding documentation on this. |