This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new f99b5984 Follow Oracle javadoc guidelines (#1519)
f99b5984 is described below
commit f99b5984bd99cb936225721a9f51a15f7b1dee7e
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Sat Sep 13 18:31:14 2025 -0400
Follow Oracle javadoc guidelines (#1519)
---
.../plugins/dependency/AbstractDependencyMojo.java | 20 +++----
.../apache/maven/plugins/dependency/GetMojo.java | 13 ++---
.../maven/plugins/dependency/PropertiesMojo.java | 4 +-
.../dependency/PurgeLocalRepositoryMojo.java | 38 ++++++-------
.../dependency/analyze/AbstractAnalyzeMojo.java | 6 +-
.../plugins/dependency/analyze/AnalyzeDepMgt.java | 4 +-
.../plugins/dependency/analyze/AnalyzeReport.java | 22 +++++---
.../dependency/analyze/AnalyzeReportRenderer.java | 4 +-
.../AbstractFromConfigurationMojo.java | 54 +++++++++---------
.../dependency/fromConfiguration/ArtifactItem.java | 16 +++---
.../dependency/fromConfiguration/CopyMojo.java | 20 +++----
.../ProcessArtifactItemsRequest.java | 8 +--
.../dependency/fromConfiguration/UnpackMojo.java | 32 +++++------
.../AbstractDependencyFilterMojo.java | 54 +++++++++---------
.../AbstractFromDependenciesMojo.java | 22 ++++----
.../fromDependencies/BuildClasspathMojo.java | 6 +-
.../fromDependencies/CopyDependenciesMojo.java | 19 ++++---
.../fromDependencies/UnpackDependenciesMojo.java | 22 ++++----
.../dependency/resolvers/GoOfflineMojo.java | 6 +-
.../resolvers/ResolveDependenciesMojo.java | 6 +-
.../dependency/resolvers/ResolvePluginsMojo.java | 6 +-
.../tree/AbstractSerializingVisitor.java | 2 +-
.../dependency/tree/DOTDependencyNodeVisitor.java | 2 +-
.../tree/GraphmlDependencyNodeVisitor.java | 6 +-
.../dependency/tree/TGFDependencyNodeVisitor.java | 12 ++--
.../maven/plugins/dependency/tree/TreeMojo.java | 1 -
.../maven/plugins/dependency/utils/CopyUtil.java | 2 -
.../dependency/utils/DependencyStatusSets.java | 12 ++--
.../plugins/dependency/utils/DependencyUtil.java | 34 +++++------
.../plugins/dependency/utils/ParamArtifact.java | 4 +-
.../plugins/dependency/utils/ResolverUtil.java | 8 +--
.../maven/plugins/dependency/utils/UnpackUtil.java | 16 +++---
.../utils/filters/ArtifactItemFilter.java | 4 +-
.../dependency/utils/filters/DestFileFilter.java | 66 +++++++++++-----------
.../dependency/utils/filters/MarkerFileFilter.java | 18 +++---
.../utils/markers/DefaultFileMarkerHandler.java | 20 +++----
.../dependency/utils/markers/MarkerHandler.java | 14 ++---
.../utils/markers/SourcesFileMarkerHandler.java | 24 ++++----
.../utils/markers/UnpackFileMarkerHandler.java | 4 +-
.../utils/translators/ArtifactTranslator.java | 2 +-
.../translators/ClassifierTypeTranslator.java | 14 ++---
41 files changed, 322 insertions(+), 325 deletions(-)
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java
index b24e2ba6..5045f607 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java
@@ -57,15 +57,15 @@ public abstract class AbstractDependencyMojo extends
AbstractMojo {
protected List<MavenProject> reactorProjects;
/**
- * The Maven session
+ * The Maven session.
*/
protected final MavenSession session;
/**
* If the plugin should be silent.
*
- * @deprecated to be removed in 4.0; use -q command line option instead
* @since 2.0
+ * @deprecated to be removed in 4.0; use -q command line option instead
*/
@Deprecated
@Parameter(property = "silent", defaultValue = "false")
@@ -82,19 +82,19 @@ public abstract class AbstractDependencyMojo extends
AbstractMojo {
/**
* Skip plugin execution only during incremental builds (e.g. triggered
from M2E).
*
- * @since 3.4.0
* @see #skip
+ * @since 3.4.0
*/
@Parameter(defaultValue = "false")
private boolean skipDuringIncrementalBuild;
/**
- * For IDE build support
+ * For IDE build support.
*/
private final BuildContext buildContext;
/**
- * POM
+ * POM.
*/
private final MavenProject project;
@@ -126,16 +126,16 @@ public abstract class AbstractDependencyMojo extends
AbstractMojo {
protected abstract void doExecute() throws MojoExecutionException,
MojoFailureException;
/**
- * @return Returns a new ProjectBuildingRequest populated from the current
session and the current project remote
- * repositories, used to resolve artifacts.
+ * @return returns a new ProjectBuildingRequest populated from the current
session and the current project remote
+ * repositories, used to resolve artifacts
*/
public ProjectBuildingRequest newResolveArtifactProjectBuildingRequest() {
return newProjectBuildingRequest(remoteRepositories);
}
/**
- * @return Returns a new ProjectBuildingRequest populated from the current
session and the current project remote
- * repositories, used to resolve plugins.
+ * @return returns a new ProjectBuildingRequest populated from the current
session and the current project remote
+ * repositories, used to resolve plugins
*/
protected ProjectBuildingRequest newResolvePluginProjectBuildingRequest() {
return newProjectBuildingRequest(remotePluginRepositories);
@@ -150,7 +150,7 @@ public abstract class AbstractDependencyMojo extends
AbstractMojo {
}
/**
- * @return Returns the project.
+ * @return returns the project
*/
public MavenProject getProject() {
return this.project;
diff --git a/src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
index 0c03e313..619c5986 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
@@ -81,7 +81,7 @@ public class GetMojo extends AbstractMojo {
/**
* Repositories in the format id::[layout]::url or just url, separated by
comma. ie.
- *
central::default::https://repo.maven.apache.org/maven2,myrepo::::https://repo.acme.com,https://repo.acme2.com
+ *
central::default::https://repo.maven.apache.org/maven2,myrepo::::https://repo.acme.com,https://repo.acme2.com.
*/
@Parameter(property = "remoteRepositories")
private String remoteRepositories;
@@ -249,7 +249,7 @@ public class GetMojo extends AbstractMojo {
/**
* The groupId of the artifact to resolve. Ignored if {@link #artifact} is
used.
*
- * @param groupId The groupId.
+ * @param groupId the groupId
*/
@Parameter(property = "groupId")
public void setGroupId(String groupId) {
@@ -259,7 +259,7 @@ public class GetMojo extends AbstractMojo {
/**
* The artifactId of the artifact to resolve. Ignored if {@link #artifact}
is used.
*
- * @param artifactId The artifactId.
+ * @param artifactId the artifactId
*/
@Parameter(property = "artifactId")
public void setArtifactId(String artifactId) {
@@ -269,7 +269,7 @@ public class GetMojo extends AbstractMojo {
/**
* The version of the artifact to resolve. Ignored if {@link #artifact} is
used.
*
- * @param version The version.
+ * @param version the version
*/
@Parameter(property = "version")
public void setVersion(String version) {
@@ -279,8 +279,7 @@ public class GetMojo extends AbstractMojo {
/**
* The classifier of the artifact to resolve. Ignored if {@link #artifact}
is used.
*
- * @param classifier The classifier to be used.
- *
+ * @param classifier the classifier to be used
* @since 2.3
*/
@Parameter(property = "classifier")
@@ -291,7 +290,7 @@ public class GetMojo extends AbstractMojo {
/**
* The packaging of the artifact to resolve. Ignored if {@link #artifact}
is used.
*
- * @param type packaging.
+ * @param type packaging
*/
@Parameter(property = "packaging", defaultValue = "jar")
public void setPackaging(String type) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/PropertiesMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/PropertiesMojo.java
index ef1f73b0..22f0d835 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/PropertiesMojo.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/PropertiesMojo.java
@@ -49,7 +49,7 @@ import org.apache.maven.project.MavenProject;
public class PropertiesMojo extends AbstractMojo {
/**
- * The current Maven project
+ * The current Maven project.
*/
private final MavenProject project;
@@ -69,7 +69,7 @@ public class PropertiesMojo extends AbstractMojo {
/**
* Main entry into mojo. Gets the list of dependencies and iterates
through setting a property for each artifact.
*
- * @throws MojoExecutionException with a message if an error occurs.
+ * @throws MojoExecutionException with a message if an error occurs
*/
@Override
public void execute() throws MojoExecutionException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/PurgeLocalRepositoryMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/PurgeLocalRepositoryMojo.java
index 2255ae63..c5cfc6e8 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/PurgeLocalRepositoryMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/PurgeLocalRepositoryMojo.java
@@ -93,7 +93,7 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
private final ArtifactHandlerManager artifactHandlerManager;
/**
- * The dependency resolver
+ * The dependency resolver.
*/
private final DependencyResolver dependencyResolver;
@@ -243,9 +243,9 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
private final List<Dependency> directDependencies;
/**
- * Default constructor
+ * Default constructor.
*
- * @param directDependencies Set of dependencies objects which
represent the direct dependencies of the project
+ * @param directDependencies set of dependencies objects which
represent the direct dependencies of the project
*/
DirectDependencyFilter(Artifact projectArtifact, List<Dependency>
directDependencies) {
this.projectArtifact = projectArtifact;
@@ -287,7 +287,7 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
}
/**
- * Includes only snapshot artifacts
+ * Includes only snapshot artifacts.
*/
private static class SnapshotsFilter extends AbstractFilter {
@Override
@@ -330,7 +330,7 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
* Determines if all projects in the reactor should be purged from their
dependencies. When this goal is started on
* the command-line, it is always the case. When it is bound to a phase in
the lifecycle, it is never the case.
*
- * @return <code>true</code> if all projects in the reactor should be
purged, <code>false</code> otherwise.
+ * @return <code>true</code> if all projects in the reactor should be
purged, <code>false</code> otherwise
*/
private boolean shouldPurgeAllProjectsInReactor() {
Source source = mojoExecution.getSource();
@@ -340,9 +340,9 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
/**
* Purges the local repository for the dependencies in the given Maven
project.
*
- * @param theProject Maven project.
- * @param purgedArtifacts The artifacts that were already purged.
- * @throws MojoFailureException in case of errors during the purge.
+ * @param theProject maven project
+ * @param purgedArtifacts the artifacts that were already purged
+ * @throws MojoFailureException in case of errors during the purge
*/
private void purgeLocalRepository(MavenProject theProject, Set<Artifact>
purgedArtifacts)
throws MojoFailureException {
@@ -375,8 +375,8 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
/**
* Purge/Delete artifacts from the local repository according to the given
patterns.
*
- * @param theIncludes The includes.
- * @throws MojoExecutionException in case of an error.
+ * @param theIncludes the includes
+ * @throws MojoExecutionException in case of an error
*/
private void manualPurge(List<String> theIncludes) throws
MojoExecutionException {
MessageBuilder messageBuilder = MessageUtils.buffer();
@@ -417,7 +417,7 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
}
/**
- * Convert a groupId:artifactId:version to a file system path
+ * Convert a groupId:artifactId:version to a file system path.
*
* @param gav the groupId:artifactId:version string
* @return the corresponding path
@@ -440,11 +440,11 @@ public class PurgeLocalRepositoryMojo extends
AbstractMojo {
/**
* Create the includes exclude filter to use when resolving and purging
dependencies Also excludes any "system"
- * scope dependencies
+ * scope dependencies.
*
- * @param theProject The Maven project.
- * @param dependencies The dependencies to use as a reference if we're
excluding transitive dependencies
- * @param purgedArtifacts The artifacts already purged.
+ * @param theProject the Maven project
+ * @param dependencies the dependencies to use as a reference if we're
excluding transitive dependencies
+ * @param purgedArtifacts the artifacts already purged
* @return the created filter
*/
private TransformableFilter createPurgeArtifactsFilter(
@@ -494,8 +494,8 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
/**
* Returns a string that represents a pattern for an exclude filter for
the given artifact.
*
- * @param artifact Artifact.
- * @return String representation of a pattern for an exclude filter for
the given artifact.
+ * @param artifact artifact
+ * @return string representation of a pattern for an exclude filter for
the given artifact
*/
private String toPatternExcludes(Artifact artifact) {
return artifact.getGroupId() + ":" + artifact.getArtifactId() + ":"
@@ -503,9 +503,9 @@ public class PurgeLocalRepositoryMojo extends AbstractMojo {
}
/**
- * Convert comma separated list of includes to List object
+ * Convert comma separated list of includes to List object.
*
- * @param theInclude The list of includes
+ * @param theInclude the list of includes
* @return the includes list
*/
private List<String> parseIncludes(String theInclude) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
index 0fda8b8a..ac79d717 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java
@@ -129,7 +129,7 @@ public abstract class AbstractAnalyzeMojo extends
AbstractMojo {
private String scriptableFlag;
/**
- * Flag to use for scriptable output
+ * Flag to use for scriptable output.
*
* @since 2.0-alpha-5
*/
@@ -137,7 +137,7 @@ public abstract class AbstractAnalyzeMojo extends
AbstractMojo {
private File baseDir;
/**
- * Target folder
+ * Target folder.
*
* @since 2.0-alpha-5
*/
@@ -309,7 +309,7 @@ public abstract class AbstractAnalyzeMojo extends
AbstractMojo {
/**
* @return {@link ProjectDependencyAnalyzer}
- * @throws MojoExecutionException in case of an error.
+ * @throws MojoExecutionException in case of an error
*/
protected ProjectDependencyAnalyzer createProjectDependencyAnalyzer()
throws MojoExecutionException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDepMgt.java
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDepMgt.java
index 6037ecff..1df1d74a 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDepMgt.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeDepMgt.java
@@ -203,7 +203,7 @@ public class AnalyzeDepMgt extends AbstractMojo {
}
/**
- * @param ex The exclusion key.
+ * @param ex the exclusion key
* @return the resulting combination of groupId+artifactId
*/
public String getExclusionKey(Exclusion ex) {
@@ -211,7 +211,7 @@ public class AnalyzeDepMgt extends AbstractMojo {
}
/**
- * Calculate the mismatches between the DependencyManagement and resolved
artifacts
+ * Calculate the mismatches between the DependencyManagement and resolved
artifacts.
*
* @param depMgtMap a keyset of the Dependency.GetManagementKey for quick
lookup
* @param allDependencyArtifacts the set of all artifacts to compare
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
index ef08b025..038a1fda 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReport.java
@@ -52,12 +52,12 @@ public class AnalyzeReport extends AbstractMavenReport {
private final ProjectDependencyAnalyzer analyzer;
/**
- * Internationalization component
+ * Internationalization component.
*/
private final I18N i18n;
/**
- * Ignore Runtime/Provided/Test/System scopes for unused dependency
analysis
+ * Ignore Runtime/Provided/Test/System scopes for unused dependency
analysis.
*
* @since 2.2
*/
@@ -140,19 +140,25 @@ public class AnalyzeReport extends AbstractMavenReport {
return true;
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getOutputName() {
return "dependency-analysis";
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getName(Locale locale) {
return getI18nString(locale, "name");
}
- /** {@inheritDoc} */
+ /**
+ * {@inheritDoc}
+ */
@Override
public String getDescription(Locale locale) {
return getI18nString(locale, "description");
@@ -161,9 +167,9 @@ public class AnalyzeReport extends AbstractMavenReport {
// protected methods ------------------------------------------------------
/**
- * @param locale The locale
- * @param key The key to search for
- * @return The text appropriate for the locale.
+ * @param locale the locale
+ * @param key the key to search for
+ * @return the text appropriate for the locale
*/
protected String getI18nString(Locale locale, String key) {
return i18n.getString("analyze-report", locale, "report.analyze." +
key);
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java
index 80fb1b2d..af46a1b6 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java
@@ -51,8 +51,8 @@ public class AnalyzeReportRenderer extends
AbstractMavenReportRenderer {
}
/**
- * @param key The key.
- * @return The translated string.
+ * @param key the key
+ * @return the translated string
*/
private String getI18nString(String key) {
return i18n.getString("analyze-report", locale, "report.analyze." +
key);
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java
index 0cb04814..88914298 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java
@@ -52,7 +52,7 @@ import org.sonatype.plexus.build.incremental.BuildContext;
/**
* Abstract parent class used by mojos that get Artifact information from the
plugin configuration as an ArrayList of
- * ArtifactItems
+ * ArtifactItems.
*
* @author <a href="mailto:[email protected]">Brian Fox</a>
* @see ArtifactItem
@@ -67,7 +67,7 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
private File outputDirectory;
/**
- * Overwrite release artifacts
+ * Overwrite release artifacts.
*
* @since 1.0
*/
@@ -75,7 +75,7 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
private boolean overWriteReleases;
/**
- * Overwrite snapshot artifacts
+ * Overwrite snapshot artifacts.
*
* @since 1.0
*/
@@ -83,17 +83,17 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
private boolean overWriteSnapshots;
/**
- * Overwrite if newer
+ * Overwrite if newer.
*
* @since 2.0
- * @deprecated Use 'overWriteIfNewer' or 'mdep.overWriteIfNewer' as this
does nothing now.
+ * @deprecated use 'overWriteIfNewer' or 'mdep.overWriteIfNewer' as this
does nothing now
*/
@Deprecated
@Parameter(property = "mdep.overIfNewer", defaultValue = "true")
private boolean overIfNewer;
/**
- * Overwrite if newer
+ * Overwrite if newer.
*
* @since 3.7.0
*/
@@ -111,7 +111,7 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
/**
* Path to override default local repository during plugin's execution. To
remove all downloaded artifacts as part
- * of the build, set this value to a location under your project's target
directory
+ * of the build, set this value to a location under your project's target
directory.
*
* @since 2.2
*/
@@ -136,9 +136,9 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
abstract ArtifactItemFilter getMarkedArtifactFilter(ArtifactItem item);
/**
- * artifactItems is filled by either field injection or by setArtifact().
+ * ArtifactItems is filled by either field injection or by setArtifact().
*
- * @throws MojoFailureException in case of an error.
+ * @throws MojoFailureException in case of an error
*/
protected void verifyRequirements() throws MojoFailureException {
if (artifactItems == null || artifactItems.isEmpty()) {
@@ -151,8 +151,8 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
* output Directory if it doesn't exist.
*
* @param processArtifactItemsRequest preprocessing instructions
- * @return An ArrayList of preprocessed ArtifactItems
- * @throws MojoExecutionException with a message if an error occurs.
+ * @return an ArrayList of preprocessed ArtifactItems
+ * @throws MojoExecutionException with a message if an error occurs
* @see ArtifactItem
*/
protected List<ArtifactItem>
getProcessedArtifactItems(ProcessArtifactItemsRequest
processArtifactItemsRequest)
@@ -228,7 +228,7 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
* from the dependency list or from the DependencyManagement section of
the pom.
*
* @param artifactItem containing information about artifact from plugin
configuration
- * @return Artifact object representing the specified file
+ * @return artifact object representing the specified file
* @throws MojoExecutionException if the version can't be found in
DependencyManagement
*/
protected Artifact getArtifact(ArtifactItem artifactItem) throws
MojoExecutionException {
@@ -266,7 +266,7 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
* with the correct version. It will first look for an exact match on
artifactId/groupId/classifier/type and if it
* doesn't find a match, it will try again looking for artifactId and
groupId only.
*
- * @param artifact representing configured file.
+ * @param artifact representing configured file
* @throws MojoExecutionException
*/
private void fillMissingArtifactVersion(ArtifactItem artifact) throws
MojoExecutionException {
@@ -289,8 +289,8 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
* Tries to find missing version from a list of dependencies. If found,
the artifact is updated with the correct
* version.
*
- * @param artifact representing configured file.
- * @param dependencies list of dependencies to search.
+ * @param artifact representing configured file
+ * @param dependencies list of dependencies to search
* @param looseMatch only look at artifactId and groupId
* @return the found dependency
*/
@@ -310,70 +310,70 @@ public abstract class AbstractFromConfigurationMojo
extends AbstractDependencyMo
}
/**
- * @return Returns the artifactItems.
+ * @return returns the artifactItems
*/
public List<ArtifactItem> getArtifactItems() {
return this.artifactItems;
}
/**
- * @param theArtifactItems The artifactItems to set.
+ * @param theArtifactItems the artifactItems to set
*/
public void setArtifactItems(List<ArtifactItem> theArtifactItems) {
this.artifactItems = theArtifactItems;
}
/**
- * @return Returns the outputDirectory.
+ * @return returns the outputDirectory
*/
public File getOutputDirectory() {
return this.outputDirectory;
}
/**
- * @param theOutputDirectory The outputDirectory to set.
+ * @param theOutputDirectory the outputDirectory to set
*/
public void setOutputDirectory(File theOutputDirectory) {
this.outputDirectory = theOutputDirectory;
}
/**
- * @return Returns the overWriteIfNewer.
+ * @return returns the overWriteIfNewer
*/
public boolean isOverWriteIfNewer() {
return this.overWriteIfNewer;
}
/**
- * @param theOverWriteIfNewer The overWriteIfNewer to set.
+ * @param theOverWriteIfNewer the overWriteIfNewer to set
*/
public void setOverWriteIfNewer(boolean theOverWriteIfNewer) {
this.overWriteIfNewer = theOverWriteIfNewer;
}
/**
- * @return Returns the overWriteReleases.
+ * @return returns the overWriteReleases
*/
public boolean isOverWriteReleases() {
return this.overWriteReleases;
}
/**
- * @param theOverWriteReleases The overWriteReleases to set.
+ * @param theOverWriteReleases the overWriteReleases to set
*/
public void setOverWriteReleases(boolean theOverWriteReleases) {
this.overWriteReleases = theOverWriteReleases;
}
/**
- * @return Returns the overWriteSnapshots.
+ * @return returns the overWriteSnapshots
*/
public boolean isOverWriteSnapshots() {
return this.overWriteSnapshots;
}
/**
- * @param theOverWriteSnapshots The overWriteSnapshots to set.
+ * @param theOverWriteSnapshots the overWriteSnapshots to set
*/
public void setOverWriteSnapshots(boolean theOverWriteSnapshots) {
this.overWriteSnapshots = theOverWriteSnapshots;
@@ -387,8 +387,8 @@ public abstract class AbstractFromConfigurationMojo extends
AbstractDependencyMo
}
/**
- * @param artifact The artifact.
- * @throws MojoFailureException in case of an error.
+ * @param artifact the artifact
+ * @throws MojoFailureException in case of an error
*/
public void setArtifact(String artifact) throws MojoFailureException {
if (artifact != null) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ArtifactItem.java
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ArtifactItem.java
index ff093978..4fbea1c3 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ArtifactItem.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ArtifactItem.java
@@ -31,24 +31,24 @@ import
org.codehaus.plexus.components.io.filemappers.FileMapper;
/**
* ArtifactItem represents information specified in the plugin configuration
section for each artifact.
*
- * @since 1.0
* @author <a href="mailto:[email protected]">Brian Fox</a>
+ * @since 1.0
*/
public class ArtifactItem implements DependableCoordinate {
/**
- * Group ID of artifact
+ * Group ID of artifact.
*/
@Parameter(required = true)
private String groupId;
/**
- * Name of artifact
+ * Name of artifact.
*/
@Parameter(required = true)
private String artifactId;
/**
- * Version of artifact
+ * Version of artifact.
*/
@Parameter
private String version = null;
@@ -72,7 +72,7 @@ public class ArtifactItem implements DependableCoordinate {
private File outputDirectory;
/**
- * Provides ability to change destination file name
+ * Provides ability to change destination file name.
*/
@Parameter
private String destFileName;
@@ -91,7 +91,7 @@ public class ArtifactItem implements DependableCoordinate {
private boolean needsProcessing;
/**
- * Artifact Item
+ * Artifact Item.
*/
private Artifact artifact;
@@ -207,7 +207,7 @@ public class ArtifactItem implements DependableCoordinate {
}
/**
- * @return Classifier
+ * @return classifier
*/
@Override
public String getClassifier() {
@@ -347,7 +347,6 @@ public class ArtifactItem implements DependableCoordinate {
/**
* @return {@link FileMapper}s to be used for rewriting each target path,
or {@code null} if no rewriting shall
* happen
- *
* @since 3.1.2
*/
public FileMapper[] getFileMappers() {
@@ -357,7 +356,6 @@ public class ArtifactItem implements DependableCoordinate {
/**
* @param fileMappers {@link FileMapper}s to be used for rewriting each
target path, or {@code null} if no
* rewriting shall happen
- *
* @since 3.1.2
*/
public void setFileMappers(FileMapper[] fileMappers) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/CopyMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/CopyMojo.java
index 91499fdd..dab686a5 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/CopyMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/CopyMojo.java
@@ -51,19 +51,19 @@ public class CopyMojo extends AbstractFromConfigurationMojo
{
private final CopyUtil copyUtil;
/**
- * Strip artifact version during copy
+ * Strip artifact version during copy.
*/
@Parameter(property = "mdep.stripVersion", defaultValue = "false")
private boolean stripVersion = false;
/**
- * Strip artifact classifier during copy
+ * Strip artifact classifier during copy.
*/
@Parameter(property = "mdep.stripClassifier", defaultValue = "false")
private boolean stripClassifier = false;
/**
- * Prepend artifact groupId during copy
+ * Prepend artifact groupId during copy.
*
* @since 2.7
*/
@@ -71,7 +71,7 @@ public class CopyMojo extends AbstractFromConfigurationMojo {
private boolean prependGroupId = false;
/**
- * Use artifact baseVersion during copy
+ * Use artifact baseVersion during copy.
*
* @since 2.7
*/
@@ -102,7 +102,7 @@ public class CopyMojo extends AbstractFromConfigurationMojo
{
* Main entry into mojo. This method gets the ArtifactItems and iterates
through each one passing it to
* copyArtifact.
*
- * @throws MojoExecutionException with a message if an error occurs.
+ * @throws MojoExecutionException with a message if an error occurs
* @see ArtifactItem
* @see #getArtifactItems
* @see #copyArtifact(ArtifactItem)
@@ -162,35 +162,35 @@ public class CopyMojo extends
AbstractFromConfigurationMojo {
}
/**
- * @return Returns the stripVersion.
+ * @return returns the stripVersion
*/
public boolean isStripVersion() {
return this.stripVersion;
}
/**
- * @param stripVersion The stripVersion to set.
+ * @param stripVersion the stripVersion to set
*/
public void setStripVersion(boolean stripVersion) {
this.stripVersion = stripVersion;
}
/**
- * @return Returns the stripClassifier.
+ * @return returns the stripClassifier
*/
public boolean isStripClassifier() {
return this.stripClassifier;
}
/**
- * @param stripClassifier The stripClassifier to set.
+ * @param stripClassifier the stripClassifier to set
*/
public void setStripClassifier(boolean stripClassifier) {
this.stripClassifier = stripClassifier;
}
/**
- * @param useBaseVersion The useBaseVersion to set.
+ * @param useBaseVersion the useBaseVersion to set
*/
public void setUseBaseVersion(boolean useBaseVersion) {
this.useBaseVersion = useBaseVersion;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ProcessArtifactItemsRequest.java
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ProcessArtifactItemsRequest.java
index e70897d5..a2d9fa80 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ProcessArtifactItemsRequest.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/ProcessArtifactItemsRequest.java
@@ -24,22 +24,22 @@ package
org.apache.maven.plugins.dependency.fromConfiguration;
*/
public class ProcessArtifactItemsRequest {
/**
- * remove the version from the filename.
+ * Remove the version from the filename.
*/
private boolean removeVersion;
/**
- * remove the classifier from the filename.
+ * Remove the classifier from the filename.
*/
private boolean removeClassifier;
/**
- * prepend the groupId to the filename.
+ * Prepend the groupId to the filename.
*/
private boolean prependGroupId;
/**
- * use the baseVersion of the artifact instead of version for the filename.
+ * Use the baseVersion of the artifact instead of version for the filename.
*/
private boolean useBaseVersion;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java
index 58349e38..e4854371 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java
@@ -52,7 +52,7 @@ public class UnpackMojo extends AbstractFromConfigurationMojo
{
private final UnpackUtil unpackUtil;
/**
- * Directory to store flag files after unpack
+ * Directory to store flag files after unpack.
*/
@Parameter(
property = "markersDirectory",
@@ -80,7 +80,7 @@ public class UnpackMojo extends AbstractFromConfigurationMojo
{
private String excludes;
/**
- * ignore to set file permissions when unpacking a dependency
+ * Ignore to set file permissions when unpacking a dependency.
*
* @since 2.7
*/
@@ -120,7 +120,7 @@ public class UnpackMojo extends
AbstractFromConfigurationMojo {
* Main entry into mojo. This method gets the ArtifactItems and iterates
through each one passing it to
* unpackArtifact.
*
- * @throws MojoExecutionException with a message if an error occurs.
+ * @throws MojoExecutionException with a message if an error occurs
* @see ArtifactItem
* @see #getArtifactItems
* @see #unpackArtifact(ArtifactItem)
@@ -146,8 +146,8 @@ public class UnpackMojo extends
AbstractFromConfigurationMojo {
/**
* This method gets the Artifact object and calls
DependencyUtil.unpackFile.
*
- * @param artifactItem containing the information about the Artifact to
unpack.
- * @throws MojoExecutionException with a message if an error occurs.
+ * @param artifactItem containing the information about the Artifact to
unpack
+ * @throws MojoExecutionException with a message if an error occurs
* @see #getArtifact
*/
private void unpackArtifact(ArtifactItem artifactItem) throws
MojoExecutionException {
@@ -175,9 +175,9 @@ public class UnpackMojo extends
AbstractFromConfigurationMojo {
}
/**
- * @param removeVersion removeVersion.
+ * @param removeVersion removeVersion
* @return list of {@link ArtifactItem}
- * @throws MojoExecutionException in case of an error.
+ * @throws MojoExecutionException in case of an error
*/
protected List<ArtifactItem> getProcessedArtifactItems(boolean
removeVersion) throws MojoExecutionException {
List<ArtifactItem> items =
@@ -194,42 +194,42 @@ public class UnpackMojo extends
AbstractFromConfigurationMojo {
}
/**
- * @return Returns the markersDirectory.
+ * @return returns the markersDirectory
*/
public File getMarkersDirectory() {
return this.markersDirectory;
}
/**
- * @param theMarkersDirectory The markersDirectory to set.
+ * @param theMarkersDirectory the markersDirectory to set
*/
public void setMarkersDirectory(File theMarkersDirectory) {
this.markersDirectory = theMarkersDirectory;
}
/**
- * @return Returns a comma separated list of excluded items
+ * @return returns a comma separated list of excluded items
*/
public String getExcludes() {
return this.excludes;
}
/**
- * @param excludes A comma separated list of items to exclude i.e.
**\/*.xml, **\/*.properties
+ * @param excludes a comma separated list of items to exclude i.e.
**\/*.xml, **\/*.properties
*/
public void setExcludes(String excludes) {
this.excludes = excludes;
}
/**
- * @return Returns a comma separated list of included items
+ * @return returns a comma separated list of included items
*/
public String getIncludes() {
return this.includes;
}
/**
- * @param includes A comma separated list of items to include i.e.
**\/*.xml, **\/*.properties
+ * @param includes a comma separated list of items to include i.e.
**\/*.xml, **\/*.properties
*/
public void setIncludes(String includes) {
this.includes = includes;
@@ -237,8 +237,7 @@ public class UnpackMojo extends
AbstractFromConfigurationMojo {
/**
* @return {@link FileMapper}s to be used for rewriting each target path,
or {@code null} if no rewriting shall
- * happen.
- *
+ * happen
* @since 3.1.2
*/
public FileMapper[] getFileMappers() {
@@ -247,8 +246,7 @@ public class UnpackMojo extends
AbstractFromConfigurationMojo {
/**
* @param fileMappers {@link FileMapper}s to be used for rewriting each
target path, or {@code null} if no
- * rewriting shall happen.
- *
+ * rewriting shall happen
* @since 3.1.2
*/
public void setFileMappers(FileMapper[] fileMappers) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractDependencyFilterMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractDependencyFilterMojo.java
index 14c040b6..0f4def21 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractDependencyFilterMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractDependencyFilterMojo.java
@@ -62,7 +62,7 @@ import org.sonatype.plexus.build.incremental.BuildContext;
public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMojo {
/**
- * Overwrite release artifacts
+ * Overwrite release artifacts.
*
* @since 1.0
*/
@@ -70,7 +70,7 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
protected boolean overWriteReleases;
/**
- * Overwrite snapshot artifacts
+ * Overwrite snapshot artifacts.
*
* @since 1.0
*/
@@ -86,7 +86,7 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
protected boolean overWriteIfNewer;
/**
- * If we should exclude transitive dependencies
+ * If we should exclude transitive dependencies.
*
* @since 2.0
*/
@@ -164,7 +164,7 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
protected String excludeClassifiers;
/**
- * Specify classifier to look for. Example: sources
+ * Specify classifier to look for. Example: sources.
*
* @since 2.0
*/
@@ -172,7 +172,7 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
protected String classifier;
/**
- * Specify type to look for when constructing artifact based on
classifier. Example: java-source,jar,war
+ * Specify type to look for when constructing artifact based on
classifier. Example: java-source,jar,war.
*
* @since 2.0
*/
@@ -212,7 +212,7 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
protected String includeGroupIds;
/**
- * Directory to store flag files
+ * Directory to store flag files.
*
* @since 2.0
*/
@@ -259,9 +259,9 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
/**
* Retrieves dependencies, either direct only or all including transitive.
*
- * @param stopOnFailure true to fail if resolution does not work or false
not to fail.
- * @return A set of artifacts
- * @throws MojoExecutionException in case of errors.
+ * @param stopOnFailure true to fail if resolution does not work or false
not to fail
+ * @return a set of artifacts
+ * @throws MojoExecutionException in case of errors
*/
protected Set<Artifact> getResolvedDependencies(boolean stopOnFailure)
throws MojoExecutionException {
@@ -271,9 +271,9 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
}
/**
- * @param stopOnFailure true/false.
+ * @param stopOnFailure true/false
* @return {@link DependencyStatusSets}
- * @throws MojoExecutionException in case of an error.
+ * @throws MojoExecutionException in case of an error
*/
protected DependencyStatusSets getDependencySets(boolean stopOnFailure)
throws MojoExecutionException {
return getDependencySets(stopOnFailure, false);
@@ -281,12 +281,12 @@ public abstract class AbstractDependencyFilterMojo
extends AbstractDependencyMoj
/**
* Method creates filters and filters the projects dependencies. This
method also transforms the dependencies if
- * classifier is set. The dependencies are filtered in least specific to
most specific order
+ * classifier is set. The dependencies are filtered in least specific to
most specific order.
*
- * @param stopOnFailure true to fail if artifacts can't be resolved false
otherwise.
- * @param includeParents <code>true</code> if parents should be included
or not <code>false</code>.
+ * @param stopOnFailure true to fail if artifacts can't be resolved false
otherwise
+ * @param includeParents <code>true</code> if parents should be included
or not <code>false</code>
* @return DependencyStatusSets - Bean of TreeSets that contains
information on the projects dependencies
- * @throws MojoExecutionException in case of errors.
+ * @throws MojoExecutionException in case of errors
*/
protected DependencyStatusSets getDependencySets(boolean stopOnFailure,
boolean includeParents)
throws MojoExecutionException {
@@ -381,12 +381,12 @@ public abstract class AbstractDependencyFilterMojo
extends AbstractDependencyMoj
}
/**
- * Transform artifacts
+ * Transform artifacts.
*
- * @param artifacts set of artifacts {@link Artifact}.
- * @param stopOnFailure true/false.
+ * @param artifacts set of artifacts {@link Artifact}
+ * @param stopOnFailure true/false
* @return DependencyStatusSets - Bean of TreeSets that contains
information on the projects dependencies
- * @throws MojoExecutionException in case of an error.
+ * @throws MojoExecutionException in case of an error
*/
private DependencyStatusSets
getClassifierTranslatedDependencies(Set<Artifact> artifacts, boolean
stopOnFailure)
throws MojoExecutionException {
@@ -423,11 +423,11 @@ public abstract class AbstractDependencyFilterMojo
extends AbstractDependencyMoj
}
/**
- * Filter the marked dependencies
+ * Filter the marked dependencies.
*
- * @param artifacts The artifacts set {@link Artifact}.
- * @return status set {@link DependencyStatusSets}.
- * @throws MojoExecutionException in case of an error.
+ * @param artifacts the artifacts set {@link Artifact}
+ * @return status set {@link DependencyStatusSets}
+ * @throws MojoExecutionException in case of an error
*/
protected DependencyStatusSets filterMarkedDependencies(Set<Artifact>
artifacts) throws MojoExecutionException {
// remove files that have markers already
@@ -450,11 +450,11 @@ public abstract class AbstractDependencyFilterMojo
extends AbstractDependencyMoj
}
/**
- * @param artifacts The set of artifacts
+ * @param artifacts the set of artifacts
* @param stopOnFailure <code>true</code> if we should fail with exception
if an artifact couldn't be resolved
- * <code>false</code> otherwise.
+ * <code>false</code> otherwise
* @return the resolved artifacts. {@link Artifact}.
- * @throws MojoExecutionException in case of error.
+ * @throws MojoExecutionException in case of error
*/
private Set<Artifact> resolve(Set<org.eclipse.aether.artifact.Artifact>
artifacts, boolean stopOnFailure)
throws MojoExecutionException {
@@ -477,7 +477,7 @@ public abstract class AbstractDependencyFilterMojo extends
AbstractDependencyMoj
}
/**
- * @return Returns the markersDirectory.
+ * @return returns the markersDirectory
*/
public File getMarkersDirectory() {
return this.markersDirectory;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractFromDependenciesMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractFromDependenciesMojo.java
index 275f35d0..19038fac 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractFromDependenciesMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/AbstractFromDependenciesMojo.java
@@ -43,13 +43,13 @@ public abstract class AbstractFromDependenciesMojo extends
AbstractDependencyFil
protected File outputDirectory;
/**
- * Strip artifact version during copy
+ * Strip artifact version during copy.
*/
@Parameter(property = "mdep.stripVersion", defaultValue = "false")
protected boolean stripVersion = false;
/**
- * Strip artifact type during copy
+ * Strip artifact type during copy.
*
* @since 3.4.0
*/
@@ -57,7 +57,7 @@ public abstract class AbstractFromDependenciesMojo extends
AbstractDependencyFil
protected boolean stripType = false;
/**
- * Strip artifact classifier during copy
+ * Strip artifact classifier during copy.
*/
@Parameter(property = "mdep.stripClassifier", defaultValue = "false")
protected boolean stripClassifier = false;
@@ -130,49 +130,49 @@ public abstract class AbstractFromDependenciesMojo
extends AbstractDependencyFil
}
/**
- * @param theOutputDirectory The outputDirectory to set.
+ * @param theOutputDirectory the outputDirectory to set
*/
public void setOutputDirectory(File theOutputDirectory) {
this.outputDirectory = theOutputDirectory;
}
/**
- * @return Returns the useSubDirectoryPerArtifact.
+ * @return returns the useSubDirectoryPerArtifact
*/
public boolean isUseSubDirectoryPerArtifact() {
return this.useSubDirectoryPerArtifact;
}
/**
- * @param theUseSubDirectoryPerArtifact The useSubDirectoryPerArtifact to
set.
+ * @param theUseSubDirectoryPerArtifact the useSubDirectoryPerArtifact to
set
*/
public void setUseSubDirectoryPerArtifact(boolean
theUseSubDirectoryPerArtifact) {
this.useSubDirectoryPerArtifact = theUseSubDirectoryPerArtifact;
}
/**
- * @return Returns the useSubDirectoryPerScope
+ * @return returns the useSubDirectoryPerScope
*/
public boolean isUseSubDirectoryPerScope() {
return this.useSubDirectoryPerScope;
}
/**
- * @param theUseSubDirectoryPerScope The useSubDirectoryPerScope to set.
+ * @param theUseSubDirectoryPerScope the useSubDirectoryPerScope to set
*/
public void setUseSubDirectoryPerScope(boolean theUseSubDirectoryPerScope)
{
this.useSubDirectoryPerScope = theUseSubDirectoryPerScope;
}
/**
- * @return Returns the useSubDirectoryPerType.
+ * @return returns the useSubDirectoryPerType
*/
public boolean isUseSubDirectoryPerType() {
return this.useSubDirectoryPerType;
}
/**
- * @param theUseSubDirectoryPerType The useSubDirectoryPerType to set.
+ * @param theUseSubDirectoryPerType the useSubDirectoryPerType to set
*/
public void setUseSubDirectoryPerType(boolean theUseSubDirectoryPerType) {
this.useSubDirectoryPerType = theUseSubDirectoryPerType;
@@ -228,7 +228,7 @@ public abstract class AbstractFromDependenciesMojo extends
AbstractDependencyFil
}
/**
- * @param useRepositoryLayout - true if dependencies must be planted in a
repository layout
+ * @param useRepositoryLayout true if dependencies must be planted in a
repository layout
*/
public void setUseRepositoryLayout(boolean useRepositoryLayout) {
this.useRepositoryLayout = useRepositoryLayout;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/BuildClasspathMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/BuildClasspathMojo.java
index 28068ffb..c0cc14f0 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/BuildClasspathMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/BuildClasspathMojo.java
@@ -110,7 +110,7 @@ public class BuildClasspathMojo extends
AbstractDependencyFilterMojo implements
/**
* Override the char used between the paths. This field is initialized to
contain the first character of the value
* of the system property file.separator. On UNIX systems the value of
this field is '/'; on Microsoft Windows
- * systems it is '\'. The default is File.separator
+ * systems it is '\'. The default is File.separator.
*
* @since 2.0
*/
@@ -290,7 +290,7 @@ public class BuildClasspathMojo extends
AbstractDependencyFilterMojo implements
* Checks that new classpath differs from that found inside the old
classpathFile.
*
* @return true if the specified classpath equals the one found inside the
file, false otherwise (including when
- * file does not exist but new classpath does).
+ * file does not exist but new classpath does)
*/
private boolean isUpToDate(String cpString) {
try {
@@ -353,7 +353,7 @@ public class BuildClasspathMojo extends
AbstractDependencyFilterMojo implements
* @param art2 second object
* @return the value <code>0</code> if the argument string is equal to
this string; a value less than <code>0</code>
* if this string is lexicographically less than the string
argument; and a value greater than
- * <code>0</code> if this string is lexicographically greater than
the string argument.
+ * <code>0</code> if this string is lexicographically greater than
the string argument
*/
@Override
public int compare(Artifact art1, Artifact art2) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
index 1bb9c40e..ece09828 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
@@ -283,6 +283,7 @@ public class CopyDependenciesMojo extends
AbstractFromDependenciesMojo {
/**
* Copies the signature file of the artifact to the destination directory,
if it exists or can be resolved.
* If the signature file does not exist and cannot be resolved, a warning
is logged.
+ *
* @param artifact the artifact whose signature file should be copied
* @param destDir the destination directory
* @param destFileName the destination file name without the extension
@@ -318,10 +319,10 @@ public class CopyDependenciesMojo extends
AbstractFromDependenciesMojo {
/**
* Copy the pom files associated with the artifacts.
*
- * @param destDir The destination directory {@link File}.
- * @param artifacts The artifacts {@link Artifact}.
- * @param removeVersion remove version or not.
- * @throws MojoExecutionException in case of errors.
+ * @param destDir the destination directory {@link File}
+ * @param artifacts the artifacts {@link Artifact}
+ * @param removeVersion remove version or not
+ * @throws MojoExecutionException in case of errors
*/
public void copyPoms(File destDir, Set<Artifact> artifacts, boolean
removeVersion) throws MojoExecutionException {
@@ -331,11 +332,11 @@ public class CopyDependenciesMojo extends
AbstractFromDependenciesMojo {
/**
* Copy the pom files associated with the artifacts.
*
- * @param destDir The destination directory {@link File}.
- * @param artifacts The artifacts {@link Artifact}.
- * @param removeVersion remove version or not.
- * @param removeClassifier remove the classifier or not.
- * @throws MojoExecutionException in case of errors.
+ * @param destDir the destination directory {@link File}
+ * @param artifacts the artifacts {@link Artifact}
+ * @param removeVersion remove version or not
+ * @param removeClassifier remove the classifier or not
+ * @throws MojoExecutionException in case of errors
*/
public void copyPoms(File destDir, Set<Artifact> artifacts, boolean
removeVersion, boolean removeClassifier)
throws MojoExecutionException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/UnpackDependenciesMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/UnpackDependenciesMojo.java
index dd018fd8..70717837 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/UnpackDependenciesMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/UnpackDependenciesMojo.java
@@ -78,7 +78,7 @@ public class UnpackDependenciesMojo extends
AbstractFromDependenciesMojo {
private String excludes;
/**
- * ignore to set file permissions when unpacking a dependency
+ * Ignore to set file permissions when unpacking a dependency.
*
* @since 2.7
*/
@@ -120,7 +120,7 @@ public class UnpackDependenciesMojo extends
AbstractFromDependenciesMojo {
* Main entry into mojo. This method gets the dependencies and iterates
through each one passing it to
* DependencyUtil.unpackFile().
*
- * @throws MojoExecutionException with a message if an error occurs.
+ * @throws MojoExecutionException with a message if an error occurs
* @see #getDependencySets(boolean)
*/
@Override
@@ -166,35 +166,35 @@ public class UnpackDependenciesMojo extends
AbstractFromDependenciesMojo {
}
/**
- * @return Returns a comma separated list of excluded items
+ * @return returns a comma separated list of excluded items
*/
public String getExcludes() {
return DependencyUtil.cleanToBeTokenizedString(this.excludes);
}
/**
- * @param excludes A comma separated list of items to exclude i.e.
<code>**\/*.xml, **\/*.properties</code>
+ * @param excludes a comma separated list of items to exclude i.e.
<code>**\/*.xml, **\/*.properties</code>
*/
public void setExcludes(String excludes) {
this.excludes = excludes;
}
/**
- * @return Returns a comma separated list of included items
+ * @return returns a comma separated list of included items
*/
public String getIncludes() {
return DependencyUtil.cleanToBeTokenizedString(this.includes);
}
/**
- * @param includes A comma separated list of items to include i.e.
<code>**\/*.xml, **\/*.properties</code>
+ * @param includes a comma separated list of items to include i.e.
<code>**\/*.xml, **\/*.properties</code>
*/
public void setIncludes(String includes) {
this.includes = includes;
}
/**
- * @param encoding The encoding to set.
+ * @param encoding the encoding to set
* @since 3.0
*/
public void setEncoding(String encoding) {
@@ -202,7 +202,7 @@ public class UnpackDependenciesMojo extends
AbstractFromDependenciesMojo {
}
/**
- * @return Returns the encoding.
+ * @return returns the encoding
* @since 3.0
*/
public String getEncoding() {
@@ -211,8 +211,7 @@ public class UnpackDependenciesMojo extends
AbstractFromDependenciesMojo {
/**
* @return {@link FileMapper}s to be used for rewriting each target path,
or {@code null} if no rewriting shall
- * happen.
- *
+ * happen
* @since 3.1.2
*/
public FileMapper[] getFileMappers() {
@@ -221,8 +220,7 @@ public class UnpackDependenciesMojo extends
AbstractFromDependenciesMojo {
/**
* @param fileMappers {@link FileMapper}s to be used for rewriting each
target path, or {@code null} if no
- * rewriting shall happen.
- *
+ * rewriting shall happen
* @since 3.1.2
*/
public void setFileMappers(FileMapper[] fileMappers) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/resolvers/GoOfflineMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/resolvers/GoOfflineMojo.java
index d503d65f..d6adeefb 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/resolvers/GoOfflineMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/resolvers/GoOfflineMojo.java
@@ -83,7 +83,7 @@ public class GoOfflineMojo extends AbstractResolveMojo {
* Main entry into mojo. Gets the list of dependencies, resolves all that
are not in the Reactor, and iterates
* through displaying the resolved versions.
*
- * @throws MojoExecutionException with a message if an error occurs.
+ * @throws MojoExecutionException with a message if an error occurs
*/
@Override
protected void doExecute() throws MojoExecutionException {
@@ -112,8 +112,8 @@ public class GoOfflineMojo extends AbstractResolveMojo {
* This method resolves the dependency artifacts from the project.
*
* @return set of resolved dependency artifacts
- * @throws DependencyResolverException in case of an error while resolving
the artifacts
* @throws ArtifactFilterException
+ * @throws DependencyResolverException in case of an error while resolving
the artifacts
*/
protected Set<Artifact> resolveDependencyArtifacts() throws
DependencyResolverException, ArtifactFilterException {
Collection<Dependency> dependencies = getProject().getDependencies();
@@ -167,8 +167,8 @@ public class GoOfflineMojo extends AbstractResolveMojo {
* This method resolves the plugin artifacts from the project.
*
* @return set of resolved plugin artifacts
- * @throws DependencyResolverException in case of an error while resolving
the artifacts
* @throws ArtifactFilterException
+ * @throws DependencyResolverException in case of an error while resolving
the artifacts
*/
protected Set<Artifact> resolvePluginArtifacts() throws
DependencyResolverException, ArtifactFilterException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
index 62a5330e..b9bf0fb5 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java
@@ -71,7 +71,7 @@ public class ResolveDependenciesMojo extends
AbstractResolveMojo {
private String outputEncoding;
/**
- * If we should display the scope when resolving
+ * If we should display the scope when resolving.
*
* @since 2.0-alpha-2
*/
@@ -79,7 +79,7 @@ public class ResolveDependenciesMojo extends
AbstractResolveMojo {
protected boolean outputScope;
/**
- * Output absolute filename for resolved artifacts
+ * Output absolute filename for resolved artifacts.
*
* @since 2.0
*/
@@ -87,7 +87,7 @@ public class ResolveDependenciesMojo extends
AbstractResolveMojo {
private boolean outputAbsoluteArtifactFilename;
/**
- * Only used to store results for integration test validation
+ * Only used to store results for integration test validation.
*/
DependencyStatusSets results;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java
index e925c238..d9f6a868 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java
@@ -64,7 +64,7 @@ public class ResolvePluginsMojo extends AbstractResolveMojo {
private String outputEncoding;
/**
- * Output absolute filename for resolved artifacts
+ * Output absolute filename for resolved artifacts.
*
* @since 2.0
*/
@@ -91,7 +91,7 @@ public class ResolvePluginsMojo extends AbstractResolveMojo {
/**
* Main entry into mojo. Gets the list of dependencies and iterates
through displaying the resolved version.
*
- * @throws MojoExecutionException with a message if an error occurs.
+ * @throws MojoExecutionException with a message if an error occurs
*/
@Override
protected void doExecute() throws MojoExecutionException {
@@ -177,7 +177,7 @@ public class ResolvePluginsMojo extends AbstractResolveMojo
{
*
* @param artifact the artifact used to retrieve dependencies
* @return resolved set of dependencies
- * @throws DependencyResolverException in case of error while resolving
artifacts.
+ * @throws DependencyResolverException in case of error while resolving
artifacts
*/
private Set<Artifact> resolveArtifactDependencies(final
DependableCoordinate artifact)
throws DependencyResolverException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/tree/AbstractSerializingVisitor.java
b/src/main/java/org/apache/maven/plugins/dependency/tree/AbstractSerializingVisitor.java
index 32ec0883..65881316 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/tree/AbstractSerializingVisitor.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/tree/AbstractSerializingVisitor.java
@@ -38,7 +38,7 @@ public abstract class AbstractSerializingVisitor {
* Build a new AbstractSerializingDependencyNodeVisitor with the writer to
serialize to.
* </p>
*
- * @param writer the writer to serialize to.
+ * @param writer the writer to serialize to
*/
public AbstractSerializingVisitor(Writer writer) {
this.writer = writer;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/tree/DOTDependencyNodeVisitor.java
b/src/main/java/org/apache/maven/plugins/dependency/tree/DOTDependencyNodeVisitor.java
index 5cc8f86c..0508a313 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/tree/DOTDependencyNodeVisitor.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/tree/DOTDependencyNodeVisitor.java
@@ -38,7 +38,7 @@ public class DOTDependencyNodeVisitor extends
AbstractSerializingVisitor impleme
/**
* Constructor.
*
- * @param writer the writer to write to.
+ * @param writer the writer to write to
*/
public DOTDependencyNodeVisitor(Writer writer) {
super(writer);
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/tree/GraphmlDependencyNodeVisitor.java
b/src/main/java/org/apache/maven/plugins/dependency/tree/GraphmlDependencyNodeVisitor.java
index c6c600fa..c81a81a6 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/tree/GraphmlDependencyNodeVisitor.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/tree/GraphmlDependencyNodeVisitor.java
@@ -55,7 +55,7 @@ public class GraphmlDependencyNodeVisitor extends
AbstractSerializingVisitor imp
/**
* Constructor.
*
- * @param writer the writer to write to.
+ * @param writer the writer to write to
*/
public GraphmlDependencyNodeVisitor(Writer writer) {
super(writer);
@@ -115,8 +115,8 @@ public class GraphmlDependencyNodeVisitor extends
AbstractSerializingVisitor imp
* Current implementation is rather simple and uses hashcode.
* </p>
*
- * @param node the DependencyNode to use.
- * @return the unique id.
+ * @param node the DependencyNode to use
+ * @return the unique id
*/
private static String generateId(DependencyNode node) {
return String.valueOf(node.hashCode());
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/tree/TGFDependencyNodeVisitor.java
b/src/main/java/org/apache/maven/plugins/dependency/tree/TGFDependencyNodeVisitor.java
index c2fb62fd..3dc3a328 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/tree/TGFDependencyNodeVisitor.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/tree/TGFDependencyNodeVisitor.java
@@ -60,9 +60,9 @@ public class TGFDependencyNodeVisitor extends
AbstractSerializingVisitor impleme
/**
* Build a new EdgeAppender.
*
- * @param from edge start.
+ * @param from edge start
* @param to edge end
- * @param label optional label.
+ * @param label optional label
*/
EdgeAppender(DependencyNode from, DependencyNode to, String label) {
super();
@@ -72,7 +72,7 @@ public class TGFDependencyNodeVisitor extends
AbstractSerializingVisitor impleme
}
/**
- * build a string representing the edge.
+ * Build a string representing the edge.
*/
@Override
public String toString() {
@@ -93,7 +93,7 @@ public class TGFDependencyNodeVisitor extends
AbstractSerializingVisitor impleme
/**
* Constructor.
*
- * @param writer the writer to write to.
+ * @param writer the writer to write to
*/
public TGFDependencyNodeVisitor(Writer writer) {
super(writer);
@@ -147,8 +147,8 @@ public class TGFDependencyNodeVisitor extends
AbstractSerializingVisitor impleme
* Current implementation is rather simple and uses hashcode.
* </p>
*
- * @param node the DependencyNode to use.
- * @return the unique id.
+ * @param node the DependencyNode to use
+ * @return the unique id
*/
private static String generateId(DependencyNode node) {
return String.valueOf(node.hashCode());
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/tree/TreeMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/tree/TreeMojo.java
index b21f7489..a2e7d8e8 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/tree/TreeMojo.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/tree/TreeMojo.java
@@ -65,7 +65,6 @@ import
org.apache.maven.shared.dependency.graph.traversal.SerializingDependencyN
* <a href="https://en.wikipedia.org/wiki/Trivial_Graph_Format">TGF</a> and
* <a href="https://en.wikipedia.org/wiki/JSON">JSON</a>.
*
- *
* @author <a href="mailto:[email protected]">Mark Hobson</a>
* @since 2.0-alpha-5
*/
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/CopyUtil.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/CopyUtil.java
index 28b5cc31..d18fbd99 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/utils/CopyUtil.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/utils/CopyUtil.java
@@ -57,7 +57,6 @@ public class CopyUtil {
* @param destination file name of destination file
* @throws IOException if copy has failed
* @throws MojoExecutionException if artifact file is a directory (which
has not been packaged yet)
- *
* @since 3.7.0
*/
public void copyArtifactFile(Artifact sourceArtifact, File destination)
throws IOException, MojoExecutionException {
@@ -79,7 +78,6 @@ public class CopyUtil {
* @param source the source file to copy
* @param destination the destination file
* @throws IOException if copy has failed
- *
* @since 3.2.0
*/
public void copyFile(File source, File destination) throws IOException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyStatusSets.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyStatusSets.java
index 483e3469..4aed77fa 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyStatusSets.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyStatusSets.java
@@ -56,14 +56,14 @@ public class DependencyStatusSets {
}
/**
- * @return Returns the resolvedDependencies.
+ * @return returns the resolvedDependencies
*/
public Set<Artifact> getResolvedDependencies() {
return this.resolvedDependencies;
}
/**
- * @param resolvedDependencies The resolvedDependencies to set.
+ * @param resolvedDependencies the resolvedDependencies to set
*/
public void setResolvedDependencies(Set<Artifact> resolvedDependencies) {
if (resolvedDependencies != null) {
@@ -74,14 +74,14 @@ public class DependencyStatusSets {
}
/**
- * @return Returns the skippedDependencies.
+ * @return returns the skippedDependencies
*/
public Set<Artifact> getSkippedDependencies() {
return this.skippedDependencies;
}
/**
- * @param skippedDependencies The skippedDependencies to set.
+ * @param skippedDependencies the skippedDependencies to set
*/
public void setSkippedDependencies(Set<Artifact> skippedDependencies) {
if (skippedDependencies != null) {
@@ -92,14 +92,14 @@ public class DependencyStatusSets {
}
/**
- * @return Returns the unResolvedDependencies.
+ * @return returns the unResolvedDependencies
*/
public Set<Artifact> getUnResolvedDependencies() {
return this.unResolvedDependencies;
}
/**
- * @param unResolvedDependencies The unResolvedDependencies to set.
+ * @param unResolvedDependencies the unResolvedDependencies to set
*/
public void setUnResolvedDependencies(Set<Artifact>
unResolvedDependencies) {
if (unResolvedDependencies != null) {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
index f0a33379..11e8be21 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/DependencyUtil.java
@@ -44,9 +44,9 @@ public final class DependencyUtil {
* Builds the file name. If removeVersion is set, then the file name must
be reconstructed from the artifactId,
* Classifier (if used) and Type. Otherwise, this method returns the
artifact file name.
*
- * @param artifact File to be formatted.
- * @param removeVersion Specifies if the version should be removed from
the file name.
- * @return Formatted file name in the format
artifactId-[version]-[classifier].[type]
+ * @param artifact file to be formatted
+ * @param removeVersion specifies if the version should be removed from
the file name
+ * @return formatted file name in the format
artifactId-[version]-[classifier].[type]
* @see #getFormattedFileName(Artifact, boolean, boolean)
*/
public static String getFormattedFileName(Artifact artifact, boolean
removeVersion) {
@@ -58,10 +58,10 @@ public final class DependencyUtil {
* <b>prependGroupId</b> is true) artifactId, Classifier (if used) and
Type. Otherwise, this method returns the
* artifact file name.
*
- * @param artifact File to be formatted.
- * @param removeVersion Specifies if the version should be removed from
the file name.
- * @param prependGroupId Specifies if the groupId should be prepended to
the file name.
- * @return Formatted file name in the format
[groupId].artifactId-[version]-[classifier].[type]
+ * @param artifact file to be formatted
+ * @param removeVersion specifies if the version should be removed from
the file name
+ * @param prependGroupId specifies if the groupId should be prepended to
the file name
+ * @return formatted file name in the format
[groupId].artifactId-[version]-[classifier].[type]
*/
public static String getFormattedFileName(Artifact artifact, boolean
removeVersion, boolean prependGroupId) {
return getFormattedFileName(artifact, removeVersion, prependGroupId,
false);
@@ -73,10 +73,10 @@ public final class DependencyUtil {
* artifact file name.
*
* @param artifact file to be formatted
- * @param removeVersion Specifies if the version should be removed from
the file name
- * @param prependGroupId Specifies if the groupId should be prepended to
the file name
- * @param useBaseVersion Specifies if the baseVersion of the artifact
should be used instead of the version
- * @return Formatted file name in the format
[groupId].artifactId-[version]-[classifier].[type]
+ * @param removeVersion specifies if the version should be removed from
the file name
+ * @param prependGroupId specifies if the groupId should be prepended to
the file name
+ * @param useBaseVersion specifies if the baseVersion of the artifact
should be used instead of the version
+ * @return formatted file name in the format
[groupId].artifactId-[version]-[classifier].[type]
*/
public static String getFormattedFileName(
Artifact artifact, boolean removeVersion, boolean prependGroupId,
boolean useBaseVersion) {
@@ -88,12 +88,12 @@ public final class DependencyUtil {
* <b>prependGroupId</b> is true) artifactId, Classifier (if used) and
Type. Otherwise, this method returns the
* artifact file name.
*
- * @param artifact File to be formatted.
- * @param removeVersion Specifies if the version should be removed from
the file name.
- * @param prependGroupId Specifies if the groupId should be prepended to
the file name.
- * @param useBaseVersion Specifies if the baseVersion of the artifact
should be used instead of the version.
- * @param removeClassifier Specifies if the classifier of the artifact
should be remved from the file name.
- * @return Formatted file name in the format
[groupId].artifactId-[version]-[classifier].[type]
+ * @param artifact file to be formatted
+ * @param removeVersion specifies if the version should be removed from
the file name
+ * @param prependGroupId specifies if the groupId should be prepended to
the file name
+ * @param useBaseVersion specifies if the baseVersion of the artifact
should be used instead of the version
+ * @param removeClassifier specifies if the classifier of the artifact
should be remved from the file name
+ * @return formatted file name in the format
[groupId].artifactId-[version]-[classifier].[type]
*/
public static String getFormattedFileName(
Artifact artifact,
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/ParamArtifact.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/ParamArtifact.java
index 1727c485..ace152ef 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/utils/ParamArtifact.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/utils/ParamArtifact.java
@@ -19,7 +19,7 @@
package org.apache.maven.plugins.dependency.utils;
/**
- * Represent artifact data collected from Mojo parameters
+ * Represent artifact data collected from Mojo parameters.
*/
public class ParamArtifact {
private String groupId;
@@ -83,7 +83,7 @@ public class ParamArtifact {
}
/**
- * Determinate if all needed data is set
+ * Determinate if all needed data is set.
*/
public boolean isDataSet() {
return artifact != null || (groupId != null && artifactId != null &&
version != null);
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/ResolverUtil.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/ResolverUtil.java
index d661377f..83e31dba 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/utils/ResolverUtil.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/utils/ResolverUtil.java
@@ -87,12 +87,12 @@ public class ResolverUtil {
}
/**
- * Resolve given artifact
+ * Resolve given artifact.
*
* @param artifact an artifact to resolve
* @param repositories remote repositories list
* @return resolved artifact
- * @throws ArtifactResolutionException If the artifact could not be
resolved.
+ * @throws ArtifactResolutionException if the artifact could not be
resolved
*/
public Artifact resolveArtifact(Artifact artifact, List<RemoteRepository>
repositories)
throws ArtifactResolutionException {
@@ -108,8 +108,8 @@ public class ResolverUtil {
* @param artifact an artifact to resolve
* @param repositories remote repositories list
* @return list of transitive dependencies for artifact
- * @throws DependencyResolutionException If the dependency tree could not
be built or any dependency artifact could
- * not be resolved.
+ * @throws DependencyResolutionException if the dependency tree could not
be built or any dependency artifact could
+ * not be resolved
*/
public List<Artifact> resolveDependencies(Artifact artifact,
List<RemoteRepository> repositories)
throws DependencyResolutionException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/UnpackUtil.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/UnpackUtil.java
index 817adb4d..0d6cd716 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/utils/UnpackUtil.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/utils/UnpackUtil.java
@@ -44,12 +44,12 @@ import org.sonatype.plexus.build.incremental.BuildContext;
public class UnpackUtil {
/**
- * To look up Archiver/UnArchiver implementations
+ * To look up Archiver/UnArchiver implementations.
*/
private final ArchiverManager archiverManager;
/**
- * For IDE build support
+ * For IDE build support.
*/
private final BuildContext buildContext;
@@ -68,16 +68,16 @@ public class UnpackUtil {
/**
* @param file file to unpack
* @param type file / artifact type
- * @param location The location.
- * @param includes includes list.
- * @param excludes excludes list.
- * @param encoding the encoding.
+ * @param location the location
+ * @param includes includes list
+ * @param excludes excludes list
+ * @param encoding the encoding
* @param ignorePermissions ignore permissions
* @param fileMappers {@link FileMapper}s to be used for rewriting
each target path, or {@code null} if no
* rewriting
- * shall happen.
+ * shall happen
* @param logger a Mojo logger
- * @throws MojoExecutionException in case of an error.
+ * @throws MojoExecutionException in case of an error
*/
public void unpack(
File file,
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/filters/ArtifactItemFilter.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/filters/ArtifactItemFilter.java
index a6880e62..9b213563 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/filters/ArtifactItemFilter.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/filters/ArtifactItemFilter.java
@@ -28,8 +28,8 @@ public interface ArtifactItemFilter {
/**
* @param item {@link ArtifactItem}
- * @return true/false.
- * @throws ArtifactFilterException in case of an error.
+ * @return true/false
+ * @throws ArtifactFilterException in case of an error
*/
boolean isArtifactIncluded(ArtifactItem item) throws
ArtifactFilterException;
}
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
index 669c90c1..3d04a537 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/filters/DestFileFilter.java
@@ -61,24 +61,24 @@ public class DestFileFilter extends AbstractArtifactsFilter
implements ArtifactI
private File outputFileDirectory;
/**
- * @param outputFileDirectory the output directory.
+ * @param outputFileDirectory the output directory
*/
public DestFileFilter(File outputFileDirectory) {
this(false, false, false, false, false, false, false, false, false,
false, outputFileDirectory);
}
/**
- * @param overWriteReleases true/false.
- * @param overWriteSnapshots true/false.
- * @param overWriteIfNewer true/false.
- * @param useSubDirectoryPerArtifact true/false.
- * @param useSubDirectoryPerType true/false.
- * @param useSubDirectoryPerScope true/false.
- * @param useRepositoryLayout true/false.
- * @param removeVersion true/false.
- * @param prependGroupId true/false.
- * @param useBaseVersion true/false.
- * @param outputFileDirectory the output directory.
+ * @param overWriteReleases true/false
+ * @param overWriteSnapshots true/false
+ * @param overWriteIfNewer true/false
+ * @param useSubDirectoryPerArtifact true/false
+ * @param useSubDirectoryPerType true/false
+ * @param useSubDirectoryPerScope true/false
+ * @param useRepositoryLayout true/false
+ * @param removeVersion true/false
+ * @param prependGroupId true/false
+ * @param useBaseVersion true/false
+ * @param outputFileDirectory the output directory
*/
public DestFileFilter(
boolean overWriteReleases,
@@ -123,133 +123,133 @@ public class DestFileFilter extends
AbstractArtifactsFilter implements ArtifactI
}
/**
- * @return Returns the overWriteReleases.
+ * @return returns the overWriteReleases
*/
public boolean isOverWriteReleases() {
return this.overWriteReleases;
}
/**
- * @param overWriteReleases The overWriteReleases to set.
+ * @param overWriteReleases the overWriteReleases to set
*/
public void setOverWriteReleases(boolean overWriteReleases) {
this.overWriteReleases = overWriteReleases;
}
/**
- * @return Returns the overWriteSnapshots.
+ * @return returns the overWriteSnapshots
*/
public boolean isOverWriteSnapshots() {
return this.overWriteSnapshots;
}
/**
- * @param overWriteSnapshots The overWriteSnapshots to set.
+ * @param overWriteSnapshots the overWriteSnapshots to set
*/
public void setOverWriteSnapshots(boolean overWriteSnapshots) {
this.overWriteSnapshots = overWriteSnapshots;
}
/**
- * @return Returns the overWriteIfNewer.
+ * @return returns the overWriteIfNewer
*/
public boolean isOverWriteIfNewer() {
return this.overWriteIfNewer;
}
/**
- * @param overWriteIfNewer The overWriteIfNewer to set.
+ * @param overWriteIfNewer the overWriteIfNewer to set
*/
public void setOverWriteIfNewer(boolean overWriteIfNewer) {
this.overWriteIfNewer = overWriteIfNewer;
}
/**
- * @return Returns the outputFileDirectory.
+ * @return returns the outputFileDirectory
*/
public File getOutputFileDirectory() {
return this.outputFileDirectory;
}
/**
- * @param outputFileDirectory The outputFileDirectory to set.
+ * @param outputFileDirectory the outputFileDirectory to set
*/
public void setOutputFileDirectory(File outputFileDirectory) {
this.outputFileDirectory = outputFileDirectory;
}
/**
- * @return Returns the removeVersion.
+ * @return returns the removeVersion
*/
public boolean isRemoveVersion() {
return this.removeVersion;
}
/**
- * @param removeType The removeType to set.
+ * @param removeType the removeType to set
*/
public void setRemoveType(boolean removeType) {
this.removeType = removeType;
}
/**
- * @return Returns the removeType.
+ * @return returns the removeType
*/
public boolean isRemoveType() {
return this.removeType;
}
/**
- * @param removeVersion The removeVersion to set.
+ * @param removeVersion the removeVersion to set
*/
public void setRemoveVersion(boolean removeVersion) {
this.removeVersion = removeVersion;
}
/**
- * @return Returns the removeClassifier.
+ * @return returns the removeClassifier
*/
public boolean isRemoveClassifier() {
return this.removeClassifier;
}
/**
- * @param removeClassifier The removeClassifier to set.
+ * @param removeClassifier the removeClassifier to set
*/
public void setRemoveClassifier(boolean removeClassifier) {
this.removeClassifier = removeClassifier;
}
/**
- * @return Returns the useSubDirectoryPerArtifact.
+ * @return returns the useSubDirectoryPerArtifact
*/
public boolean isUseSubDirectoryPerArtifact() {
return this.useSubDirectoryPerArtifact;
}
/**
- * @param useSubDirectoryPerArtifact The useSubDirectoryPerArtifact to set.
+ * @param useSubDirectoryPerArtifact the useSubDirectoryPerArtifact to set
*/
public void setUseSubDirectoryPerArtifact(boolean
useSubDirectoryPerArtifact) {
this.useSubDirectoryPerArtifact = useSubDirectoryPerArtifact;
}
/**
- * @return Returns the useSubDirectoryPerType.
+ * @return returns the useSubDirectoryPerType
*/
public boolean isUseSubDirectoryPerType() {
return this.useSubDirectoryPerType;
}
/**
- * @param useSubDirectoryPerType The useSubDirectoryPerType to set.
+ * @param useSubDirectoryPerType the useSubDirectoryPerType to set
*/
public void setUseSubDirectoryPerType(boolean useSubDirectoryPerType) {
this.useSubDirectoryPerType = useSubDirectoryPerType;
}
/**
- * @return Returns the useRepositoryLayout
+ * @return returns the useRepositoryLayout
*/
public boolean isUseRepositoryLayout() {
return useRepositoryLayout;
@@ -299,10 +299,10 @@ public class DestFileFilter extends
AbstractArtifactsFilter implements ArtifactI
/**
* {@code File.getLastModified} sometimes returns a wrong value. See JDK
bug for details.
* <p>
- * https://bugs.openjdk.java.net/browse/JDK-8177809
+ * https://bugs.openjdk.java.net/browse/JDK-8177809.
*
* @param file {@link File}
- * @return the last modification time in milliseconds.
+ * @return the last modification time in milliseconds
* @throws ArtifactFilterException in case of an IOException
*/
private long getLastModified(File file) throws ArtifactFilterException {
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
index f841e6e7..2a3bd556 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/filters/MarkerFileFilter.java
@@ -45,9 +45,9 @@ public class MarkerFileFilter extends AbstractArtifactsFilter
implements Artifac
protected final MarkerHandler handler;
/**
- * @param overWriteReleases true/false.
- * @param overWriteSnapshots true/false.
- * @param overWriteIfNewer true/false.
+ * @param overWriteReleases true/false
+ * @param overWriteSnapshots true/false
+ * @param overWriteIfNewer true/false
* @param handler {@link MarkerHandler}
*/
public MarkerFileFilter(
@@ -93,42 +93,42 @@ public class MarkerFileFilter extends
AbstractArtifactsFilter implements Artifac
}
/**
- * @return Returns the overWriteReleases.
+ * @return returns the overWriteReleases
*/
public boolean isOverWriteReleases() {
return this.overWriteReleases;
}
/**
- * @param overWriteReleases The overWriteReleases to set.
+ * @param overWriteReleases the overWriteReleases to set
*/
public void setOverWriteReleases(boolean overWriteReleases) {
this.overWriteReleases = overWriteReleases;
}
/**
- * @return Returns the overWriteSnapshots.
+ * @return returns the overWriteSnapshots
*/
public boolean isOverWriteSnapshots() {
return this.overWriteSnapshots;
}
/**
- * @param overWriteSnapshots The overWriteSnapshots to set.
+ * @param overWriteSnapshots the overWriteSnapshots to set
*/
public void setOverWriteSnapshots(boolean overWriteSnapshots) {
this.overWriteSnapshots = overWriteSnapshots;
}
/**
- * @return Returns the overWriteIfNewer.
+ * @return returns the overWriteIfNewer
*/
public boolean isOverWriteIfNewer() {
return this.overWriteIfNewer;
}
/**
- * @param overWriteIfNewer The overWriteIfNewer to set.
+ * @param overWriteIfNewer the overWriteIfNewer to set
*/
public void setOverWriteIfNewer(boolean overWriteIfNewer) {
this.overWriteIfNewer = overWriteIfNewer;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/DefaultFileMarkerHandler.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/DefaultFileMarkerHandler.java
index 27d7e4f6..bd9a54b2 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/DefaultFileMarkerHandler.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/DefaultFileMarkerHandler.java
@@ -39,7 +39,7 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
protected File markerFilesDirectory;
/**
- * @param theMarkerFilesDirectory The marker directory.
+ * @param theMarkerFilesDirectory the marker directory
*/
public DefaultFileMarkerHandler(File theMarkerFilesDirectory) {
this.markerFilesDirectory = theMarkerFilesDirectory;
@@ -47,7 +47,7 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
/**
* @param theArtifact {@link Artifact}
- * @param theMarkerFilesDirectory The marker directory.
+ * @param theMarkerFilesDirectory the marker directory
*/
public DefaultFileMarkerHandler(Artifact theArtifact, File
theMarkerFilesDirectory) {
this.artifact = theArtifact;
@@ -55,9 +55,9 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
}
/**
- * Returns properly formatted File
+ * Returns properly formatted File.
*
- * @return File object for marker. The file is not guaranteed to exist.
+ * @return file object for marker. The file is not guaranteed to exist.
*/
protected File getMarkerFile() {
return new File(this.markerFilesDirectory,
this.artifact.getId().replace(':', '-') + ".marker");
@@ -68,7 +68,7 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
*
* @return <code>true</code> if and only if the file or directory denoted
by this abstract pathname exists;
* <code>false</code> otherwise
- * @throws SecurityException If a security manager exists and its
<code>{@link
+ * @throws SecurityException if a security manager exists and its
<code>{@link
* java.lang.SecurityManager#checkRead(java.lang.String)}</code>
method denies read access to the file or
* directory
*/
@@ -128,7 +128,7 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
*
* @return <code>true</code> if and only if the file or directory is
successfully deleted; <code>false</code>
* otherwise
- * @throws SecurityException If a security manager exists and its
<code>{@link
+ * @throws SecurityException if a security manager exists and its
<code>{@link
* java.lang.SecurityManager#checkDelete}</code> method denies
delete access to the file
*/
@Override
@@ -138,14 +138,14 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
}
/**
- * @return Returns the artifact.
+ * @return returns the artifact
*/
public Artifact getArtifact() {
return this.artifact;
}
/**
- * @param artifact The artifact to set.
+ * @param artifact the artifact to set
*/
@Override
public void setArtifact(Artifact artifact) {
@@ -153,14 +153,14 @@ public class DefaultFileMarkerHandler implements
MarkerHandler {
}
/**
- * @return Returns the markerFilesDirectory.
+ * @return returns the markerFilesDirectory
*/
public File getMarkerFilesDirectory() {
return this.markerFilesDirectory;
}
/**
- * @param markerFilesDirectory The markerFilesDirectory to set.
+ * @param markerFilesDirectory the markerFilesDirectory to set
*/
public void setMarkerFilesDirectory(File markerFilesDirectory) {
this.markerFilesDirectory = markerFilesDirectory;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/MarkerHandler.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/MarkerHandler.java
index a56aee64..541e9b07 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/MarkerHandler.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/MarkerHandler.java
@@ -26,26 +26,26 @@ import org.apache.maven.plugin.MojoExecutionException;
*/
public interface MarkerHandler {
/**
- * @return true/false.
- * @throws MojoExecutionException in case of an error.
+ * @return true/false
+ * @throws MojoExecutionException in case of an error
*/
boolean isMarkerSet() throws MojoExecutionException;
/**
- * @throws MojoExecutionException in case of an error.
+ * @throws MojoExecutionException in case of an error
*/
void setMarker() throws MojoExecutionException;
/**
- * @return true/false.
- * @throws MojoExecutionException in case of an error.
+ * @return true/false
+ * @throws MojoExecutionException in case of an error
*/
boolean clearMarker() throws MojoExecutionException;
/**
* @param artifact {@link Artifact}
- * @return true/false.
- * @throws MojoExecutionException in case of an error.
+ * @return true/false
+ * @throws MojoExecutionException in case of an error
*/
boolean isMarkerOlder(Artifact artifact) throws MojoExecutionException;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
index 97638cd4..7cd9cef9 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java
@@ -32,7 +32,7 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
boolean resolved;
/**
- * @param markerFilesDirectory the marker files directory.
+ * @param markerFilesDirectory the marker files directory
*/
public SourcesFileMarkerHandler(File markerFilesDirectory) {
super(markerFilesDirectory);
@@ -40,8 +40,8 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
/**
* @param artifact {@link Artifact}
- * @param markerFilesDirectory marker files directory.
- * @param isResolved true/false.
+ * @param markerFilesDirectory marker files directory
+ * @param isResolved true/false
*/
public SourcesFileMarkerHandler(Artifact artifact, File
markerFilesDirectory, boolean isResolved) {
super(artifact, markerFilesDirectory);
@@ -49,9 +49,9 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
}
/**
- * Returns properly formatted File
+ * Returns properly formatted File.
*
- * @return File object for marker. The file is not guaranteed to exist.
+ * @return file object for marker. The file is not guaranteed to exist.
*/
@Override
public File getMarkerFile() {
@@ -59,10 +59,10 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
}
/**
- * Get MarkerFile, exposed for unit testing purposes
+ * Get MarkerFile, exposed for unit testing purposes.
*
- * @param res resolved or not.
- * @return marker file for this artifact.
+ * @param res resolved or not
+ * @return marker file for this artifact
*/
protected File getMarkerFile(boolean res) {
String suffix;
@@ -80,7 +80,7 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
*
* @return <code>true</code> if and only if the file or directory denoted
by this abstract pathname exists;
* <code>false</code> otherwise
- * @throws MojoExecutionException If a security manager exists and its
<code>{@link
+ * @throws MojoExecutionException if a security manager exists and its
<code>{@link
* java.lang.SecurityManager#checkRead(java.lang.String)}</code>
method denies read access to the file or
* directory
*/
@@ -142,7 +142,7 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
*
* @return <code>true</code> if and only if the file or directory is
successfully deleted; <code>false</code>
* otherwise
- * @throws SecurityException If a security manager exists and its
<code>{@link
+ * @throws SecurityException if a security manager exists and its
<code>{@link
* java.lang.SecurityManager#checkDelete}</code> method denies
delete access to the file
*/
@Override
@@ -155,14 +155,14 @@ public class SourcesFileMarkerHandler extends
DefaultFileMarkerHandler {
}
/**
- * @return Returns the resolved.
+ * @return returns the resolved
*/
public boolean isResolved() {
return this.resolved;
}
/**
- * @param isResolved The resolved to set.
+ * @param isResolved the resolved to set
*/
public void setResolved(boolean isResolved) {
this.resolved = isResolved;
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
index 396f39fc..cae50ab7 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/markers/UnpackFileMarkerHandler.java
@@ -32,7 +32,7 @@ public class UnpackFileMarkerHandler extends
DefaultFileMarkerHandler {
protected ArtifactItem artifactItem;
/**
- * @param markerFilesDirectory The marker files directory.
+ * @param markerFilesDirectory the marker files directory
*/
public UnpackFileMarkerHandler(File markerFilesDirectory) {
super(markerFilesDirectory);
@@ -40,7 +40,7 @@ public class UnpackFileMarkerHandler extends
DefaultFileMarkerHandler {
/**
* @param artifactItem {@link ArtifactItem}
- * @param markerFilesDirectory the marker files directory.
+ * @param markerFilesDirectory the marker files directory
*/
public UnpackFileMarkerHandler(ArtifactItem artifactItem, File
markerFilesDirectory) {
this(markerFilesDirectory);
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ArtifactTranslator.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ArtifactTranslator.java
index 12f4ed4c..d2dbd290 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ArtifactTranslator.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ArtifactTranslator.java
@@ -28,7 +28,7 @@ import org.apache.maven.plugin.logging.Log;
*/
public interface ArtifactTranslator {
/**
- * @param artifacts set of {@link Artifact}s.
+ * @param artifacts set of {@link Artifact}s
* @param log {@link Log}
* @return set of {@link org.eclipse.aether.artifact.Artifact}
*/
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ClassifierTypeTranslator.java
b/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ClassifierTypeTranslator.java
index 3aec5907..188f6f3f 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ClassifierTypeTranslator.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/utils/translators/ClassifierTypeTranslator.java
@@ -39,9 +39,9 @@ public class ClassifierTypeTranslator implements
ArtifactTranslator {
private String type;
/**
- * @param artifactHandlerManager {@link ArtifactHandlerManager}.
- * @param theClassifier The classifier to use.
- * @param theType The type.
+ * @param artifactHandlerManager {@link ArtifactHandlerManager}
+ * @param theClassifier the classifier to use
+ * @param theType the type
*/
public ClassifierTypeTranslator(
ArtifactHandlerManager artifactHandlerManager, String
theClassifier, String theType) {
@@ -95,28 +95,28 @@ public class ClassifierTypeTranslator implements
ArtifactTranslator {
}
/**
- * @return Returns the type.
+ * @return returns the type
*/
public String getType() {
return this.type;
}
/**
- * @param theType The type to set.
+ * @param theType the type to set
*/
public void setType(String theType) {
this.type = theType;
}
/**
- * @return Returns the classifier.
+ * @return returns the classifier
*/
public String getClassifier() {
return this.classifier;
}
/**
- * @param theClassifier The classifier to set.
+ * @param theClassifier the classifier to set
*/
public void setClassifier(String theClassifier) {
this.classifier = theClassifier;