Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Oct 14, 2024
1 parent 7e9aa28 commit 12addb6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Original file line number Diff line number Diff line change
Expand Up @@ -75,35 +75,35 @@ 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;

/**
* Ignore Runtime/Provided/Test/System scopes for unused dependency analysis.
* <p>
* <code><b>Non-test scoped</b></code> list will be not affected.
*/
@Parameter(defaultValue = "false")
@Parameter(property = "ignoreNonCompile", defaultValue = "false")
private boolean ignoreNonCompile;

/**
* Ignore Runtime scope for unused dependency analysis.
*
* @since 3.2.0
*/
@Parameter(defaultValue = "false")
@Parameter(property = "ignoreUnusedRuntime", defaultValue = "false")
private boolean ignoreUnusedRuntime;

/**
Expand All @@ -114,25 +114,25 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
*
* @since 3.3.1
*/
@Parameter(defaultValue = "false")
@Parameter(property = "ignoreAllNonTestScoped", defaultValue = "false")
private boolean ignoreAllNonTestScoped;

/**
* 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;

/**
Expand Down

0 comments on commit 12addb6

Please sign in to comment.