You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2017/05/13 10:45:16 UTC

commons-compress git commit: add build instructions

Repository: commons-compress
Updated Branches:
  refs/heads/master e97823fb5 -> d963577ef


add build instructions


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/d963577e
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/d963577e
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/d963577e

Branch: refs/heads/master
Commit: d963577ef9bc99dd801ef6a5efbcda04e42268d9
Parents: e97823f
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sat May 13 12:44:57 2017 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sat May 13 12:44:57 2017 +0200

----------------------------------------------------------------------
 BUILDING.md | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/d963577e/BUILDING.md
----------------------------------------------------------------------
diff --git a/BUILDING.md b/BUILDING.md
new file mode 100644
index 0000000..0790010
--- /dev/null
+++ b/BUILDING.md
@@ -0,0 +1,39 @@
+= Building Apache Commons Compress
+
+In order to build Commons Compress a JDK implementation 1.7 or higher
+and Apache Maven 3.x are required.
+
+To install the jars into your local Maven repository simply run
+
+    mvn clean install
+
+which will also run the unit tests.
+
+Some tests are only run when specific profiles are enabled, these
+tests require a lot of disk space as they test behavior for very large
+archives.
+
+    mvn test -Prun-tarit
+
+runs tests for tar archives and requires more than 8GiB of disk space.
+
+    mvn test -Prun-zipit
+
+runs tests for zip archives that require up to 20 GiB of disk
+space. In addition the tests will run for a long time (more then ten
+minutes, maybe even longer depending on your hardware) and heavily
+load the CPU at times.
+
+== Building the Site
+
+The site build produces license release audit (aka RAT) reports as
+well as PMD and findbugs reports. Clirr didn't work for us anymore so
+we switched to japicmp, the same is true for Cobertura which we had to
+replace with jacoco.
+
+japicmp requires the jar to be present when the site is built,
+therefore the package goal must be executed before creating the site.
+
+    mvn package site -Pjacoco
+
+builds the site.