Skip to content

Commit

Permalink
Replace old workaround for Maven 3.2.5 bug (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored Oct 14, 2024
1 parent 54663fc commit 24d2a76
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,11 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
*
* @since 3.2.1
*/
// defaultValue value on @Parameter - not work with Maven 3.2.5
// When is set defaultValue always win, and there is no possibility to override by plugin configuration.
@Parameter
private List<String> ignoredPackagings = Arrays.asList("pom", "ear");
@Parameter(defaultValue = "pom,ear")
private List<String> ignoredPackagings;

/**
* List Excluded classes patterns from analyze. Java regular expression pattern is applied to full class name.
* List of class patterns excluded from analyze. Java regular expression pattern is applied to full class name.
*
* @since 3.7.0
*/
Expand Down

0 comments on commit 24d2a76

Please sign in to comment.