mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
20.34.2012 dcad6ba6603a378f526d2ea6655db30f97df69da
Delegate some mindless downloading and classpath setting to Maven
1 files modified
47 ■■■■■ changed files
opendj3/src/main/docbkx/dev-guide/chap-get-sdk.xml 47 ●●●●● patch | view | raw | blame | history
opendj3/src/main/docbkx/dev-guide/chap-get-sdk.xml
@@ -33,10 +33,10 @@
 <para>This chapter introduces OpenDJ LDAP SDK, demonstrating how to get the
 software and to build a first basic directory client application.</para>
 <section xml:id="about-opendj-ldap-sdk">
  <title>About OpenDJ LDAP SDK</title>
  <para>OpenDJ LDAP SDK provides a set of modern, developer-friendly Java APIs
  as part of the OpenDJ product suite. The product suite includes the client
  SDK alongside command-line tools and sample code, a 100% pure Java directory
@@ -44,7 +44,7 @@
  use with any server that complies with the <citetitle>Lightweight Directory
  Access Protocol (LDAP): Technical Specification Road Map</citetitle>,
  <link xlink:href='http://tools.ietf.org/html/rfc4510'>RFC 4510</link>.</para>
  <para>OpenDJ LDAP SDK brings you easy-to-use connection management, connection
  pooling, load balancing, and all the standard LDAP operations to read and
  write directory entries. OpenDJ LDAP SDK also lets you build applications with
@@ -74,6 +74,46 @@
  xlink:role="http://docbook.org/xlink/role/olink"><citetitle>Java
  Environment</citetitle></link> requirements.</para>
  <procedure xml:id="use-maven">
   <title>To Include the SDK as a Maven Dependency</title>
   <para>Let that expensive computer you bought do the work.</para>
   <step>
    <para>Include the ForgeRock repository in your list, and include the SDK
    as a dependency.</para>
    <programlisting language="xml">&lt;repositories&gt;
  &lt;repository&gt;
    &lt;id&gt;forgerock-staging-repository&lt;/id&gt;
    &lt;name&gt;ForgeRock Release Repository&lt;/name&gt;
    &lt;url&gt;http://maven.forgerock.org/repo/releases&lt;/url&gt;
    &lt;snapshots&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/snapshots&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;forgerock-snapshots-repository&lt;/id&gt;
    &lt;name&gt;ForgeRock Snapshot Repository&lt;/name&gt;
    &lt;url&gt;http://maven.forgerock.org/repo/snapshots&lt;/url&gt;
    &lt;releases&gt;
      &lt;enabled&gt;false&lt;/enabled&gt;
    &lt;/releases&gt;
  &lt;/repository&gt;
&lt;/repositories&gt;
...
&lt;dependencies&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.forgerock.opendj&lt;/groupId&gt;
    &lt;artifactId&gt;opendj-ldap-sdk&lt;/artifactId&gt;
    &lt;version&gt;3.0.0-SNAPSHOT&lt;/version&gt;
  &lt;/dependency&gt;
&lt;/dependencies&gt;</programlisting>
   </step>
  </procedure>
  <procedure xml:id="install-stable-sdk">
   <title>To Install the Latest Stable SDK</title>
   <step>
@@ -131,7 +171,6 @@
    </step>
  </procedure>
  <procedure xml:id="proc-roll-your-own-sdk">
   <title>To Build Your Own SDK From Source</title>
   <step>