{"action":"created","issue":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/94","repository_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin","labels_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/94/comments","events_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/94/events","html_url":"https://github.com/highsource/maven-jaxb2-plugin/issues/94","id":157760533,"number":94,"title":"Eclipse m2e generated-sources not added when using JAXB specific version","user":{"login":"DeezCashews","id":2191352,"avatar_url":"https://avatars.githubusercontent.com/u/2191352?v=3","gravatar_id":"","url":"https://api.github.com/users/DeezCashews","html_url":"https://github.com/DeezCashews","followers_url":"https://api.github.com/users/DeezCashews/followers","following_url":"https://api.github.com/users/DeezCashews/following{/other_user}","gists_url":"https://api.github.com/users/DeezCashews/gists{/gist_id}","starred_url":"https://api.github.com/users/DeezCashews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeezCashews/subscriptions","organizations_url":"https://api.github.com/users/DeezCashews/orgs","repos_url":"https://api.github.com/users/DeezCashews/repos","events_url":"https://api.github.com/users/DeezCashews/events{/privacy}","received_events_url":"https://api.github.com/users/DeezCashews/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-31T20:18:21Z","updated_at":"2016-05-31T21:02:28Z","closed_at":"2016-05-31T20:50:30Z","body":"Background: I have a project that requires use of `<jaxb:globalBindings optionalProperty=\"primitive\">`.  There is a bug in XJC 2.2 that breaks with NPE when using this.  Using `maven-jaxb2-plugin` of course then breaks because it uses most current (2.2).  Using `specVersion=\"2.1\"` still seems to run with XJC 2.2 even though source may be 2.1 compatible so error still occurs.\r\n\r\nUsing `maven-jaxb21-maven` works perfectly except when I switch to it, m2e no longer adds `target/generated-sources/xjc` as a source dir, etc.  I tried looking to see if I could see why but am not a maven plugin expert.  I also tested `maven-jaxb22-maven` and it behaved the same.\r\n\r\nTLDR; `maven-jaxb2-plugin` works with m2e perfectly.  The JAXB specific versions `maven-jaxb2x-plugin` work as described but lose control over m2e."},"comment":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/comments/222819528","html_url":"https://github.com/highsource/maven-jaxb2-plugin/issues/94#issuecomment-222819528","issue_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/94","id":222819528,"user":{"login":"highsource","id":6707996,"avatar_url":"https://avatars.githubusercontent.com/u/6707996?v=3","gravatar_id":"","url":"https://api.github.com/users/highsource","html_url":"https://github.com/highsource","followers_url":"https://api.github.com/users/highsource/followers","following_url":"https://api.github.com/users/highsource/following{/other_user}","gists_url":"https://api.github.com/users/highsource/gists{/gist_id}","starred_url":"https://api.github.com/users/highsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highsource/subscriptions","organizations_url":"https://api.github.com/users/highsource/orgs","repos_url":"https://api.github.com/users/highsource/repos","events_url":"https://api.github.com/users/highsource/events{/privacy}","received_events_url":"https://api.github.com/users/highsource/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T21:02:28Z","updated_at":"2016-05-31T21:02:28Z","body":"I just feel I have to keep silent and all the issues will go away. :)"}}
{"actor":{"display_login":"highsource"}}