Skip to content

Commit 96b497c

Browse files
committed
Fix javadoc errors
1 parent 17feced commit 96b497c

File tree

8 files changed

+30
-35
lines changed

8 files changed

+30
-35
lines changed

gem-maven-plugin/src/main/java/de/saumya/mojo/gem/AbstractGemMojo.java

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
4040

4141
/**
4242
* flag whether to include open-ssl gem or not
43-
* <br/>
43+
*
4444
* Command line -Dgem.includeOpenSSL=...
4545
*
4646
*/
@@ -50,7 +50,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
5050

5151
/**
5252
* flag whether to include all gems to test-resources, i.e. to test-classpath or not
53-
* <br/>
53+
*
5454
* Command line -Dgem.includeRubygemsInTestResources=...
5555
*
5656
*/
@@ -59,7 +59,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
5959

6060
/**
6161
* flag whether to include all gems to resources, i.e. to classpath or not
62-
* <br/>
62+
*
6363
* Command line -Dgem.includeRubygemsInResources=...
6464
*
6565
*/
@@ -68,10 +68,10 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
6868

6969
/**
7070
* flag whether to include all gems to resources, i.e. to classpath or not
71-
* <br/>
71+
*
7272
* Command line -Dgem.includeProvidedRubygemsInResources=...
7373
*
74-
* @parameter expression="${gem.includeProvidedRubygemsInResources}" default-value="false"
74+
* parameter: expression="${gem.includeProvidedRubygemsInResources}" default-value="false"
7575
*/
7676
@Parameter( defaultValue = "false", property = "gem.includeProvidedRubygemsInResources" )
7777
protected boolean includeProvidedRubygemsInResources;
@@ -96,7 +96,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
9696
* for rubygems due to rubygems uses file system globs to find the gems and this
9797
* only works if the classloader reveals the jar url of its jars (i.e. URLClassLoader).
9898
* for example OSGi classloader can not work with rubygems !!
99-
* <br/>
99+
*
100100
* Command line -Dgem.includeGemsInResources=...
101101
*
102102
*/
@@ -107,7 +107,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
107107
/**
108108
/**
109109
* flag whether to include file under the lib directory
110-
* <br/>
110+
*
111111
* Command line -Dgem.includeLibDirectoryInResources=...
112112
*
113113
*/
@@ -117,7 +117,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
117117

118118
/**
119119
* flag whether to install rdocs of the used gems or not
120-
* <br/>
120+
*
121121
* Command line -Dgem.installRDoc=...
122122
*
123123
*/
@@ -126,7 +126,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
126126

