{"action":"opened","issue":{"url":"https://api.github.com/repos/share-extras/share-oauth/issues/8","repository_url":"https://api.github.com/repos/share-extras/share-oauth","labels_url":"https://api.github.com/repos/share-extras/share-oauth/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/share-extras/share-oauth/issues/8/comments","events_url":"https://api.github.com/repos/share-extras/share-oauth/issues/8/events","html_url":"https://github.com/share-extras/share-oauth/issues/8","id":151627818,"number":8,"title":"Share part no longer compiles/runs on Alfresco 5","user":{"login":"Gagravarr","id":1059677,"avatar_url":"https://avatars.githubusercontent.com/u/1059677?v=3","gravatar_id":"","url":"https://api.github.com/users/Gagravarr","html_url":"https://github.com/Gagravarr","followers_url":"https://api.github.com/users/Gagravarr/followers","following_url":"https://api.github.com/users/Gagravarr/following{/other_user}","gists_url":"https://api.github.com/users/Gagravarr/gists{/gist_id}","starred_url":"https://api.github.com/users/Gagravarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gagravarr/subscriptions","organizations_url":"https://api.github.com/users/Gagravarr/orgs","repos_url":"https://api.github.com/users/Gagravarr/repos","events_url":"https://api.github.com/users/Gagravarr/events{/privacy}","received_events_url":"https://api.github.com/users/Gagravarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-28T12:19:27Z","updated_at":"2016-04-28T12:19:27Z","closed_at":null,"body":"If you build from head and deploy onto Alfresco 5, then on hitting something like http://localhost:8081/share/service/extras/oauth/auth2-return/alfresco?code=1&endpointId=1 it will fail with\r\n\r\n```\r\njava.lang.NoSuchMethodError - org.springframework.extensions.webscripts.connector.SimpleCredentialVault.<init>(Ljava/lang/String;)V\r\n\t \r\n\torg.sharextras.webscripts.connector.OAuth2CredentialVault.<init>(OAuth2CredentialVault.java:52)\r\n```\r\n\r\nIf you change `share-oauth/pom.xml` to depend on:\r\n```\r\n        <dependency>\r\n            <groupId>org.alfresco</groupId>\r\n            <artifactId>share</artifactId>\r\n            <version>5.0.d</version>\r\n            <classifier>classes</classifier>\r\n        </dependency>\r\n```\r\nThen the module fails to compile. From a quick look, the `connector.*Credential*` classes seem to have changed quite a bit in 5"}}