{"action":"created","issue":{"url":"https://api.github.com/repos/owlcs/owlapi/issues/455","labels_url":"https://api.github.com/repos/owlcs/owlapi/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/owlcs/owlapi/issues/455/comments","events_url":"https://api.github.com/repos/owlcs/owlapi/issues/455/events","html_url":"https://github.com/owlcs/owlapi/issues/455","id":114692439,"number":455,"title":"Unintentional OSGi Embedding","user":{"login":"skahmann","id":2256862,"avatar_url":"https://avatars.githubusercontent.com/u/2256862?v=3","gravatar_id":"","url":"https://api.github.com/users/skahmann","html_url":"https://github.com/skahmann","followers_url":"https://api.github.com/users/skahmann/followers","following_url":"https://api.github.com/users/skahmann/following{/other_user}","gists_url":"https://api.github.com/users/skahmann/gists{/gist_id}","starred_url":"https://api.github.com/users/skahmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skahmann/subscriptions","organizations_url":"https://api.github.com/users/skahmann/orgs","repos_url":"https://api.github.com/users/skahmann/repos","events_url":"https://api.github.com/users/skahmann/events{/privacy}","received_events_url":"https://api.github.com/users/skahmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-02T21:53:14Z","updated_at":"2015-11-02T22:53:27Z","closed_at":null,"body":"It looks like the OSGi distribution is mis-configured to include dependency jars that it should not be including. The following lines configuring the dependency embedding:\r\n\r\n```xml\r\n<Embed-Dependency>\r\n    groupId=${project.groupId};inline=true;scope=compile|runtime|provided,\r\n    groupId=!${project.groupId};scope=compile|runtime|provided;inline=false,\r\n    groupId=trove4j;scope=compile|runtime|provided;inline=false \r\n</Embed-Dependency>\r\n<Embed-Directory>lib</Embed-Directory>\r\n<Embed-Transitive>true</Embed-Transitive>\r\n```\r\n\r\nThe first line says to embed and inline all artifacts with groupId `net.sourceforge.owlapi`. This is probably intentional. The second line says to embed all artifacts that do not have groupId `net.sourceforge.owlapi`. This is probably unintentional. The third line says to embed artifacts with groupId `trove4j`. There are none, `net.sf.trovej4` was probably the intended groupId.\r\n\r\nThis configuration is a problem for us because the sesame jars are being embedded. This limits us to using the specific version of sesame (2.7.12) that is included in the disitribution. We have moved on to 2.8.6 which most likely is backwards compatible (we are still investigating that).\r\n\r\nThe intended configuration should probably be:\r\n\r\n```xml\r\n<Embed-Dependency>\r\n    groupId=${project.groupId};inline=true;scope=compile|runtime|provided,\r\n    groupId=net.sf.trove4j;scope=compile|runtime|provided;inline=false\r\n</Embed-Dependency>\r\n<Embed-Directory>lib</Embed-Directory>\r\n<Embed-Transitive>true</Embed-Transitive>\r\n```"},"comment":{"url":"https://api.github.com/repos/owlcs/owlapi/issues/comments/153183810","html_url":"https://github.com/owlcs/owlapi/issues/455#issuecomment-153183810","issue_url":"https://api.github.com/repos/owlcs/owlapi/issues/455","id":153183810,"user":{"login":"ignazio1977","id":2596901,"avatar_url":"https://avatars.githubusercontent.com/u/2596901?v=3","gravatar_id":"","url":"https://api.github.com/users/ignazio1977","html_url":"https://github.com/ignazio1977","followers_url":"https://api.github.com/users/ignazio1977/followers","following_url":"https://api.github.com/users/ignazio1977/following{/other_user}","gists_url":"https://api.github.com/users/ignazio1977/gists{/gist_id}","starred_url":"https://api.github.com/users/ignazio1977/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignazio1977/subscriptions","organizations_url":"https://api.github.com/users/ignazio1977/orgs","repos_url":"https://api.github.com/users/ignazio1977/repos","events_url":"https://api.github.com/users/ignazio1977/events{/privacy}","received_events_url":"https://api.github.com/users/ignazio1977/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T22:53:27Z","updated_at":"2015-11-02T22:53:27Z","body":"I'll see what can be done.\r\n\r\nIt's probably better to change the osgidistribution to just add headers to distribution rather than build the output from scratch anyway."}}