127127
/**
128128
* flag whether to install ri of the used gems or not
129-
* <br/>
129+
*
130130
* Command line -Dgem.installRDoc=...
131131
*
132132
*/
@@ -136,7 +136,7 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
136136
/**
137137
* use system gems instead of setting up GemPath/GemHome inside the build directory and ignores any set
138138
* gemHome and gemPath. you need to have both GEM_HOME and GEM_PATH environment variable set to make it work.
139-
* <br/>
139+
*
140140
* Command line -Dgem.useSystem=...
141141
*
142142
*/
@@ -148,48 +148,43 @@ public abstract class AbstractGemMojo extends AbstractJRubyMojo {
148148
* compile dependencies will be installed in ${project.build.directory}/rubygems and
149149
* provided dependencies in ${project.build.directory}/rubygems-provided, and
150150
* ${project.build.directory}/rubygems-test for the test scope. this mapping here allows
151-
* to map those different directories onto a single one, i.e.: test => ${gem.home}, provided => ${gem.home}
152-
* <br/>
153-
*
151+
* to map those different directories onto a single one, i.e.: test =&gt; ${gem.home}, provided =&gt; ${gem.home}
154152
*/
155153
@Parameter( property = "gem.homes" )
156154
protected Map<String, String> gemHomes;
157155

158156
/**
159157
* directory of gem home to use when forking JRuby. default will be ignored
160158
* when gemUseSystem is true.
161-
* <br/>
162-
* Command line -Dgem.home=...
163159
*
160+
* Command line -Dgem.home=...
164161
*/
165162
@Parameter( property = "gem.home", defaultValue = "${project.build.directory}/rubygems" )
166163
protected File gemHome;
167164

168165
/**
169166
* directory of JRuby path to use when forking JRuby. default will be ignored
170167
* when gemUseSystem is true.
171-
* <br/>
172-
* Command line -Dgem.path=...
173168
*
169+
* Command line -Dgem.path=...
174170
*/
175171
@Parameter( property = "gem.path", defaultValue = "${project.build.directory}/rubygems" )
176172
protected File gemPath;
177173

178174
/**
179175
* directory of JRuby bin path to use when forking JRuby.
180-
* <br/>
181-
* Command line -Dgem.binDirectory=...
182176
*
177+
* Command line -Dgem.binDirectory=...
183178
*/
184179
@Parameter( property = "gem.binDirectory" )
185180
protected File binDirectory;
186181

187182
/**
188183
* flag to indicate to setup jruby's native support for C-extensions
189-
* <br/>
184+
*
190185
* Command line -Dgem.supportNative=...
191186
*
192-
* @parameter expression="${gem.supportNative}" default-value="false"
187+
* parameter: expression="${gem.supportNative}" default-value="false"
193188
*/
194189
@Parameter( defaultValue = "false", property = "gem.supportNative" )
195190
@Deprecated

gem-maven-plugin/src/main/java/de/saumya/mojo/gem/ExecMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/**
1616
* executes a ruby script in context of the gems from pom. the arguments for
1717
* jruby are build like this:
18-
* <code>${jruby.args} ${exec.file} ${exec.args} ${args}</code> <br/>
18+
* <code>${jruby.args} ${exec.file} ${exec.args} ${args}</code>
1919
* to execute an inline script the exec parameters are ignored.
2020
*/
2121
@Mojo( name = "exec", defaultPhase = LifecyclePhase.INITIALIZE,

gem-maven-plugin/src/main/java/de/saumya/mojo/gem/GemMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* goal to run gem with the given arguments.
13-
* <br/>
13+
*
1414
* DEPRECATED - DO NOT USE
1515
*/
1616
@Deprecated

gem-maven-plugin/src/main/java/de/saumya/mojo/gem/InstallMojo.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public class InstallMojo extends AbstractGemMojo {
2626
protected String installArgs = null;
2727

2828
/**
29-
* gem file to install locally.<br/>
29+
* gem file to install locally.
30+
*
3031
* <b>Note:</b> this will install the gem in ${gem.home} so in general that is only
3132
* useful if some other goal does something with it
3233
*/

jruby-maven-plugin/src/main/java/de/saumya/mojo/jruby/CompileMojo.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
/**
1616
* executes the compiles ruby classes to java bytecode (jrubyc).
1717
*
18-
* <br/>
19-
*
2018
* NOTE: this goal uses only a small subset of the features of jrubyc.
2119
*/
2220
@Mojo( name = "compile", defaultPhase = LifecyclePhase.COMPILE,
@@ -32,7 +30,7 @@ public class CompileMojo extends AbstractJRubyMojo {
3230

3331
/**
3432
* where the compiled class files are written unless you choose to generate
35-
* java classes (needs >=jruby-1.5). default is the same as for java
33+
* java classes (needs &gt;=jruby-1.5). default is the same as for java
3634
* classes.
3735
*/
3836
@Parameter( property = "project.build.outputDirectory", defaultValue = "${project.build.outputDirectory}" )
@@ -51,13 +49,13 @@ public class CompileMojo extends AbstractJRubyMojo {
5149
protected boolean generateJava;
5250

5351
/**
54-
* where the java files (needs >=jruby-1.5).
52+
* where the java files (needs &gt;=jruby-1.5).
5553
*/
5654
@Parameter( defaultValue = "${basedir}/target/jrubyc-generated-sources" )
5755
protected File generatedJavaDirectory;
5856

5957
/**
60-
* verbose jrubyc related output (only with > jruby-1.6.x)
58+
* verbose jrubyc related output (only with &gt; jruby-1.6.x)
6159
*/
6260
@Parameter( property = "jrubyc.verbose", defaultValue = "false" )
6361
private boolean jrubycVerbose;

ruby-tools/src/main/java/de/saumya/mojo/gems/Maven2GemVersionConverter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ public class Maven2GemVersionConverter
1717

1818
/**
1919
* This is the pattern we match against. This is actually x.y.z... version format, that RubyGems 1.3.5 support.
20-
* {@link http://github.com/jbarnette/rubygems/blob/REL_1_3_5/lib/rubygems/version.rb} and {@link http
21-
* ://github.com/jbarnette/rubygems/blob/REL_1_3_6/lib/rubygems/version.rb}
20+
*
21+
* See http://github.com/jbarnette/rubygems/blob/REL_1_3_5/lib/rubygems/version.rb
22+
* and http://github.com/jbarnette/rubygems/blob/REL_1_3_6/lib/rubygems/version.rb
2223
*/
2324
public static final Pattern gemVersionPattern = Pattern.compile( "[0-9]+(\\.[0-9a-z]+)*" );
2425

ruby-tools/src/main/java/de/saumya/mojo/gems/MavenArtifactConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public interface MavenArtifactConverter {
1717
/**
1818
* Returns is the artifact convertable safely into Gem.
1919
*
20-
* @param pom
20+
* @param artifact
2121
* @return true if yes.
2222
*/
2323
boolean canConvert(MavenArtifact artifact);
@@ -26,7 +26,7 @@ public interface MavenArtifactConverter {
2626
* Returns the "regular" gem filename, as it is expected this artifact to be
2727
* called as Gem.
2828
*
29-
* @param pom
29+
* @param artifact
3030
* @return
3131
*/
3232
String getGemFileName(MavenArtifact artifact);

ruby-tools/src/main/java/de/saumya/mojo/ruby/Logger.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ public interface Logger {
2222
/**
2323
* Send a message to the user in the <b>warn</b> level.
2424
*
25-
* @param content
25+
* @param string
2626
*/
2727
void warn(CharSequence string);
2828

2929
/**
3030
* Send a message to the user in the <b>error</b> level.
3131
*
32-
* @param content
32+
* @param string
3333
*/
3434
void error(CharSequence string);
3535
}

0 commit comments

Comments
 (0)