From d0cb5b91409a4c5d4fe73cf91eb1082b0bfdc0de Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 24 Jan 2014 16:33:42 +0000
Subject: [PATCH] Attempt to fix build by forcing some Javadoc creation.
---
opendj-cli/src/main/java/org/forgerock/opendj/cli/CLIException.java | 8 ++++----
opendj-cli/pom.xml | 14 --------------
2 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/opendj-cli/pom.xml b/opendj-cli/pom.xml
index 6e9906f..9e766a1 100644
--- a/opendj-cli/pom.xml
+++ b/opendj-cli/pom.xml
@@ -55,10 +55,6 @@
<artifactId>i18n-core</artifactId>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </dependency>
- <dependency>
<groupId>org.forgerock</groupId>
<artifactId>forgerock-build-tools</artifactId>
<version>${forgerockBuildToolsVersion}</version>
@@ -97,16 +93,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
- <configuration>
- <instrumentation>
- <excludes>
- <exclude>**/*Messages.class</exclude>
- <exclude>**/config/client/*CfgClient*.class</exclude>
- <exclude>**/config/server/*Cfg*.class</exclude>
- <exclude>**/config/meta/*.class</exclude>
- </excludes>
- </instrumentation>
- </configuration>
</plugin>
</plugins>
</build>
diff --git a/opendj-cli/src/main/java/org/forgerock/opendj/cli/CLIException.java b/opendj-cli/src/main/java/org/forgerock/opendj/cli/CLIException.java
index 372e7cc..929a719 100755
--- a/opendj-cli/src/main/java/org/forgerock/opendj/cli/CLIException.java
+++ b/opendj-cli/src/main/java/org/forgerock/opendj/cli/CLIException.java
@@ -36,7 +36,7 @@
* For example, if input provided by the client was invalid.
*/
@SuppressWarnings("serial")
-final class CLIException extends Exception implements LocalizableException {
+public final class CLIException extends Exception implements LocalizableException {
/**
* Adapts any exception that may have occurred whilst reading input from the
@@ -48,7 +48,7 @@
* @return Returns a new CLI exception describing a problem that occurred
* whilst reading input from the console.
*/
- static CLIException adaptInputException(final Throwable cause) {
+ public static CLIException adaptInputException(final Throwable cause) {
return new CLIException(ERR_CONSOLE_INPUT_ERROR.get(cause.getMessage()), cause);
}
@@ -60,7 +60,7 @@
* @param message
* The message explaining the problem that occurred.
*/
- CLIException(final LocalizableMessage message) {
+ public CLIException(final LocalizableMessage message) {
super(message.toString());
this.message = message;
}
@@ -73,7 +73,7 @@
* @param cause
* The cause of this exception.
*/
- CLIException(final LocalizableMessage message, final Throwable cause) {
+ public CLIException(final LocalizableMessage message, final Throwable cause) {
super(message.toString(), cause);
this.message = message;
}
--
Gitblit v1.10.0