From 82d76caa80d9ffd868eb42a4021a6dcdb7c5eb7a Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Thu, 22 Jan 2015 13:14:27 +0000
Subject: [PATCH] CR-5834 OPENDJ-1747 Test latest doc build plugin
---
opendj-sdk/pom.xml | 61 ++++++++++++------------------
1 files changed, 24 insertions(+), 37 deletions(-)
diff --git a/opendj-sdk/pom.xml b/opendj-sdk/pom.xml
index 7a44f89..ea9e1b1 100644
--- a/opendj-sdk/pom.xml
+++ b/opendj-sdk/pom.xml
@@ -21,7 +21,7 @@
!
! CDDL HEADER END
!
- ! Copyright 2011-2014 ForgeRock AS
+ ! Copyright 2011-2015 ForgeRock AS.
!
-->
<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/xsd/maven-4.0.0.xsd">
@@ -136,7 +136,7 @@
<docPreviousVersion>2.6.0</docPreviousVersion>
<sdkDocTargetVersion>${docTargetVersion}</sdkDocTargetVersion>
- <frDocPluginVersion>2.1.5</frDocPluginVersion>
+ <frDocPluginVersion>3.0.0-SNAPSHOT</frDocPluginVersion>
<gaId>UA-23412190-8</gaId>
<siteDistributionURL>scp://forgerock.org/var/www/vhosts/opendj.forgerock.org/httpdocs</siteDistributionURL>
@@ -157,7 +157,7 @@
<configRefBase>http://opendj.forgerock.org/opendj-server/configref/</configRefBase>
<serverJavadocBase>http://opendj.forgerock.org/opendj-server/javadoc/</serverJavadocBase>
<sdkJavadocBase>http://opendj.forgerock.org/opendj-core/apidocs/</sdkJavadocBase>
- <!-- END Documentation properties -->
+ <!-- END Documentation properties -->
</properties>
<build>
<plugins>
@@ -167,58 +167,45 @@
<version>${frDocPluginVersion}</version>
<inherited>false</inherited>
<configuration>
+ <!-- Standard configuration -->
<projectName>OpenDJ</projectName>
<projectVersion>${docTargetVersion}</projectVersion>
- <latestJson>http://docs.forgerock.org/latest.json</latestJson>
+ <releaseVersion>${docTargetVersion}</releaseVersion>
<googleAnalyticsId>${gaId}</googleAnalyticsId>
+
+ <!-- JCite SDK Example code -->
+ <jCiteSourcePaths>
+ <jCiteSourcePath>${project.basedir}/opendj-ldap-sdk-examples/src/main/java</jCiteSourcePath>
+ </jCiteSourcePaths>
</configuration>
<executions>
<execution>
- <id>copy-common</id>
- <phase>pre-site</phase>
- <goals>
- <goal>boilerplate</goal>
- </goals>
- </execution>
- <execution>
- <id>filter-sources</id>
+ <id>pre-process-doc</id>
<phase>pre-site</phase>
<goals>
- <goal>filter</goal>
+ <goal>process</goal>
</goals>
</execution>
<execution>
- <id>run-jcite</id>
+ <id>build-doc</id>
<phase>pre-site</phase>
- <configuration>
- <sourcePaths>
- <sourcePath>${project.basedir}/opendj-ldap-sdk-examples/src/main/java</sourcePath>
- </sourcePaths>
- </configuration>
<goals>
- <goal>jcite</goal>
+ <goal>build</goal>
</goals>
</execution>
<execution>
- <id>prepare-sources</id>
- <phase>pre-site</phase>
- <goals>
- <goal>prepare</goal>
- </goals>
+ <id>layout-site</id>
+ <phase>site</phase>
+ <goals>
+ <goal>site</goal>
+ </goals>
</execution>
<execution>
- <id>build-doc</id>
- <phase>pre-site</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- <execution>
- <id>layout-doc</id>
- <phase>site</phase>
- <goals>
- <goal>layout</goal>
- </goals>
+ <id>layout-release</id>
+ <phase>site</phase>
+ <goals>
+ <goal>release</goal>
+ </goals>
</execution>
</executions>
</plugin>
--
Gitblit v1.10.0