From 82a7019cdb81444cd2b859a20e2b77d5a30c8077 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Mon, 31 Oct 2016 19:13:54 -0400 Subject: [PATCH] Added javadoc to gp-cli and gp-res-filter Creating javadoc for gp-cli and gp-resfilter because it's are requirement for OSSRH hosting. --- gp-cli/pom.xml | 5 +++++ .../com/ibm/g11n/pipeline/tools/cli/CopyAllBundlesCmd.java | 2 +- .../com/ibm/g11n/pipeline/tools/cli/ListMTLanguagesCmd.java | 2 +- .../ibm/g11n/pipeline/tools/cli/ResourceTypeConverter.java | 2 +- gp-maven-plugin/pom.xml | 6 ++++++ gp-res-filter/pom.xml | 5 +++++ 6 files changed, 19 insertions(+), 3 deletions(-) diff --git a/gp-cli/pom.xml b/gp-cli/pom.xml index 70991aa..1dfccef 100644 --- a/gp-cli/pom.xml +++ b/gp-cli/pom.xml @@ -19,6 +19,11 @@ maven-compiler-plugin + + org.apache.maven.plugins + maven-javadoc-plugin + + org.apache.maven.plugins maven-shade-plugin diff --git a/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/CopyAllBundlesCmd.java b/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/CopyAllBundlesCmd.java index ebb15f6..1515a6b 100644 --- a/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/CopyAllBundlesCmd.java +++ b/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/CopyAllBundlesCmd.java @@ -24,7 +24,7 @@ import com.ibm.g11n.pipeline.client.ServiceException; @Parameters(commandDescription = "Copies all bundle data to another service instance.") -public class CopyAllBundlesCmd extends BaseCmd { +class CopyAllBundlesCmd extends BaseCmd { @Parameter( names = { "--dest-url"}, description = "The destinaion service instance's URL", diff --git a/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ListMTLanguagesCmd.java b/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ListMTLanguagesCmd.java index d2af793..5f8fbd9 100644 --- a/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ListMTLanguagesCmd.java +++ b/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ListMTLanguagesCmd.java @@ -31,7 +31,7 @@ * @author Yoshito Umaoka */ @Parameters(commandDescription = "Prints out active machine translation languages.") -public class ListMTLanguagesCmd extends BaseCmd { +class ListMTLanguagesCmd extends BaseCmd { @Parameter( names = {"-f", "--fromLanguage"}, diff --git a/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ResourceTypeConverter.java b/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ResourceTypeConverter.java index a3b5bcb..4cd0d50 100644 --- a/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ResourceTypeConverter.java +++ b/gp-cli/src/main/java/com/ibm/g11n/pipeline/tools/cli/ResourceTypeConverter.java @@ -26,7 +26,7 @@ * * @author Yoshito Umaoka */ -public class ResourceTypeConverter implements IStringConverter{ +class ResourceTypeConverter implements IStringConverter{ @Override public ResourceType convert(String type) { diff --git a/gp-maven-plugin/pom.xml b/gp-maven-plugin/pom.xml index 77057a9..a73fb99 100644 --- a/gp-maven-plugin/pom.xml +++ b/gp-maven-plugin/pom.xml @@ -18,6 +18,12 @@ org.apache.maven.plugins maven-compiler-plugin + + + org.apache.maven.plugins + maven-javadoc-plugin + + org.apache.maven.plugins maven-plugin-plugin diff --git a/gp-res-filter/pom.xml b/gp-res-filter/pom.xml index 420b675..459c822 100644 --- a/gp-res-filter/pom.xml +++ b/gp-res-filter/pom.xml @@ -18,6 +18,11 @@ org.apache.maven.plugins maven-compiler-plugin + + + org.apache.maven.plugins + maven-javadoc-plugin +