{"action":"created","issue":{"url":"https://api.github.com/repos/graphhopper/graphhopper/issues/508","labels_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/508/comments","events_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/508/events","html_url":"https://github.com/graphhopper/graphhopper/issues/508","id":103017089,"number":508,"title":"It would be great to have github tags/releases for maven releases","user":{"login":"jtheuer","id":96364,"avatar_url":"https://avatars.githubusercontent.com/u/96364?v=3","gravatar_id":"","url":"https://api.github.com/users/jtheuer","html_url":"https://github.com/jtheuer","followers_url":"https://api.github.com/users/jtheuer/followers","following_url":"https://api.github.com/users/jtheuer/following{/other_user}","gists_url":"https://api.github.com/users/jtheuer/gists{/gist_id}","starred_url":"https://api.github.com/users/jtheuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtheuer/subscriptions","organizations_url":"https://api.github.com/users/jtheuer/orgs","repos_url":"https://api.github.com/users/jtheuer/repos","events_url":"https://api.github.com/users/jtheuer/events{/privacy}","received_events_url":"https://api.github.com/users/jtheuer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graphhopper/graphhopper/labels/improvement","name":"improvement","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/graphhopper/graphhopper/milestones/6","html_url":"https://github.com/graphhopper/graphhopper/milestones/0.5","labels_url":"https://api.github.com/repos/graphhopper/graphhopper/milestones/6/labels","id":735501,"number":6,"title":"0.5","description":"","creator":{"login":"karussell","id":129644,"avatar_url":"https://avatars.githubusercontent.com/u/129644?v=3","gravatar_id":"","url":"https://api.github.com/users/karussell","html_url":"https://github.com/karussell","followers_url":"https://api.github.com/users/karussell/followers","following_url":"https://api.github.com/users/karussell/following{/other_user}","gists_url":"https://api.github.com/users/karussell/gists{/gist_id}","starred_url":"https://api.github.com/users/karussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karussell/subscriptions","organizations_url":"https://api.github.com/users/karussell/orgs","repos_url":"https://api.github.com/users/karussell/repos","events_url":"https://api.github.com/users/karussell/events{/privacy}","received_events_url":"https://api.github.com/users/karussell/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":55,"state":"open","created_at":"2014-07-29T12:21:57Z","updated_at":"2015-08-25T13:44:47Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-08-25T13:01:28Z","updated_at":"2015-08-25T13:55:50Z","closed_at":null,"body":"In order to debug issues in a certain versions and do fixes or extensions it would be helpful to have github tags/releases that match exactly the released maven version. I can assist with scripting if needed, if you use the maven-release-plugin it should be able to do that for you although I found its git support a bit unstable in the last year."},"comment":{"url":"https://api.github.com/repos/graphhopper/graphhopper/issues/comments/134593667","html_url":"https://github.com/graphhopper/graphhopper/issues/508#issuecomment-134593667","issue_url":"https://api.github.com/repos/graphhopper/graphhopper/issues/508","id":134593667,"user":{"login":"jtheuer","id":96364,"avatar_url":"https://avatars.githubusercontent.com/u/96364?v=3","gravatar_id":"","url":"https://api.github.com/users/jtheuer","html_url":"https://github.com/jtheuer","followers_url":"https://api.github.com/users/jtheuer/followers","following_url":"https://api.github.com/users/jtheuer/following{/other_user}","gists_url":"https://api.github.com/users/jtheuer/gists{/gist_id}","starred_url":"https://api.github.com/users/jtheuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtheuer/subscriptions","organizations_url":"https://api.github.com/users/jtheuer/orgs","repos_url":"https://api.github.com/users/jtheuer/repos","events_url":"https://api.github.com/users/jtheuer/events{/privacy}","received_events_url":"https://api.github.com/users/jtheuer/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T13:55:50Z","updated_at":"2015-08-25T13:55:50Z","body":"We had so many problems with the git integration of the release plugin that we just created a profile that we enable when we do ```mvn clean deploy```:\r\n\r\n```\r\n\t<profiles>\r\n\t\t<profile>\r\n\t\t\t<id>create-release</id>\r\n\t\t\t<activation>\r\n\t\t\t\t<activeByDefault>false</activeByDefault>\r\n\t\t\t</activation>\r\n\t\t\t<build>\r\n\t\t\t\t<plugins>\r\n\t\t\t\t\t<plugin>\r\n\t\t\t\t\t\t<artifactId>maven-scm-plugin</artifactId>\r\n\t\t\t\t\t\t<version>1.9.2</version>\r\n\t\t\t\t\t\t<configuration>\r\n\t\t\t\t\t\t\t<tag>${project.artifactId}-${project.version}</tag>\r\n\t\t\t\t\t\t</configuration>\r\n\t\t\t\t\t\t<!-- only tag this module, not each individually -->\r\n\t\t\t\t\t\t<inherited>false</inherited>\r\n\t\t\t\t\t\t<executions>\r\n\t\t\t\t\t\t\t<execution>\r\n\t\t\t\t\t\t\t\t<id>git-tag</id>\r\n\t\t\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t\t\t<goal>tag</goal>\r\n\t\t\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t\t\t\t<phase>deploy</phase>\r\n\t\t\t\t\t\t\t</execution>\r\n\t\t\t\t\t\t</executions>\r\n\t\t\t\t\t</plugin>\r\n\t\t\t\t\t<plugin>\r\n\t\t\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t\t\t<artifactId>maven-enforcer-plugin</artifactId>\r\n\t\t\t\t\t\t<version>1.4</version>\r\n\t\t\t\t\t\t<executions>\r\n\t\t\t\t\t\t\t<execution>\r\n\t\t\t\t\t\t\t\t<id>enforce-no-snapshots</id>\r\n\t\t\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t\t\t<goal>enforce</goal>\r\n\t\t\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t\t\t\t<configuration>\r\n\t\t\t\t\t\t\t\t\t<rules>\r\n\t\t\t\t\t\t\t\t\t\t<requireReleaseVersion>\r\n\t\t\t\t\t\t\t\t\t\t\t<message>No Snapshots Allowed!</message>\r\n\t\t\t\t\t\t\t\t\t\t</requireReleaseVersion>\r\n\t\t\t\t\t\t\t\t\t</rules>\r\n\t\t\t\t\t\t\t\t\t<fail>true</fail>\r\n\t\t\t\t\t\t\t\t</configuration>\r\n\t\t\t\t\t\t\t</execution>\r\n\t\t\t\t\t\t</executions>\r\n\t\t\t\t\t</plugin>\r\n\t\t\t\t</plugins>\r\n\t\t\t</build>\r\n\t\t</profile>\r\n\t</profiles>\r\n```\r\n\r\nIf you want to try the release plugin: Your scm config https://github.com/graphhopper/graphhopper/blob/master/pom.xml#L51 is already sufficient, just run ```mvn release:prepare release:perform``` it asks you for the new version"}}