You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2020/05/27 15:18:46 UTC
[maven-dependency-plugin] branch master updated: docs: fix typo
(#58)
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 decd737 docs: fix typo (#58)
decd737 is described below
commit decd737d9b20d07b74cb6f45b4288ab2a88271cd
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Wed May 27 11:18:38 2020 -0400
docs: fix typo (#58)
* spelling
---
src/main/java/org/apache/maven/plugins/dependency/GetMojo.java | 6 ------
.../plugins/dependency/resolvers/ResolveDependenciesMojo.java | 8 ++++----
src/main/resources/analyze-report_en.properties | 2 +-
3 files changed, 5 insertions(+), 11 deletions(-)
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 f5a1b63..9ddbff3 100644
--- a/src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
+++ b/src/main/java/org/apache/maven/plugins/dependency/GetMojo.java
@@ -65,15 +65,9 @@ public class GetMojo
@Parameter( defaultValue = "${session}", required = true, readonly = true )
private MavenSession session;
- /**
- *
- */
@Component
private ArtifactResolver artifactResolver;
- /**
- *
- */
@Component
private DependencyResolver dependencyResolver;
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 135580f..e745b62 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
@@ -134,10 +134,10 @@ public class ResolveDependenciesMojo
}
/**
- * @param outputAbsoluteArtifactFilename absolute artfiact filename.
- * @param theOutputScope The output scope.
- * @param theSort sort yes/no.
- * @return The output.
+ * @param outputAbsoluteArtifactFilename absolute artifact filename
+ * @param theOutputScope the output scope
+ * @param theSort sort yes/no
+ * @return the output
*/
public String getOutput( boolean outputAbsoluteArtifactFilename, boolean theOutputScope, boolean theSort )
{
diff --git a/src/main/resources/analyze-report_en.properties b/src/main/resources/analyze-report_en.properties
index e913323..607b4bf 100644
--- a/src/main/resources/analyze-report_en.properties
+++ b/src/main/resources/analyze-report_en.properties
@@ -17,6 +17,6 @@
# NOTE:
# This bundle is intentionally empty because English strings are provided by the base bundle via the parent chain. It
-# must be provided nevertheless such that a request for locale "en" will not errorneously pick up the bundle for the
+# must be provided nevertheless such that a request for locale "en" will not erroneously pick up the bundle for the
# JVM's default locale (which need not be "en"). See the method javadoc about
# ResourceBundle.getBundle(String, Locale, ClassLoader)