Skip to content
Andrei Mladin edited this page Jul 31, 2014 · 11 revisions

Configuration

SSH Configuration

Run ssh-agent - (in c:\Program Files (x86)\Git\bin)

  • SSH_AUTH_SOCK=/tmp/ssh-LhiYjP7924/agent.7924; export SSH_AUTH_SOCK;
  • SSH_AGENT_PID=2792; export SSH_AGENT_PID;
  • echo Agent pid 2792;

Set the following environment variable

  • C:> set SSH_AUTH_SOCK=/tmp/ssh-LhiYjP7924/agent.7924
  • C:> set SSH_AGENT_PID=2792

Add passphrase for the key file

  • C:> ssh-add "/c/Users/Anthony Whitford/.ssh/id_rsa"

Check the ssh connection with your repository provider

  • ssh -v git@bitbucket

Maven Configuration

Update scm section in pom.xml

<scm> <url>https://bitbucket.org/andreimladin/studbox</url> <connection>scm:git:ssh://git@bitbucket.org/andreimladin/studbox.git</connection> <developerConnection>scm:git:ssh://git@bitbucket.org/andreimladin/studbox.git</developerConnection> <tag>website-2.0.1</tag> </scm>

Release + Tag

  • mvn release:prepare

Release + Tag + Version

Release + Tag + Version + Deploy

Clone this wiki locally