Author: buildbot
Date: Tue May 27 15:38:27 2014
New Revision: 910118

Log:
Staging update by buildbot for accumulo

Modified:
    websites/staging/accumulo/trunk/content/   (props changed)
    websites/staging/accumulo/trunk/content/source.html

Propchange: websites/staging/accumulo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue May 27 15:38:27 2014
@@ -1 +1 @@
-1597697
+1597808

Modified: websites/staging/accumulo/trunk/content/source.html
==============================================================================
--- websites/staging/accumulo/trunk/content/source.html (original)
+++ websites/staging/accumulo/trunk/content/source.html Tue May 27 15:38:27 2014
@@ -219,6 +219,7 @@ need to install or modify the Thrift def
 
 
 <h4 id="running-a-build">Running a Build</h4>
+<p>Accumulo uses  <a href="http://maven.apache.org/";>Apache Maven</a> to 
handle source building, testing, and packaging. To build Accumulo you will need 
to use Maven version 3.0.4 or later.</p>
 <p>To build the code:</p>
 <div class="codehilite"><pre><span class="n">mvn</span> <span 
class="n">package</span> <span class="o">-</span><span class="n">P</span> <span 
class="n">assemble</span>
 </pre></div>
@@ -226,6 +227,15 @@ need to install or modify the Thrift def
 
 <p>This will create a file accumulo-*-SNAPSHOT-dist.tar.gz in the 
assemble/target directory.</p>
 <p>For older branches, "mvn package &amp;&amp; mvn assembly:single" may be 
required instead, and the tar will be built in the target directory.</p>
+<p>If you regularly switch between major development branches, you may receive 
errors about improperly licensed files from the <a 
href="http://creadur.apache.org/rat/apache-rat-plugin/";>RAT plugin</a>. 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.</p>
+<p>The easiest fix is to ensure all of your current changes are stored in git 
and then cleaning your workspace.</p>
+<div class="codehilite"><pre><span class="n">git</span> <span 
class="n">add</span> <span class="n">path</span><span class="o">/</span><span 
class="n">to</span><span class="o">/</span><span class="n">file</span><span 
class="o">/</span><span class="n">that</span><span class="o">/</span><span 
class="n">has</span><span class="o">/</span><span class="n">changed</span>
+<span class="n">git</span> <span class="n">add</span> <span 
class="n">path</span><span class="o">/</span><span class="n">to</span><span 
class="o">/</span><span class="n">other</span><span class="o">/</span><span 
class="n">file</span>
+<span class="n">git</span> <span class="n">clean</span> <span 
class="o">-</span><span class="n">xdf</span>
+</pre></div>
+
+
+<p>Note that this git clean command will delete any files unknown to git in a 
way that is irreversible. </p>
 <h3 id="continuous-integration">Continuous Integration</h3>
 <p>Accumulo uses <a href="http://jenkins-ci.org/";>Jenkins</a> for automatic 
builds.</p>
 <p><img 
src="https://builds.apache.org/job/Accumulo-Master/lastBuild/buildStatus"; 
style="height: 1.1em"> <a 
href="https://builds.apache.org/job/Accumulo-Master/";>Master</a></p>


Reply via email to