{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3772","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3772/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3772/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3772/events","html_url":"https://github.com/spring-projects/spring-boot/issues/3772","id":101621115,"number":3772,"title":"[spring-boot-maven-plugin] mvn release:prepare not committing changes to pom.xml","user":{"login":"wenqiW","id":4168909,"avatar_url":"https://avatars.githubusercontent.com/u/4168909?v=3","gravatar_id":"","url":"https://api.github.com/users/wenqiW","html_url":"https://github.com/wenqiW","followers_url":"https://api.github.com/users/wenqiW/followers","following_url":"https://api.github.com/users/wenqiW/following{/other_user}","gists_url":"https://api.github.com/users/wenqiW/gists{/gist_id}","starred_url":"https://api.github.com/users/wenqiW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenqiW/subscriptions","organizations_url":"https://api.github.com/users/wenqiW/orgs","repos_url":"https://api.github.com/users/wenqiW/repos","events_url":"https://api.github.com/users/wenqiW/events{/privacy}","received_events_url":"https://api.github.com/users/wenqiW/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T10:12:00Z","updated_at":"2015-08-18T10:50:59Z","closed_at":"2015-08-18T10:50:59Z","body":"when using spring-boot-maven-plugin for the deployment, it fails to tag the project and auto increase the version of the project and git commit the change to pom.xml, even I used the command -B. I didn't find anything useful online, is there any way to make it work?\r\n\r\nmy pom is as follows:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n    <modelVersion>4.0.0</modelVersion>\r\n\r\n    <groupId>xxx</groupId>\r\n    <artifactId>xxx</artifactId>\r\n    <version>1.0.7-SNAPSHOT</version>\r\n\r\n    <parent>\r\n        <groupId>org.springframework.boot</groupId>\r\n        <artifactId>spring-boot-starter-parent</artifactId>\r\n        <version>1.2.5.RELEASE</version>\r\n    </parent>\r\n\r\n......\r\n\r\n\r\n    <build>\r\n        <pluginManagement>\r\n            <plugins>\r\n                <plugin>\r\n                    <groupId>org.springframework.boot</groupId>\r\n                    <artifactId>spring-boot-maven-plugin</artifactId>\r\n                    <version>1.2.5.RELEASE</version>\r\n                </plugin>\r\n            </plugins>\r\n        </pluginManagement>\r\n        <plugins>\r\n            <plugin>\r\n                <groupId>org.springframework.boot</groupId>\r\n                <artifactId>spring-boot-maven-plugin</artifactId>\r\n                <version>1.2.5.RELEASE</version>\r\n            </plugin>\r\n        </plugins>\r\n    </build>\r\n\r\n    <repositories>\r\n        <repository>\r\n            <id>spring-releases</id>\r\n            <name>Spring Releases</name>\r\n            <url>https://repo.spring.io/libs-release</url>\r\n        </repository>\r\n    </repositories>\r\n    <pluginRepositories>\r\n        <pluginRepository>\r\n            <id>spring-releases</id>\r\n            <name>Spring Releases</name>\r\n            <url>https://repo.spring.io/libs-release</url>\r\n        </pluginRepository>\r\n    </pluginRepositories>\r\n\r\n    <distributionManagement>\r\n        <repository>\r\n            <id>nexus.releases</id>\r\n            <name>Internal Releases</name>\r\n            <url>xxxxx</url>\r\n        </repository>\r\n        <snapshotRepository>\r\n            <id>nexus.snapshots</id>\r\n            <name>Internal Releases</name>\r\n            <url>xxxx</url>\r\n        </snapshotRepository>\r\n    </distributionManagement>\r\n\r\n    <scm>\r\n        <url>xxx</url>\r\n        <connection>xxxx</connection>\r\n        <developerConnection>xxx</developerConnection>\r\n        <tag>HEAD</tag>\r\n    </scm>\r\n```\r\n\r\nTo be more precise, I am using stash instead of git, and Teamcity to test and deploy my project, but I don't think they make any difference and should behave the same as pure git and maven."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/132170334","html_url":"https://github.com/spring-projects/spring-boot/issues/3772#issuecomment-132170334","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3772","id":132170334,"user":{"login":"snicoll","id":490484,"avatar_url":"https://avatars.githubusercontent.com/u/490484?v=3","gravatar_id":"","url":"https://api.github.com/users/snicoll","html_url":"https://github.com/snicoll","followers_url":"https://api.github.com/users/snicoll/followers","following_url":"https://api.github.com/users/snicoll/following{/other_user}","gists_url":"https://api.github.com/users/snicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/snicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snicoll/subscriptions","organizations_url":"https://api.github.com/users/snicoll/orgs","repos_url":"https://api.github.com/users/snicoll/repos","events_url":"https://api.github.com/users/snicoll/events{/privacy}","received_events_url":"https://api.github.com/users/snicoll/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T10:50:59Z","updated_at":"2015-08-18T10:50:59Z","body":"Spring Boot has no \"deploy\" goal so I have no idea what you're referring to. Either way, please create a thread on stackoverflow which is better home for your question than here. Thanks."}}