Skip to content

Commit 427ad31

Browse files
Fix Javadoc warnings in build (#117)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stefanseifert <5614031+stefanseifert@users.noreply.github.com>
1 parent 886977c commit 427ad31

13 files changed

Lines changed: 17 additions & 30 deletions

src/main/java/org/apache/maven/plugin/eclipse/EclipseConfigFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public URL getURL()
128128
/**
129129
* Setter for <code>url</code>.
130130
*
131-
* @param location The url to set.
131+
* @param url The url to set.
132132
*/
133133
public void setURL( URL url )
134134
{

src/main/java/org/apache/maven/plugin/eclipse/EclipsePlugin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public class EclipsePlugin
189189
* List of artifacts, represented as <code>groupId:artifactId</code>, to exclude from the eclipse classpath, being
190190
* provided by some eclipse classPathContainer.
191191
*
192-
* @see http://jira.codehaus.org/browse/MECLIPSE-79
192+
* @see <a href="http://jira.codehaus.org/browse/MECLIPSE-79">MECLIPSE-79</a>
193193
* @since 2.5
194194
*/
195195
@Parameter
@@ -293,6 +293,7 @@ public class EclipsePlugin
293293
*
294294
* @deprecated use downloadSources
295295
*/
296+
@Deprecated
296297
@Parameter( property = "eclipse.downloadSources" )
297298
private boolean eclipseDownloadSources;
298299

src/main/java/org/apache/maven/plugin/eclipse/RadPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ public void setWarContextRoot( String warContextRoot )
132132
* write all rad6 configuration files. <br/>
133133
* <b> NOTE: This could change the config! </b>
134134
*
135-
* @see EclipsePlugin#writeConfiguration()
136-
* @param deps resolved dependencies to handle
135+
* @see EclipsePlugin#writeConfiguration(IdeDependency[])
136+
* @param config the Eclipse writer configuration
137137
* @throws MojoExecutionException if the config files could not be written.
138138
*/
139139
protected void writeConfigurationExtras( EclipseWriterConfig config )

src/main/java/org/apache/maven/plugin/eclipse/writers/AbstractEclipseManifestWriter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ protected abstract String getMetaInfBaseDirectory( MavenProject project )
258258
* Otherwise generate a <b>NEW</b> (i.e the old one is overwritten) which only contains values for MANIFEST_VERSION
259259
* and CLASS_PATH, all other previous entries are not kept.
260260
*
261-
* @param sourceDirs all eclipse source directorys
262-
* @param localRepository the local reposetory
263-
* @param buildOutputDirectory build output directory (target)
264261
* @throws MojoExecutionException when writing the config files was not possible
265262
*/
266263
public void write()

src/main/java/org/apache/maven/plugin/eclipse/writers/EclipseWriterConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,9 @@ public boolean getWtpapplicationxml()
459459
}
460460

461461
/**
462-
* Setter for <code>buildCommands</code>.
462+
* Setter for <code>wtpapplicationxml</code>.
463463
*
464-
* @param buildCommands The buildCommands to set.
464+
* @param wtpapplicationxml The wtpapplicationxml to set.
465465
*/
466466
public void setWtpapplicationxml( boolean wtpapplicationxml )
467467
{
@@ -557,7 +557,7 @@ public String getJeeVersion()
557557
/**
558558
* Returns the jeeversion
559559
*
560-
* @param jeeversion the jeeversion
560+
* @param jeeVersion the jeeVersion
561561
*/
562562
public void setJeeVersion( String jeeVersion )
563563
{

src/main/java/org/apache/maven/plugin/eclipse/writers/rad/RadApplicationXMLWriter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ public class RadApplicationXMLWriter
121121
/**
122122
* write the application.xml and the .modulemaps file to the META-INF directory.
123123
*
124-
* @param sourceDirs all eclipse source directorys
125-
* @param localRepository the local reposetory
126-
* @param buildOutputDirectory build output directory (target)
127124
* @throws MojoExecutionException when writing the config files was not possible
128125
*/
129126
public void write()

src/main/java/org/apache/maven/plugin/eclipse/writers/rad/RadEjbClasspathWriter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ public class RadEjbClasspathWriter
8080
/**
8181
* write the .classpath file to the project root directory.
8282
*
83-
* @param sourceDirs all eclipse source directorys
84-
* @param localRepository the local reposetory
85-
* @param buildOutputDirectory build output directory (target)
8683
* @throws MojoExecutionException when writing the config files was not possible
8784
*/
8885
public void write()

src/main/java/org/apache/maven/plugin/eclipse/writers/rad/RadJ2EEWriter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ public class RadJ2EEWriter
5555
/**
5656
* write the .j2ee file to the project root directory.
5757
*
58-
* @param sourceDirs all eclipse source directorys
59-
* @param localRepository the local reposetory
60-
* @param buildOutputDirectory build output directory (target)
6158
* @throws MojoExecutionException when writing the config files was not possible
6259
*/
6360
public void write()

src/main/java/org/apache/maven/plugin/eclipse/writers/rad/RadWebsiteConfigWriter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public class RadWebsiteConfigWriter
5353
/**
5454
* write the website-config file for RAD6 if needed.
5555
*
56-
* @param sourceDirs all eclipse source directorys
57-
* @param localRepository the local reposetory
58-
* @param buildOutputDirectory build output directory (target)
5956
* @throws MojoExecutionException when writing the config files was not possible
6057
*/
6158
public void write()

src/main/java/org/apache/maven/plugin/eclipse/writers/wtp/AbstractWtpResourceWriter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,10 @@ else if ( Constants.PROJECT_PACKAGING_EAR.equals( config.getPackaging() ) ) //$N
171171
* Adds dependency for Eclipse WTP project.
172172
*
173173
* @param writer
174-
* @param artifact
174+
* @param dep
175175
* @param localRepository
176176
* @param basedir
177+
* @param deployPath
177178
* @throws MojoExecutionException
178179
*/
179180
protected void addDependency( XMLWriter writer, IdeDependency dep, ArtifactRepository localRepository,

0 commit comments

Comments
 (0)