{"action":"created","issue":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/34","labels_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/34/comments","events_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/34/events","html_url":"https://github.com/highsource/maven-jaxb2-plugin/issues/34","id":53987944,"number":34,"title":"Add ability to define endorsed dirs in order to select specific JAXB implementations ","user":{"login":"himslm01","id":1175979,"avatar_url":"https://avatars.githubusercontent.com/u/1175979?v=3","gravatar_id":"","url":"https://api.github.com/users/himslm01","html_url":"https://github.com/himslm01","followers_url":"https://api.github.com/users/himslm01/followers","following_url":"https://api.github.com/users/himslm01/following{/other_user}","gists_url":"https://api.github.com/users/himslm01/gists{/gist_id}","starred_url":"https://api.github.com/users/himslm01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himslm01/subscriptions","organizations_url":"https://api.github.com/users/himslm01/orgs","repos_url":"https://api.github.com/users/himslm01/repos","events_url":"https://api.github.com/users/himslm01/events{/privacy}","received_events_url":"https://api.github.com/users/himslm01/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"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},"milestone":null,"comments":11,"created_at":"2015-01-11T10:28:00Z","updated_at":"2015-01-22T14:36:26Z","closed_at":"2015-01-22T14:36:26Z","body":"Other plugin artifacts, for instance maven-compiler-plugin, allow arguments to be added which set the compiler's endorsed dirs.\r\n\r\n<endorseddirs>${endorsed.dir}</endorseddirs>\r\n\r\nThat allows one build machine using one JRE to switch which JAXB implementation to use.\r\n\r\nI would like to do similar in maven-jaxb2-plugin.\r\n\r\nI tried:\r\n                <args>\r\n                  <arg>-Djava.endorsed.dirs=${endorsed.dir}</arg>\r\n                </args>\r\n\r\nbut the JAXB API is still loaded from the system's Java and not from the ${endorsed.dir}\r\n\r\n[INFO] Started execution.\r\n[INFO] JAXB API is loaded from the [jar:file:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar!].\r\n[INFO] Detected JAXB API version [2.1].\r\n"},"comment":{"url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/comments/71028896","html_url":"https://github.com/highsource/maven-jaxb2-plugin/issues/34#issuecomment-71028896","issue_url":"https://api.github.com/repos/highsource/maven-jaxb2-plugin/issues/34","id":71028896,"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":"2015-01-22T14:36:26Z","updated_at":"2015-01-22T14:36:26Z","body":"Closing with won't fix. Check for prerequisites will be contonued in #38."}}