directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r961025 - in /websites/staging/directory/trunk/content: ./ kerby/developer-guide.html kerby/user-guide/1-how-to-begin.html
Date Fri, 07 Aug 2015 05:18:43 GMT
Author: buildbot
Date: Fri Aug  7 05:18:43 2015
New Revision: 961025

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/kerby/developer-guide.html
    websites/staging/directory/trunk/content/kerby/user-guide/1-how-to-begin.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Aug  7 05:18:43 2015
@@ -1 +1 @@
-1694197
+1694611

Modified: websites/staging/directory/trunk/content/kerby/developer-guide.html
==============================================================================
--- websites/staging/directory/trunk/content/kerby/developer-guide.html (original)
+++ websites/staging/directory/trunk/content/kerby/developer-guide.html Fri Aug  7 05:18:43
2015
@@ -168,28 +168,44 @@ h2:hover > .headerlink, h3:hover > .head
 <ul>
 <li>JDK 1.7+</li>
 <li>Maven 3.0 or later</li>
-<li>Findbugs 1.3.9 (if running findbugs)</li>
 <li>Internet connection for first build (to fetch all Maven and Kerby dependencies)</li>
 </ul>
 <h2 id="where-to-run-maven-from">Where to run Maven from?<a class="headerlink" href="#where-to-run-maven-from"
title="Permanent link">&para;</a></h2>
 <p>It should be run at the top directory of Kerby.</p>
 <h2 id="maven-build-goals">Maven build goals:<a class="headerlink" href="#maven-build-goals"
title="Permanent link">&para;</a></h2>
 <ul>
-<li>Clean         : mvn clean [-Preleasedocs]</li>
-<li>Compile       : mvn compile [-Pnative]</li>
-<li>Run tests     : mvn test [-Pnative] [-Pshelltest]</li>
+<li>Clean         : mvn clean</li>
+<li>Compile       : mvn compile</li>
+<li>Run tests     : mvn test</li>
 <li>Create JAR    : mvn package</li>
 <li>Install JAR in M2 cache   : mvn install</li>
 <li>Deploy JAR to Maven repo  : mvn deploy</li>
-<li>Build distribution        : mvn package [-Pdist][-Pdocs][-Psrc][-Pnative][-Dtar][-Preleasedocs]</li>
+<li>Build distribution        : mvn package [-Pdist]</li>
 <li>Run findbugs   : mvn compile findbugs:findbugs</li>
+<li>Run benchmarks : mvn integration-test -Pbenchmark</li>
 </ul>
 <h2 id="build-options">Build options:<a class="headerlink" href="#build-options"
title="Permanent link">&para;</a></h2>
 <ul>
-<li>To run findbugs without running tests : mvn clean package -DskipTests findbugs:findbugs
[site]</li>
-<li>Building distributions  without running tests : mvn package -Pdist -DskipTests
 (tar package in /kerby/kerby-dist/kdc-dist/target/ &amp; /kerby/kerby-dist/tool-dist/target/)</li>
-<li>Generate javadoc without running tests: mvn clean package -DskipTests javadoc:javadoc</li>
-<li>Checkstyle plugin &amp; pmd plugin are run by default. To prevent them from
running, add option [-Pnochecks], such as mvn package -Pnochecks</li>
+<li>
+<p>To run findbugs without running tests :</p>
+<p>$ mvn clean package -DskipTests findbugs:findbugs [site]</p>
+</li>
+<li>
+<p>Building distributions without running tests :</p>
+<p>$ mvn package -Pdist -DskipTests  </p>
+</li>
+</ul>
+<p>(tar package in /kerby/kerby-dist/kdc-dist/target/ &amp; /kerby/kerby-dist/tool-dist/target/)</p>
+<ul>
+<li>
+<p>Generate javadoc without running tests:</p>
+<p>$ mvn clean package -DskipTests javadoc:javadoc</p>
+</li>
+<li>
+<p>Checkstyle plugin &amp; pmd plugin are run by default. 
+To prevent them from running, add option [-Pnochecks], such as:</p>
+<p>$ mvn package -Pnochecks</p>
+</li>
 </ul>
 <h2 id="setup-intellij">Setup Intellij<a class="headerlink" href="#setup-intellij"
title="Permanent link">&para;</a></h2>
 <ol>

Modified: websites/staging/directory/trunk/content/kerby/user-guide/1-how-to-begin.html
==============================================================================
--- websites/staging/directory/trunk/content/kerby/user-guide/1-how-to-begin.html (original)
+++ websites/staging/directory/trunk/content/kerby/user-guide/1-how-to-begin.html Fri Aug
 7 05:18:43 2015
@@ -190,19 +190,20 @@ $ sh bin/kdcinit.sh [server-conf-dir] [k
 <p>The admin principal will be exported into [keytab], it will be used by kadmin tool
for the authentication. </p>
 </li>
 <li>
+<p>Start kerby-kdc-server:</p>
+<p>$ cd kerby-dist/kdc-dist
+$ sh bin/start-kdc.sh [server-conf-dir] [work-dir]</p>
+</li>
+<li>
 <p>Run kadmin to add principals:</p>
 <p>$ cd kerby-dist/kdc-dist
 $ sh bin/kadmin.sh [server-conf-dir] [-k keytab]</p>
 </li>
 </ul>
-<p>In kadmin, you can type "?" for help.</p>
+<p>The keytab file is created by the kdcinit.
+  In kadmin, you can type "?" for help.</p>
 <ul>
 <li>
-<p>Start kerby-kdc-server:</p>
-<p>$ cd kerby-dist/kdc-dist
-$ sh bin/start-kdc.sh [server-conf-dir] [work-dir]</p>
-</li>
-<li>
 <p>Run kinit:</p>
 <p>$ cd kerby-dist/tool-dist
 $ sh bin/kinit.sh [-conf client-conf-dir] [principal-name]</p>
@@ -225,7 +226,7 @@ $ sh bin/klist.sh -c [credentials-cache]
 
 <p>An example of json backend backend.conf:</p>
 <div class="codehilite"><pre><span class="n">kdc_identity_backend</span>
<span class="p">=</span> <span class="n">org</span><span class="p">.</span><span
class="n">apache</span><span class="p">.</span><span class="n">kerby</span><span
class="p">.</span><span class="n">kerberos</span><span class="p">.</span><span
class="n">kdc</span><span class="p">.</span><span class="n">identitybackend</span><span
class="p">.</span><span class="n">JsonIdentityBackend</span>
-<span class="n">backend</span><span class="p">.</span><span class="n">json</span><span
class="p">.</span><span class="n">file</span> <span class="p">=</span>
<span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span
class="n">kerby</span><span class="o">/</span><span class="n">jsonbackend</span>
+<span class="n">backend</span><span class="p">.</span><span class="n">json</span><span
class="p">.</span><span class="n">dir</span> <span class="p">=</span>
<span class="o">/</span><span class="n">tmp</span><span class="o">/</span><span
class="n">kerby</span><span class="o">/</span><span class="n">jsonbackend</span>
 </pre></div>
 
 



Mime
View raw message