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 77656f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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. Found\n" + log);
}

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 @@ -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;

/**
Expand Down

0 comments on commit 77656f7

Please sign in to comment.