You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2011/10/19 10:05:41 UTC

svn commit: r1186018 - in /directory/documentation/ldap-api-manuals/trunk: README.txt lib/ lib/license.html lib/org.eclipse.mylyn.wikitext.confluence.core_1.6.0.I20110917-1827.jar lib/org.eclipse.mylyn.wikitext.core_1.6.0.I20110917-1827.jar pom.xml

Author: elecharny
Date: Wed Oct 19 08:05:40 2011
New Revision: 1186018

URL: http://svn.apache.org/viewvc?rev=1186018&view=rev
Log:
Added common elements to the ldap-api doco project

Added:
    directory/documentation/ldap-api-manuals/trunk/README.txt
    directory/documentation/ldap-api-manuals/trunk/lib/
    directory/documentation/ldap-api-manuals/trunk/lib/license.html
    directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.confluence.core_1.6.0.I20110917-1827.jar   (with props)
    directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.core_1.6.0.I20110917-1827.jar   (with props)
    directory/documentation/ldap-api-manuals/trunk/pom.xml

Added: directory/documentation/ldap-api-manuals/trunk/README.txt
URL: http://svn.apache.org/viewvc/directory/documentation/ldap-api-manuals/trunk/README.txt?rev=1186018&view=auto
==============================================================================
--- directory/documentation/ldap-api-manuals/trunk/README.txt (added)
+++ directory/documentation/ldap-api-manuals/trunk/README.txt Wed Oct 19 08:05:40 2011
@@ -0,0 +1,8 @@
+Build the manuals by executing
+$ mvn clean pre-site
+
+Deploy the manuals by executing
+$ mvn clean site-deploy [-DdistMgmtSiteUrl=....]
+
+The property 'distMgmtSiteUrl' defaults to 'scpexe://people.apache.org/www/directory.apache.org/apacheds',
+but can be overridden to any other location by adding the property to the command line
\ No newline at end of file

