Linux学习8之git选择源码版本


1.下载源码:

git clone https://github.com/Alluxio/alluxio.git


2.进入目录并查找源码版本:

xubo@xubo:~/cloud/down$ cd alluxio/
xubo@xubo:~/cloud/down/alluxio$ git tag
v0.1.0
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.4.1
v0.4.1-thrift
v0.5.0
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.6.4
v0.7.0
v0.7.1
v0.8.0
v0.8.1
v0.8.2
v1.0.0
v1.0.1

3.选择版本:

xubo@xubo:~/cloud/down/alluxio$ git checkout v0.7.1
HEAD is now at a2b69c9... [maven-release-plugin] prepare release v0.7.1

4.编译:

xubo@xubo:~/cloud/down/alluxio$ mvn clean package -Djava.version=1.7 -Dhadoop.version=2.6.0 -Dspark.version=1.5.2 -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Tachyon Parent
[INFO] Tachyon Common
[INFO] Tachyon Under File System
[INFO] Tachyon Under File System - Local FS
[INFO] Tachyon Under File System - HDFS
[INFO] Tachyon Under File System - Gluster FS
[INFO] Tachyon Under File System - Swift
[INFO] Tachyon Under File System - S3
[INFO] Tachyon Clients
[INFO] Tachyon Clients - Implementation
[INFO] Tachyon Clients - Distribution
[INFO] Tachyon Servers
[INFO] Mock Tachyon Cluster
[INFO] Tachyon Integration Tests
[INFO] Tachyon Shell
[INFO] Tachyon Examples
[INFO] Tachyon Assemblies
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Tachyon Parent 0.7.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tachyon-parent ---
[INFO] Deleting /home/xubo/cloud/down/alluxio/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ tachyon-parent ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle) @ tachyon-parent ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- license-maven-plugin:2.9:check (default) @ tachyon-parent ---
[INFO] Checking licenses...
[INFO] 
[INFO] >>> maven-source-plugin:2.3:jar (attach-sources) > generate-sources @ tachyon-parent >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ tachyon-parent ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle) @ tachyon-parent ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- license-maven-plugin:2.9:check (default) @ tachyon-parent ---
[INFO] Checking licenses...
[INFO] 
[INFO] <<< maven-source-plugin:2.3:jar (attach-sources) < generate-sources @ tachyon-parent <<<
[INFO] 
[INFO] --- maven-source-plugin:2.3:jar (attach-sources) @ tachyon-parent ---
[INFO] 
[INFO] --- maven-javadoc-plugin:2.9:jar (attach-javadoc) @ tachyon-parent ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Tachyon Common 0.7.1
[INFO] ------------------------------------------------------------------------
Downloading: https://repo1.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.jar
^C



你可能感兴趣的:(Linux学习8之git选择源码版本)