Apache Camel: Fetching the source code with Git and building a tagged release

Clone the whole repository:

git clone https://git-wip-us.apache.org/repos/asf/camel.git

After the clone, you can list the tags:

cd camel
git tag -l 

For Apache Camel this is:

...
camel-2.12.0
camel-2.12.1
camel-2.12.2
camel-2.12.3
camel-2.13.0
camel-2.13.1
...

Checkout a specific tag:

git checkout tags/camel-2.13.1

Finally, you build the Camel 2.13.1 release:

mvn clean install

Original post: http://peter-on-java.blogspot.com/2014/05/apache-camel-fetching-source-code-with.html

Tags vcs camel buildtool