[INTDIST-11] Karaf distribution SHOULD NOT use user's local m2 repository Created: 10/Sep/14 Updated: 03/May/18 Resolved: 19/Nov/16 |
|
| Status: | Resolved |
| Project: | integration-distribution |
| Component/s: | Karaf |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tony Tkacik | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| Issue Links: |
|
||||||||
| External issue ID: | 1788 | ||||||||
| Description |
|
Karaf distribution by default uses user local m2 repository, This may introduce heisen bugs and confuse users / developers, since distribution they downloaded In local repository I had md-sal-config snapshot with following metadata distribution-karaf-0.2.0-SNAPSHOT/system/org/opendaylight/controller/md-sal-config/maven-metadata-local.xml <?xml version="1.0" encoding="UTF-8"?> Karaf comes bundled with distribution-karaf-0.2.0-SNAPSHOT/system/org/opendaylight/controller/md-sal-config/maven-metadata-local.xml <?xml version="1.0" encoding="UTF-8"?> Feature install used local artefact from local m2 repository which was invalid in context of downloaded distribution (artefacts in distribution required different configuration). When I wiped local .m2 repository, extracted same build, did feature:install for same component, it used correct (bundled) artefact. Fix for this is to separate user m2 repository and m2 repository used by karaf. |