[ODLPARENT-197] META-INF services are not packaged Created: 23/Jan/19 Updated: 27/Feb/19 Resolved: 27/Feb/19 |
|
| Status: | Resolved |
| Project: | odlparent |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0, 4.0.10 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Jie Han | Assignee: | Jie Han |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When using no matter @AutoService or @MetaInfServices for generating META-INF services, It would end up not packaging the META-INF sevices generated by the annotation into the jar. |
| Comments |
| Comment by Jie Han [ 23/Jan/19 ] |
|
To verify this, I also downloaded 'mdsal-eos-dom-simple' from nexus which uses @MetaInfServices to generate META-INF services and also no services files were packaged in the jar, |
| Comment by Robert Varga [ 23/Jan/19 ] |
|
I don't believe it's yang-maven-plugin's fault. Check how bundle plugin operates? |
| Comment by Jie Han [ 23/Jan/19 ] |
|
Yes, indeed, i fixed the context right now. Magic happens in 'bundle-parent'. |
| Comment by Robert Varga [ 23/Jan/19 ] |
|
Okay, so I think we need to fix this in bundle-parent for now and move this issue to odlparent so that its bundle-parent works. |