You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bu...@apache.org on 2014/05/27 17:38:15 UTC
svn commit: r1597808 - /accumulo/site/trunk/content/source.mdtext
Author: busbey
Date: Tue May 27 15:38:15 2014
New Revision: 1597808
URL: http://svn.apache.org/r1597808
Log:
CMS commit to accumulo by busbey
Modified:
accumulo/site/trunk/content/source.mdtext
Modified: accumulo/site/trunk/content/source.mdtext
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/source.mdtext?rev=1597808&r1=1597807&r2=1597808&view=diff
==============================================================================
--- accumulo/site/trunk/content/source.mdtext (original)
+++ accumulo/site/trunk/content/source.mdtext Tue May 27 15:38:15 2014
@@ -66,6 +66,8 @@ To check out the code:
#### Running a Build
+Accumulo uses [Apache Maven][maven] to handle source building, testing, and packaging. To build Accumulo you will need to use Maven version 3.0.4 or later.
+
To build the code:
mvn package -P assemble
@@ -74,6 +76,16 @@ This will create a file accumulo-*-SNAPS
For older branches, "mvn package && mvn assembly:single" may be required instead, and the tar will be built in the target directory.
+If you regularly switch between major development branches, you may receive errors about improperly licensed files from the [RAT plugin][1]. This is caused by modules that exist in one branch and not the other leaving Maven build files that the RAT plugin no longer understands how to ignore.
+
+The easiest fix is to ensure all of your current changes are stored in git and then cleaning your workspace.
+
+ git add path/to/file/that/has/changed
+ git add path/to/other/file
+ git clean -xdf
+
+Note that this git clean command will delete any files unknown to git in a way that is irreversible.
+
### Continuous Integration
Accumulo uses [Jenkins][jenkins] for automatic builds.
@@ -147,3 +159,6 @@ Accumulo's release guide can be found [h
[git]: http://git-scm.com/
[cgit]: https://git-wip-us.apache.org/repos/asf?p=accumulo.git;a=summary
[anongit]: http://git-wip-us.apache.org/repos/asf/accumulo.git
+
+
+ [1]: http://creadur.apache.org/rat/apache-rat-plugin/
\ No newline at end of file