构建Flume
1 下载代码
git clone https://git-wip-us.apache.org/repos/asf/flume.git
2 执行编译
1. Compile only: mvn clean compile
2. Compile and run unit tests: mvn clean test
3. Run individual test(s): mvn clean test -Dtest=<Test1>,<Test2>,... -
DfailIfNoTests=false
4. Create tarball package: mvn clean install
5. Create tarball package (skip unit tests): mvn clean install -DskipTests