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 2024/10/14 15:31:04 UTC
(maven-dependency-plugin) branch prop updated (77656f79 -> 5f4f203a)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a change to branch prop
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
omit 77656f79 debug
new 5f4f203a debug
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (77656f79)
\
N -- N -- N refs/heads/prop (5f4f203a)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../projects/mdep-779-analyze-only-verbose-shows-class-names/verify.bsh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(maven-dependency-plugin) 01/01: debug
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch prop
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
commit 5f4f203ad485efc0bbfd3dfeb7866bbafeba3a60
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Mon Oct 14 11:03:53 2024 -0400
debug
---
.../verify.bsh | 2 +-
.../plugins/dependency/analyze/AbstractAnalyzeMojo.java | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/it/projects/mdep-779-analyze-only-verbose-shows-class-names/verify.bsh b/src/it/projects/mdep-779-analyze-only-verbose-shows-class-names/verify.bsh
index b3300d87..b78a13ce 100644
--- a/src/it/projects/mdep-779-analyze-only-verbose-shows-class-names/verify.bsh
+++ b/src/it/projects/mdep-779-analyze-only-verbose-shows-class-names/verify.bsh
@@ -31,7 +31,7 @@ String expected = "[WARNING] Used undeclared dependencies found:\n" +
if ( !log.contains(expected) )
{
- throw new Exception( "Expected warning missing" );
+ throw new Exception( "Expected warning missing");
}
return true;
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 3a4b9cd5..bb7768a9 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
@@ -75,19 +75,19 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
* a dependency for this plugin that contains the code for the analyzer. The analyzer must have a declared Plexus
* role name, and you specify the role name here.
*/
- @Parameter(defaultValue = "default")
+ @Parameter(property = "analyzer", defaultValue = "default")
private String analyzer;
/**
* Whether to fail the build if a dependency warning is found.
*/
- @Parameter(defaultValue = "false")
+ @Parameter(property = "failOnWarning", defaultValue = "false")
private boolean failOnWarning;
/**
* Output used dependencies.
*/
- @Parameter(defaultValue = "false")
+ @Parameter(property = "verbose", defaultValue = "false")
private boolean verbose;
/**
@@ -95,7 +95,7 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
* <p>
* <code><b>Non-test scoped</b></code> list will be not affected.
*/
- @Parameter(defaultValue = "false")
+ @Parameter(property = "ignoreNonCompile", defaultValue = "false")
private boolean ignoreNonCompile;
/**
@@ -103,7 +103,7 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
*
* @since 3.2.0
*/
- @Parameter(defaultValue = "false")
+ @Parameter(property = "ignoreUnusedRuntime", defaultValue = "false")
private boolean ignoreUnusedRuntime;
/**
@@ -120,19 +120,19 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
/**
* Output XML for the missing dependencies (used but not declared).
*/
- @Parameter(defaultValue = "false")
+ @Parameter(property = "outputXML", defaultValue = "false")
private boolean outputXML;
/**
* Output scriptable values for the missing dependencies (used but not declared).
*/
- @Parameter(defaultValue = "false")
+ @Parameter(property = "scriptableOutput", defaultValue = "false")
private boolean scriptableOutput;
/**
* Flag to use for scriptable output.
*/
- @Parameter(defaultValue = "$$$%%%")
+ @Parameter(property = "scriptableFlag", defaultValue = "$$$%%%")
private String scriptableFlag;
/**