[YANGTOOLS-291] Yangtools build fails with test: Created: 06/Sep/14 Updated: 10/Apr/22 Resolved: 08/Sep/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | George Zhao | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1727 |
| Description |
|
1) clone fresh yangtools logs: http://pastebin.com/cXzpkufg yang-maven-plugin-it failed. It also failed at the same place when I run auto-release scripts. [INFO] ietf-restconf ..................................... SUCCESS [4.748s] |
| Comments |
| Comment by George Zhao [ 07/Sep/14 ] |
|
This is caused by Ubuntu maven doesn't work with yang-maven-plugin-it. see https://lists.opendaylight.org/pipermail/yangtools-dev/2014-September/000392.html for detail solutions. These are the detail steps I used: $ sudo apt-get remove maven* Install Maven 3: $ sudo apt-get install gdebi $ wget http://ppa.launchpad.net/natecarlson/maven3/ubuntu/pool/main/m/maven3/maven3_3.2.1-0~ppa1_all.deb $ sudo gdebi maven3_3.2.1-0~ppa1_all.deb Symlink it, for an easier usage: $ sudo ln -s /usr/share/maven3/bin/mvn /usr/bin/maven |
| Comment by Lukas Sedlak [ 08/Sep/14 ] |
|
Hi this is not a bug. In order to solve your problem Do NOT use maven installed via Ubuntu repositories instead install plane vanilla maven from apache site. I wrote this few weeks ago, please pay attention in reading it: https://lists.opendaylight.org/pipermail/yangtools-dev/2014-August/000377.html |