From 3854b3bb3c26bbe7407bf1b6600d8b25592d398e Mon Sep 17 00:00:00 2001 From: Jiaqi Guo <jiaqi@cyclopsgroup.org> Date: Wed, 16 Jan 2019 12:29:27 -0800 Subject: [PATCH] Remove useless documentation related files and Javadocs --- pom.xml | 9 ++++ src/site/apt/index.apt | 5 --- src/site/image/logo.xcf | Bin 12465 -> 0 bytes src/site/resources/css/site.css | 1 - src/site/resources/images/logo.png | Bin 3862 -> 0 bytes src/site/site.xml | 41 ------------------ .../cyclopsgroup/jcli/MultiActionTest.java | 8 ---- .../java/org/cyclopsgroup/jcli/Simple.java | 36 --------------- .../jcli/jline/ArgumentsInspectorTest.java | 15 ------- .../jcli/jline/CliCompletorTest.java | 15 ------- 10 files changed, 9 insertions(+), 121 deletions(-) delete mode 100644 src/site/apt/index.apt delete mode 100644 src/site/image/logo.xcf delete mode 100644 src/site/resources/css/site.css delete mode 100644 src/site/resources/images/logo.png delete mode 100644 src/site/site.xml diff --git a/pom.xml b/pom.xml index 34ada26..9bcb07a 100644 --- a/pom.xml +++ b/pom.xml @@ -75,4 +75,13 @@ <url>s3://${dist.bucketName}/projects/jcli</url> </site> </distributionManagement> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.7.1</version> + </plugin> + </plugins> + </build> </project> diff --git a/src/site/apt/index.apt b/src/site/apt/index.apt deleted file mode 100644 index 7dc1e2a..0000000 --- a/src/site/apt/index.apt +++ /dev/null @@ -1,5 +0,0 @@ -JCLI - Java annotation based command line argument parser - - JCLI is a small Java library that parses argument array and pass result to POJO annotated with predefined annotations. Have a look at {{{apidoc/index.html}API}} for more details. - - JCLI is used by {{{http://www.cyclopsgroup.org/projects/jmxterm}jmxterm}} for command line parsing and validation. \ No newline at end of file diff --git a/src/site/image/logo.xcf b/src/site/image/logo.xcf deleted file mode 100644 index c0e4dfc5dcde06d3543c6c7ac1f333d8a2e684d3..0000000000000000000000000000000000000000 GIT binary patch literal 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GbHb6dr?0|d@!B1<GPD3t3B<{m+u9NY<faJ~)Hv~VgO&$vQ m5#(nO{4_UtCfkNv7D84-{(M_;7@ix3=Z4|Aw-NuNZuD2iv)fhx diff --git a/src/site/resources/css/site.css b/src/site/resources/css/site.css deleted file mode 100644 index 727906e..0000000 --- a/src/site/resources/css/site.css +++ /dev/null @@ -1 +0,0 @@ -@import url("http://www.cyclopsgroup.org/css/cyclopsgroup-m2-site.css"); \ No newline at end of file diff --git a/src/site/resources/images/logo.png b/src/site/resources/images/logo.png deleted file mode 100644 index 38dc85330cda3a4e6c68f32c8dbd234abafd354a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3862 zcmb7H`9Bm~)Sof3@5{rGtwNGLjeVDlEnC)+$d+XkX6!SAXChk|R3ge!F+(wuFk?%W zLLR#^S+We-cV^ys|AP1Pp3mppbMHClr*qG_-|tPkWoyCBA;tj!0Jtr0nmI7+CPVeu zSQx7-3Ibyo<^W?GV*ucNHs|TxbBr^4_)WJ60Dx2Qe-#LL{z8=DWR0}6F=w3uv9JoU zX`zo;87^?7xoe~;JT%lVED~V)(C==f-#uw$P-LLAg{93c7YvUG0KkK`G&6RJo?0)C zi+AoO_K-j_NncIbwr>c%_q10uul8zRZSU`2ZQXkvxaV5!g0J;Dn;$bRyKhy|oZwkb zbPomQ!*HB4uTuG>Jr-pz@tL3n1Q>gE_Jy-V)r0JMq~43Qgs<9@^4c;xC)9g`-v?@* z5&iMA18d-0|Cgk)vyC$UHim*(tpS8{v~!}|Tp$*J2y?3!=K|may>9f1&&P$cuZe$x zD-u}AAtT`2uh`W9EQ0EudxHO3$rBA@8>T$`DF--ULNZ-s%DWKQ=}u80pO-Pqv2lw) zi!g1M$fiWgCh6F*CQkJ2H$+}?W7{&<T{eSL+#;ldx$j%IYT>O7bR<Tdj~}=<O2R)m zRi&5Xb}Dd0<uN5u&T<@VV0*3tr_io)>a!oevUOaU;&yOXd2F)pHBxukJU2b`j2bbF znDZ%@gnS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_edO~p*&Df$if?zZOlb- o;;F`}2P2-H^#7HPPbqX(ygUCSEr!s+_^<*j&27yHCf-T^1B~=`n*aa+ diff --git a/src/site/site.xml b/src/site/site.xml deleted file mode 100644 index 2648cb6..0000000 --- a/src/site/site.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<project name="JCLI - Java annotation based command line argument parser"> - <bannerLeft> - <name>JCLI</name> - <src>images/logo.png</src> - <href>index.html</href> - </bannerLeft> - <bannerRight> - <src> - http://cyclops-group.sourceforge.net/wiki/images/cyclopsgroup-logo.png - </src> - </bannerRight> - <body> - <head> - <script type="text/javascript" - src="http://www.google-analytics.com/urchin.js"> - </script> - <script type="text/javascript"> - <![CDATA[ - _uacct = "UA-76203-1"; - urchinTracker(); - ]]> - </script> - </head> - <links> - <item name="cyclopsgroup.org" href="http://www.cyclopsgroup.org/" /> - <item name="wiki" href="http://wiki.cyclopsgroup.org/jcli" /> - <item name="sf.net/cyclops-group" - href="http://sourceforge.net/projects/cyclops-group" /> - </links> - <menu ref="reports" /> - <menu name="Links"> - <item name="Documentation Wiki" href="http://wiki.cyclopsgroup.org/jcli" /> - <item name="Javadoc" href="apidocs/index.html" /> - <item name="Discussion" href="http://wiki.cyclopsgroup.org/discussion" /> - <item name="Jmxterm" - href="http://www.cyclopsgroup.org/projects/jmxterm" /> - <item name="Jiaqi Guo" href="http://www.cyclopsgroup.org/members/jiaqi" /> - </menu> - </body> -</project> \ No newline at end of file diff --git a/src/test/java/org/cyclopsgroup/jcli/MultiActionTest.java b/src/test/java/org/cyclopsgroup/jcli/MultiActionTest.java index 81f7703..fb39d76 100644 --- a/src/test/java/org/cyclopsgroup/jcli/MultiActionTest.java +++ b/src/test/java/org/cyclopsgroup/jcli/MultiActionTest.java @@ -1,20 +1,12 @@ package org.cyclopsgroup.jcli; import static org.junit.Assert.assertEquals; - import java.util.Arrays; import java.util.HashMap; import java.util.Map; - import org.junit.Test; -/** - * A test to go over multi action use case - */ public class MultiActionTest { - /** - * Happy case of multi actions. - */ @Test public void testMultiAction() throws InstantiationException, IllegalAccessException { Map<String, Class<?>> clis = new HashMap<String, Class<?>>(); diff --git a/src/test/java/org/cyclopsgroup/jcli/Simple.java b/src/test/java/org/cyclopsgroup/jcli/Simple.java index 28c1ce4..ee829cc 100644 --- a/src/test/java/org/cyclopsgroup/jcli/Simple.java +++ b/src/test/java/org/cyclopsgroup/jcli/Simple.java @@ -3,18 +3,12 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; - import org.apache.commons.lang3.builder.ReflectionToStringBuilder; import org.cyclopsgroup.jcli.annotation.Argument; import org.cyclopsgroup.jcli.annotation.Cli; import org.cyclopsgroup.jcli.annotation.MultiValue; import org.cyclopsgroup.jcli.annotation.Option; -/** - * Example bean for testing purpose - * - * @author <a href="mailto:jiaqi.guo@gmail.com">Jiaqi Guo</a> - */ @Cli(name = "sample", description = "A test") public class Simple implements AutoCompletable { public List<String> suggestArgument(String partialArgument) { @@ -48,76 +42,46 @@ public List<String> suggestOption(String optionName, String partialOption) { private List<String> values; - /** - * @return An integer option - */ public final int getIntField() { return intField; } - /** - * @return One string option - */ public final String getStringField1() { return stringField1; } - /** - * @return Another string option - */ public final String getStringField2() { return stringField2; } - /** - * @return Arguments - */ public final List<String> getValues() { return values; } - /** - * @return Boolean flag - */ public final boolean isBooleanField() { return booleanField; } - /** - * @param booleanField A flag option - */ @Option(name = "b", longName = "boolean", description = "Test boolean field") public final void setBooleanField(boolean booleanField) { this.booleanField = booleanField; } - /** - * @param intField An integer option - */ @Option(name = "i", longName = "tint", description = "Test int value") public final void setIntField(int intField) { this.intField = intField; } - /** - * @param stringField1 One string option - */ @Option(name = "f", longName = "field1", required = true) public final void setStringField1(String stringField1) { this.stringField1 = stringField1; } - /** - * @param stringField2 Another string option - */ @Option(name = "2", longName = "field2") public final void setStringField2(String stringFIeld2) { this.stringField2 = stringFIeld2; } - /** - * @param values Arguments - */ @MultiValue(listType = ArrayList.class) @Argument public final void setValues(List<String> values) { diff --git a/src/test/java/org/cyclopsgroup/jcli/jline/ArgumentsInspectorTest.java b/src/test/java/org/cyclopsgroup/jcli/jline/ArgumentsInspectorTest.java index cd80087..f973c3f 100644 --- a/src/test/java/org/cyclopsgroup/jcli/jline/ArgumentsInspectorTest.java +++ b/src/test/java/org/cyclopsgroup/jcli/jline/ArgumentsInspectorTest.java @@ -1,35 +1,20 @@ package org.cyclopsgroup.jcli.jline; import static org.junit.Assert.assertEquals; - import java.beans.IntrospectionException; - import org.cyclopsgroup.jcli.ArgumentProcessor; import org.cyclopsgroup.jcli.Simple; import org.junit.Before; import org.junit.Test; -/** - * Test case of {@link ArgumentsInspector} - * - * @author <a href="mailto:jiaqi.guo@gmail.com">Jiaqi Guo</a> - */ public class ArgumentsInspectorTest { private ArgumentsInspector ins; - /** - * Setup object to test - * - * @throws IntrospectionException - */ @Before public void setUp() throws IntrospectionException { ins = new ArgumentsInspector(ArgumentProcessor.forType(Simple.class).createParsingContext()); } - /** - * Test state change of a sevies of argument consumption - */ @Test public void testConsume() { assertEquals(ArgumentsInspectorState.READY, ins.getState()); diff --git a/src/test/java/org/cyclopsgroup/jcli/jline/CliCompletorTest.java b/src/test/java/org/cyclopsgroup/jcli/jline/CliCompletorTest.java index 5e0bbbe..7c17fa3 100644 --- a/src/test/java/org/cyclopsgroup/jcli/jline/CliCompletorTest.java +++ b/src/test/java/org/cyclopsgroup/jcli/jline/CliCompletorTest.java @@ -2,11 +2,9 @@ import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; - import java.beans.IntrospectionException; import java.util.ArrayList; import java.util.List; - import org.cyclopsgroup.caff.token.QuotedValueTokenizer; import org.cyclopsgroup.jcli.Simple; import org.jline.reader.Candidate; @@ -17,11 +15,6 @@ import org.junit.Before; import org.junit.Test; -/** - * Test case for {@link CliCompletor} - * - * @author <a href="mailto:jiaqi.guo@gmail.com">Jiaqi Guo</a> - */ public class CliCompletorTest { private List<Candidate> candidates; @@ -33,11 +26,6 @@ public class CliCompletorTest { private ParsedLine parsedLine; - /** - * Set up completor to test - * - * @throws IntrospectionException - */ @Before public void setUp() throws IntrospectionException { cc = new CliCompletor(new Simple(), new QuotedValueTokenizer()); @@ -47,9 +35,6 @@ public void setUp() throws IntrospectionException { parsedLine = context.mock(ParsedLine.class); } - /** - * @throws IntrospectionException - */ @Test public void testCompleteWithEmpty() throws IntrospectionException { context.checking(new Expectations() {