From 402d16ffdc8ebcf1b34faa8be6227dd9828424d4 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Mon, 08 Jul 2013 10:56:14 +0000
Subject: [PATCH] Fix Javadoc vulnerability with older Java environments
---
opends/pom.xml | 18 ++++++++++++++++++
opendj3/pom.xml | 18 ++++++++++++++++++
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/opendj3/pom.xml b/opendj3/pom.xml
index 093b09d..e1ee03b 100644
--- a/opendj3/pom.xml
+++ b/opendj3/pom.xml
@@ -247,6 +247,24 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.forgerock.maven.plugins</groupId>
+ <artifactId>javadoc-updater-maven-plugin</artifactId>
+ <version>1.0.0</version>
+ <executions>
+ <execution>
+ <phase>site</phase>
+ <goals>
+ <goal>fixjavadoc</goal>
+ </goals>
+ <configuration>
+ <directory>${project.reporting.outputDirectory}</directory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
<pluginManagement>
<plugins>
diff --git a/opends/pom.xml b/opends/pom.xml
index d18c82f..bd0f6f0 100644
--- a/opends/pom.xml
+++ b/opends/pom.xml
@@ -169,6 +169,24 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.forgerock.maven.plugins</groupId>
+ <artifactId>javadoc-updater-maven-plugin</artifactId>
+ <version>1.0.0</version>
+ <executions>
+ <execution>
+ <phase>site</phase>
+ <goals>
+ <goal>fixjavadoc</goal>
+ </goals>
+ <configuration>
+ <directory>build/site/javadoc</directory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
--
Gitblit v1.10.0