{"action":"created","issue":{"url":"https://api.github.com/repos/buschmais/jqassistant/issues/311","labels_url":"https://api.github.com/repos/buschmais/jqassistant/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/buschmais/jqassistant/issues/311/comments","events_url":"https://api.github.com/repos/buschmais/jqassistant/issues/311/events","html_url":"https://github.com/buschmais/jqassistant/issues/311","id":120027400,"number":311,"title":"unmarshalling bug in jpa2 plugin scanner","user":{"login":"aklemp","id":9880351,"avatar_url":"https://avatars.githubusercontent.com/u/9880351?v=3","gravatar_id":"","url":"https://api.github.com/users/aklemp","html_url":"https://github.com/aklemp","followers_url":"https://api.github.com/users/aklemp/followers","following_url":"https://api.github.com/users/aklemp/following{/other_user}","gists_url":"https://api.github.com/users/aklemp/gists{/gist_id}","starred_url":"https://api.github.com/users/aklemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aklemp/subscriptions","organizations_url":"https://api.github.com/users/aklemp/orgs","repos_url":"https://api.github.com/users/aklemp/repos","events_url":"https://api.github.com/users/aklemp/events{/privacy}","received_events_url":"https://api.github.com/users/aklemp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/buschmais/jqassistant/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/buschmais/jqassistant/milestones/8","html_url":"https://github.com/buschmais/jqassistant/milestones/1.2.0","labels_url":"https://api.github.com/repos/buschmais/jqassistant/milestones/8/labels","id":1302470,"number":8,"title":"1.2.0","description":"","creator":{"login":"DirkMahler","id":437925,"avatar_url":"https://avatars.githubusercontent.com/u/437925?v=3","gravatar_id":"","url":"https://api.github.com/users/DirkMahler","html_url":"https://github.com/DirkMahler","followers_url":"https://api.github.com/users/DirkMahler/followers","following_url":"https://api.github.com/users/DirkMahler/following{/other_user}","gists_url":"https://api.github.com/users/DirkMahler/gists{/gist_id}","starred_url":"https://api.github.com/users/DirkMahler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirkMahler/subscriptions","organizations_url":"https://api.github.com/users/DirkMahler/orgs","repos_url":"https://api.github.com/users/DirkMahler/repos","events_url":"https://api.github.com/users/DirkMahler/events{/privacy}","received_events_url":"https://api.github.com/users/DirkMahler/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":4,"state":"open","created_at":"2015-09-12T15:07:45Z","updated_at":"2015-12-02T20:41:22Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-12-02T20:19:28Z","updated_at":"2015-12-02T21:31:53Z","closed_at":null,"body":"Hi,\r\n\r\nI think, I've found a bug in the class `PersistenceXmlScannerPlugin` of the jpa2 plugin.\r\n\r\nThe `com.sun.java.xml.ns.persistence.Persistence` class is used for unmarshalling the `persistence.xml`. This does not recognize my persistence units and doesn't show any error. Just 0 persistence units in the persistence. It is working however, when using the `org.hibernate.jpamodelgen.xml.jaxb.Persistence` class. This is due to the different namespaces in JPA 1/2 (`com.sun`) and JPA 2.1 (`xmlns.jcp.org`). It would be nice, if both namespaces are supported.\r\n\r\nKind regards,\r\n  aklemp"},"comment":{"url":"https://api.github.com/repos/buschmais/jqassistant/issues/comments/161440035","html_url":"https://github.com/buschmais/jqassistant/issues/311#issuecomment-161440035","issue_url":"https://api.github.com/repos/buschmais/jqassistant/issues/311","id":161440035,"user":{"login":"obfischer","id":735022,"avatar_url":"https://avatars.githubusercontent.com/u/735022?v=3","gravatar_id":"","url":"https://api.github.com/users/obfischer","html_url":"https://github.com/obfischer","followers_url":"https://api.github.com/users/obfischer/followers","following_url":"https://api.github.com/users/obfischer/following{/other_user}","gists_url":"https://api.github.com/users/obfischer/gists{/gist_id}","starred_url":"https://api.github.com/users/obfischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obfischer/subscriptions","organizations_url":"https://api.github.com/users/obfischer/orgs","repos_url":"https://api.github.com/users/obfischer/repos","events_url":"https://api.github.com/users/obfischer/events{/privacy}","received_events_url":"https://api.github.com/users/obfischer/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T21:31:53Z","updated_at":"2015-12-02T21:31:53Z","body":"@aklemp Is it an urgent issue for you?"}}