SCM doge automates Maven projects' checkout and release process - merging release branch into master, finalizing pom.xml, deploying final build.
For example running
mvn net.sf.gavgav:scm-doge-maven-plugin:release -Duser=scmUser -Dproject=groupId:artifactId:version
performs the following steps:
1. Checkout project and all -SNAPSHOT dependencies (including transitive.)
2. Finalize pom.xml(s) by removing -SNAPSHOT suffixes.
3. Build and deploy project and dependencies to Maven repository.
4. Merge project and dependencies to SCM (to Git's master branch.)
5. Convert release project and dependencies release branch into tag.
To facilitate the process pom.xml(s) must include an scm entry with developerConnection and current release branch:
<scm>
<developerConnection>scm:git:ssh://host/path/repo.git</developerConnection>
<tag>release/1.0.0</tag>
</scm>
scm-doge-maven-plugin
Brought to you by:
okanarbik
Downloads:
0 This Week