Added: directory/documentation/ldap-api-manuals/trunk/lib/license.html
URL: http://svn.apache.org/viewvc/directory/documentation/ldap-api-manuals/trunk/lib/license.html?rev=1186018&view=auto
==============================================================================
--- directory/documentation/ldap-api-manuals/trunk/lib/license.html (added)
+++ directory/documentation/ldap-api-manuals/trunk/lib/license.html Wed Oct 19 08:05:40 2011
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+<title>Eclipse Foundation Software User Agreement</title>
+</head>
+
+<body lang="EN-US">
+<h2>Eclipse Foundation Software User Agreement</h2>
+<p>February 1, 2011</p>
+
+<h3>Usage Of Content</h3>
+
+<p>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS
+   (COLLECTIVELY &quot;CONTENT&quot;).  USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND
+   CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW.  BY USING THE CONTENT, YOU AGREE THAT YOUR USE
+   OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR
+   NOTICES INDICATED OR REFERENCED BELOW.  IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND
+   CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.</p>
+
+<h3>Applicable Licenses</h3>
+
+<p>Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0
+   (&quot;EPL&quot;).  A copy of the EPL is provided with this Content and is also available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+   For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code
+   repository (&quot;Repository&quot;) in software modules (&quot;Modules&quot;) and made available as downloadable archives (&quot;Downloads&quot;).</p>
+
+<ul>
+       <li>Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content.  Typical modules may include plug-ins (&quot;Plug-ins&quot;), plug-in fragments (&quot;Fragments&quot;), and features (&quot;Features&quot;).</li>
+       <li>Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java&trade; ARchive) in a directory named &quot;plugins&quot;.</li>
+       <li>A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.  Each Feature may be packaged as a sub-directory in a directory named &quot;features&quot;.  Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of the Plug-ins
+      and/or Fragments associated with that Feature.</li>
+       <li>Features may also include other Features (&quot;Included Features&quot;). Within a Feature, files named &quot;feature.xml&quot; may contain a list of the names and version numbers of Included Features.</li>
+</ul>
+
+<p>The terms and conditions governing Plug-ins and Fragments should be contained in files named &quot;about.html&quot; (&quot;Abouts&quot;). The terms and conditions governing Features and
+Included Features should be contained in files named &quot;license.html&quot; (&quot;Feature Licenses&quot;).  Abouts and Feature Licenses may be located in any directory of a Download or Module
+including, but not limited to the following locations:</p>
+
+<ul>
+       <li>The top-level (root) directory</li>
+       <li>Plug-in and Fragment directories</li>
+       <li>Inside Plug-ins and Fragments packaged as JARs</li>
+       <li>Sub-directories of the directory named &quot;src&quot; of certain Plug-ins</li>
+       <li>Feature directories</li>
+</ul>
+
+<p>Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license (&quot;Feature Update License&quot;) during the
+installation process.  If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or
+inform you where you can locate them.  Feature Update Licenses may be found in the &quot;license&quot; property of files named &quot;feature.properties&quot; found within a Feature.
+Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in
+that directory.</p>
+
+<p>THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.  SOME OF THESE
+OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</p>
+
+<ul>
+       <li>Eclipse Distribution License Version 1.0 (available at <a href="http://www.eclipse.org/licenses/edl-v10.html">http://www.eclipse.org/licenses/edl-v1.0.html</a>)</li>
+       <li>Common Public License Version 1.0 (available at <a href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</a>)</li>
+       <li>Apache Software License 1.1 (available at <a href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</a>)</li>
+       <li>Apache Software License 2.0 (available at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a>)</li>
+       <li>Metro Link Public License 1.00 (available at <a href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</a>)</li>
+       <li>Mozilla Public License Version 1.1 (available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>)</li>
+</ul>
+
+<p>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT.  If no About, Feature License, or Feature Update License is provided, please
+contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.</p>
+
+
+<h3>Use of Provisioning Technology</h3>
+
+<p>The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse
+   Update Manager (&quot;Provisioning Technology&quot;) for the purpose of allowing users to install software, documentation, information and/or
+   other materials (collectively &quot;Installable Software&quot;). This capability is provided with the intent of allowing such users to
+   install, extend and update Eclipse-based products. Information about packaging Installable Software is available at <a
+       href="http://eclipse.org/equinox/p2/repository_packaging.html">http://eclipse.org/equinox/p2/repository_packaging.html</a>
+   (&quot;Specification&quot;).</p>
+
+<p>You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the
+   applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology
+   in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the
+   Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:</p>
+
+<ol>
+       <li>A series of actions may occur (&quot;Provisioning Process&quot;) in which a user may execute the Provisioning Technology
+       on a machine (&quot;Target Machine&quot;) with the intent of installing, extending or updating the functionality of an Eclipse-based
+       product.</li>
+       <li>During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be
+       accessed and copied to the Target Machine.</li>
+       <li>Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable
+       Software (&quot;Installable Software Agreement&quot;) and such Installable Software Agreement shall be accessed from the Target
+       Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern
+       the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such
+       indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.</li>
+</ol>
+
+<h3>Cryptography</h3>
+
+<p>Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to
+   another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import,
+   possession, or use, and re-export of encryption software, to see if this is permitted.</p>
+
+<p><small>Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.</small></p>
+</body>
+</html>

Added: directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.confluence.core_1.6.0.I20110917-1827.jar
URL: http://svn.apache.org/viewvc/directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.confluence.core_1.6.0.I20110917-1827.jar?rev=1186018&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.confluence.core_1.6.0.I20110917-1827.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.core_1.6.0.I20110917-1827.jar
URL: http://svn.apache.org/viewvc/directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.core_1.6.0.I20110917-1827.jar?rev=1186018&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/documentation/ldap-api-manuals/trunk/lib/org.eclipse.mylyn.wikitext.core_1.6.0.I20110917-1827.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/documentation/ldap-api-manuals/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/documentation/ldap-api-manuals/trunk/pom.xml?rev=1186018&view=auto
==============================================================================
--- directory/documentation/ldap-api-manuals/trunk/pom.xml (added)
+++ directory/documentation/ldap-api-manuals/trunk/pom.xml Wed Oct 19 08:05:40 2011
@@ -0,0 +1,454 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<project
+  xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.directory.project</groupId>
+    <artifactId>project</artifactId>
+    <version>24</version>
+    <relativePath/>
+  </parent>
+
+  <groupId>org.apache.directory.apacheds</groupId>
+  <artifactId>manuals</artifactId>
+  <version>2.0.0-M4-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>ApacheDS Manuals</name>
+
+  <properties>
+    <distMgmtSiteUrl>scpexe://people.apache.org/www/directory.apache.org/apacheds</distMgmtSiteUrl>
+  </properties>
+
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.apache.org/jira/browse/DIRSERVER</url>
+  </issueManagement>
+
+  <distributionManagement>
+    <site>
+      <id>apache.release</id>
+      <url>${distMgmtSiteUrl}</url>
+    </site>
+  </distributionManagement>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludeSubProjects>false</excludeSubProjects>
+            <excludes>
+              <!-- MAVEN_DEFAULT_EXCLUDES -->
+              <exclude>**/target/**/*</exclude>
+              <exclude>**/cobertura.ser</exclude>
+              <!-- ECLIPSE_DEFAULT_EXCLUDES -->
+              <exclude>**/.classpath</exclude>
+              <exclude>**/.project</exclude>
+              <exclude>**/.settings/**/*</exclude>
+              <!-- IDEA_DEFAULT_EXCLUDES -->
+              <exclude>**/*.iml</exclude>
+              <exclude>**/*.ipr</exclude>
+              <exclude>**/*.iws</exclude>
+              <!-- MANIFEST_MF_EXCLUDES -->
+              <exclude>**/MANIFEST.MF</exclude>
+              <!-- Missing license header in dependency reduced pom, see http://jira.codehaus.org/browse/MSHADE-48 -->
+              <exclude>**/dependency-reduced-pom.xml</exclude>
+              <!-- LDIF_FILES_EXCLUDES -->
+              <exclude>**/*.ldif</exclude>
+              <exclude>**/*.schema</exclude>
+              <exclude>**/*.css</exclude>
+              <!-- LOG_FILES_EXCLUDES -->
+              <exclude>**/*.log</exclude>
+              <exclude>**/*.confluence</exclude>
+              <exclude>**/*.txt</exclude>
+            </excludes>
+          </configuration>
+         </plugin>
+      </plugins>
+    </pluginManagement>
+
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh</artifactId>
+      </extension>
+    </extensions>  
+    <!-- ======================================= -->
+    <!-- ATTENTION                               -->
+    <!-- Order of the plugins matters!           -->
+    <!-- 1. maven-antrun-plugin                  -->
+    <!-- 2. maven-dependency-plugin              -->
+    <!-- 3. docbkx-maven-plugin                  -->
+    <!-- 4. maven-assembly-plugin                -->
+    <!-- 5. maven-site-plugin                    -->
+    <!-- ======================================= -->
+    <plugins>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>convert-basic-confluence</id>
+            <phase>pre-site</phase>
+            <configuration>
+              <target>
+                <!-- choose all files listed in book.txt -->
+                <loadfile srcfile="${basedir}/src/basic-user-guide-confluence/book.txt" property="inputfiles">
+                  <filterchain>
+                    <tokenfilter>
+                      <replacestring from="\n" to=","/>
+                    </tokenfilter>
+                  </filterchain>
+                </loadfile>
+                <!-- concat all files listed in book.txt to a single file -->
+                <concat destfile="${project.build.directory}/generated-sources/basic-user-guide-confluence/book.confluence" append="false" fixlastline="yes">
+                  <filelist dir="${basedir}/src/basic-user-guide-confluence" files="${inputfiles}"/>
+                </concat>
+                <!-- load eclispe mylyn wikitext ant task -->
+                <path id="wikitext.classpath">
+                  <fileset dir="${basedir}/lib">
+                    <include name="org.eclipse.mylyn.wikitext.*core*.jar"/>
+                  </fileset>
+                </path>
+                <taskdef classpathref="wikitext.classpath"
+                        resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
+                <!-- convert single confluence wiki file to docbook -->
+                <wikitext-to-docbook markupLanguage="Confluence" doctype=""
+                  bookTitle="ApacheDS Basic User Guide v${project.version}">
+                  <fileset dir="${project.build.directory}/generated-sources/basic-user-guide-confluence">
+                    <include name="book.confluence"/>
+                  </fileset>
+                </wikitext-to-docbook>
+              </target>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+        
+      </plugin>
+      <plugin>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+          <id>extract-images-from-docbook-xsl</id>
+          <phase>pre-site</phase>
+          <configuration>
+            <artifactItems>
+              <artifactItem>
+                <artifactId>docbook-xsl</artifactId>
+                <groupId>net.sf.docbook</groupId>
+                <version>1.76.1</version>
+                <classifier>ns-resources</classifier>
+                <type>zip</type>
+              </artifactItem>
+            </artifactItems>
+            <includes>**\/*.gif</includes>
+            <outputDirectory>${project.build.directory}/docbook-xsl</outputDirectory>
+          </configuration>
+          <goals>
+          <goal>unpack</goal>
+          </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <!-- http://docbkx-tools.sourceforge.net/docbkx-maven-plugin/plugin-info.html -->
+        <groupId>com.agilejava.docbkx</groupId>
+        <artifactId>docbkx-maven-plugin</artifactId>
+        <!--
+        Not sure if we can use this when scoping it "runtime". Because of license issues we can't redistribute it.
+        But scoping it runtime it may be OK.
+        TODO check license issue.
+        http://xmlgraphics.apache.org/fop/0.95/hyphenation.html#license-issues
+        <dependencies>
+          <dependency>
+            <groupId>net.sf.offo</groupId>
+            <artifactId>fop-hyph</artifactId>
+            <version>1.2</version>
+            <scope>runtime</scope>
+          </dependency>
+        </dependencies>
+        -->
+
+        <configuration>
+          <!-- shared configuration -->
+          <!-- <tocSectionDepth>2</tocSectionDepth> -->
+          <chunkedOutput>true</chunkedOutput>
+          <includes>book.xml</includes>
+          <draftMode>yes</draftMode>
+          <xincludeSupported>true</xincludeSupported>
+          <paperType>A4</paperType>
+          <fop1Extensions>1</fop1Extensions>
+          <htmlCustomization>${basedir}/src/docbkx-stylesheet/html/docbook.xsl</htmlCustomization>
+          <foCustomization>${basedir}/src/docbkx-stylesheet/fo/docbook.xsl</foCustomization>
+        </configuration>
+
+        <executions>
+          <execution>
+            <id>gen-html-basic-confluence</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-html</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${project.build.directory}/generated-sources/basic-user-guide-confluence</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/basic-user-guide-confluence-${project.version}/html</targetDirectory>
+              <postProcess>
+                <!-- Copy the images -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-confluence-${project.version}/html/images">
+                  <fileset dir="${basedir}/src/basic-user-guide-confluence/images" />
+                </copy>
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-confluence-${project.version}/html/images">
+                  <fileset dir="${project.build.directory}/docbook-xsl/docbook/images" />
+                </copy>
+                <!-- Copy the css -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-confluence-${project.version}/html">
+                  <fileset dir="${basedir}/src/main/resources/css" />
+                </copy>
+                <!-- Copy the data -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-confluence-${project.version}/html/data">
+                  <fileset dir="${basedir}/src/basic-user-guide-confluence/data" />
+                </copy>
+              </postProcess>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-pdf-basic-confluence</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${project.build.directory}/generated-sources/basic-user-guide-confluence</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/basic-user-guide-confluence-${project.version}/pdf</targetDirectory>
+              <imgSrcPath>${basedir}/src/basic-user-guide-confluence/</imgSrcPath>
+              <admonGraphicsPath>${project.build.directory}/docbook-xsl/docbook/images/</admonGraphicsPath>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-html-basic</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-html</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${basedir}/src/basic-user-guide</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html</targetDirectory>
+              <postProcess>
+                <!-- Copy the images -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html/images">
+                  <fileset dir="${basedir}/src/basic-user-guide/images" />
+                </copy>
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html/images">
+                  <fileset dir="${project.build.directory}/docbook-xsl/docbook/images" />
+                </copy>
+                <!-- Copy the css -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html">
+                  <fileset dir="${basedir}/src/main/resources/css" />
+                </copy>
+                <!-- Copy the data -->
+                <copy todir="${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/html/data">
+                  <fileset dir="${basedir}/src/basic-user-guide/data" />
+                </copy>
+              </postProcess>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-pdf-basic</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${basedir}/src/basic-user-guide</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/pdf</targetDirectory>
+              <imgSrcPath>${basedir}/src/basic-user-guide/</imgSrcPath>
+              <admonGraphicsPath>${project.build.directory}/docbook-xsl/docbook/images/</admonGraphicsPath>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-html-advanced</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-html</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${basedir}/src/advanced-user-guide</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html</targetDirectory>
+              <postProcess>
+                <!-- Copy the images -->
+                <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html/images">
+                  <fileset dir="${basedir}/src/advanced-user-guide/images" />
+                </copy>
+                <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html/images">
+                  <fileset dir="${project.build.directory}/docbook-xsl/docbook/images" />
+                </copy>
+                <!-- Copy the css -->
+                <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html">
+                  <fileset dir="${basedir}/src/main/resources/css" />
+                </copy>
+                <!-- Copy the data -->
+                <copy todir="${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/html/data">
+                  <fileset dir="${basedir}/src/advanced-user-guide/data" />
+                </copy>
+              </postProcess>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-pdf-advanced</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${basedir}/src/advanced-user-guide</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/pdf</targetDirectory>
+              <imgSrcPath>${basedir}/src/advanced-user-guide/</imgSrcPath>
+              <admonGraphicsPath>${project.build.directory}/docbook-xsl/docbook/images/</admonGraphicsPath>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-html-api</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-html</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${basedir}/src/ldap-api-user-guide</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/ldap-api-user-guide-${project.version}/html</targetDirectory>
+              <postProcess>
+                <!-- Copy the images -->
+                <copy todir="${project.build.directory}/docbook/manuals/ldap-api-user-guide-${project.version}/html/images">
+                  <fileset dir="${basedir}/src/ldap-api-user-guide/images" />
+                </copy>
+                <copy todir="${project.build.directory}/docbook/manuals/ldap-api-user-guide-${project.version}/html/images">
+                  <fileset dir="${project.build.directory}/docbook-xsl/docbook/images" />
+                </copy>
+                <!-- Copy the css -->
+                <copy todir="${project.build.directory}/docbook/manuals/ldap-api-user-guide-${project.version}/html">
+                  <fileset dir="${basedir}/src/main/resources/css" />
+                </copy>
+                <!-- Copy the data -->
+                <copy todir="${project.build.directory}/docbook/manuals/ldap-api-user-guide-${project.version}/html/data">
+                  <fileset dir="${basedir}/src/ldap-api-user-guide/data" />
+                </copy>
+              </postProcess>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-pdf-ldap-api</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <configuration>
+              <!-- per execution configuration -->
+              <sourceDirectory>${basedir}/src/ldap-api-user-guide</sourceDirectory>
+              <targetDirectory>${project.build.directory}/docbook/manuals/ldap-api-user-guide-${project.version}/pdf</targetDirectory>
+              <imgSrcPath>${basedir}/src/ldap-api-user-guide/</imgSrcPath>
+              <admonGraphicsPath>${project.build.directory}/docbook-xsl/docbook/images/</admonGraphicsPath>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>gen-basic-zip</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>apacheds-${project.version}</finalName>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/basic-user-guide.xml</descriptor>
+              </descriptors>
+              <outputDirectory>${project.build.directory}/docbook/manuals/basic-user-guide-${project.version}/zip</outputDirectory>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>gen-advanced-zip</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>apacheds-${project.version}</finalName>
+              <descriptors>
+                <descriptor>${basedir}/src/main/assembly/advanced-user-guide.xml</descriptor>
+              </descriptors>
+              <outputDirectory>${project.build.directory}/docbook/manuals/advanced-user-guide-${project.version}/zip</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <generateReports>false</generateReports>
+          <inputDirectory>target/docbook</inputDirectory>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+          <useReleaseProfile>false</useReleaseProfile>
+          <goals>deploy site-deploy</goals>
+          <arguments>-Prelease ${release.altDeploymentRepository} -DupdateReleaseInfo=true</arguments>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/directory/documentation/apacheds-manuals/trunk</connection>
+    <url>http://svn.apache.org/repos/asf/directory/documentation/apacheds-manuals/trunk</url>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/directory/documentation/apacheds-manuals/trunk</developerConnection>
+  </scm>
+
+</project>