{"action":"created","issue":{"url":"https://api.github.com/repos/mvc-spec/ozark/issues/4","repository_url":"https://api.github.com/repos/mvc-spec/ozark","labels_url":"https://api.github.com/repos/mvc-spec/ozark/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mvc-spec/ozark/issues/4/comments","events_url":"https://api.github.com/repos/mvc-spec/ozark/issues/4/events","html_url":"https://github.com/mvc-spec/ozark/pull/4","id":145547739,"number":4,"title":"Package MVC 1.0 RI as bundle","user":{"login":"rahmanusta","id":1158804,"avatar_url":"https://avatars.githubusercontent.com/u/1158804?v=3","gravatar_id":"","url":"https://api.github.com/users/rahmanusta","html_url":"https://github.com/rahmanusta","followers_url":"https://api.github.com/users/rahmanusta/followers","following_url":"https://api.github.com/users/rahmanusta/following{/other_user}","gists_url":"https://api.github.com/users/rahmanusta/gists{/gist_id}","starred_url":"https://api.github.com/users/rahmanusta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahmanusta/subscriptions","organizations_url":"https://api.github.com/users/rahmanusta/orgs","repos_url":"https://api.github.com/users/rahmanusta/repos","events_url":"https://api.github.com/users/rahmanusta/events{/privacy}","received_events_url":"https://api.github.com/users/rahmanusta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-03T22:34:20Z","updated_at":"2016-04-29T15:52:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mvc-spec/ozark/pulls/4","html_url":"https://github.com/mvc-spec/ozark/pull/4","diff_url":"https://github.com/mvc-spec/ozark/pull/4.diff","patch_url":"https://github.com/mvc-spec/ozark/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mvc-spec/ozark/issues/comments/215772458","html_url":"https://github.com/mvc-spec/ozark/pull/4#issuecomment-215772458","issue_url":"https://api.github.com/repos/mvc-spec/ozark/issues/4","id":215772458,"user":{"login":"chkal","id":159245,"avatar_url":"https://avatars.githubusercontent.com/u/159245?v=3","gravatar_id":"","url":"https://api.github.com/users/chkal","html_url":"https://github.com/chkal","followers_url":"https://api.github.com/users/chkal/followers","following_url":"https://api.github.com/users/chkal/following{/other_user}","gists_url":"https://api.github.com/users/chkal/gists{/gist_id}","starred_url":"https://api.github.com/users/chkal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chkal/subscriptions","organizations_url":"https://api.github.com/users/chkal/orgs","repos_url":"https://api.github.com/users/chkal/repos","events_url":"https://api.github.com/users/chkal/events{/privacy}","received_events_url":"https://api.github.com/users/chkal/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T15:52:00Z","updated_at":"2016-04-29T15:52:00Z","body":"I've some more details about this issue.\r\n\r\nIt looks like Ozark isn't picking up view engines from other CDI archives any more. They are simply not accessible via `@Inject @Any Instance<ViewEngine>`. That's why many tests are broken.\r\n\r\nI did some more debugging on this. The Weld `BeanManagerImpl` class has a field `accessibleManagers`. Before applying your patch this list contains a reference to the bean manager of the corresponding Ozark extension JAR (`ozark-freemarker.war` in my case). After applying the patch, the list is smaller and doesn't contain the bean manager any more. There is also a field `managers` which has the same size before and after applying the patch.\r\n\r\nLooks like some CDI vs OSGi issue here. Any idea?\r\n\r\nIf anyone wants to dig deeper into this, my branch is here: \r\n\r\nhttps://github.com/chkal/ozark/tree/bundle"}}