构建Flume

1 下载代码

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

2 执行编译

  1. 1. Compile only: mvn clean compile
  2. 2. Compile and run unit tests: mvn clean test
  3. 3. Run individual test(s): mvn clean test -Dtest=<Test1>,<Test2>,... -
  4. DfailIfNoTests=false
  5. 4. Create tarball package: mvn clean install
  6. 5. Create tarball package (skip unit tests): mvn clean install -DskipTests