Skip to content

Commit 24d2a76

Browse files
authored
Replace old workaround for Maven 3.2.5 bug (#438)
1 parent 54663fc commit 24d2a76

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,11 @@ public abstract class AbstractAnalyzeMojo extends AbstractMojo {
261261
*
262262
* @since 3.2.1
263263
*/
264-
// defaultValue value on @Parameter - not work with Maven 3.2.5
265-
// When is set defaultValue always win, and there is no possibility to override by plugin configuration.
266-
@Parameter
267-
private List<String> ignoredPackagings = Arrays.asList("pom", "ear");
264+
@Parameter(defaultValue = "pom,ear")
265+
private List<String> ignoredPackagings;
268266

269267
/**
270-
* List Excluded classes patterns from analyze. Java regular expression pattern is applied to full class name.
268+
* List of class patterns excluded from analyze. Java regular expression pattern is applied to full class name.
271269
*
272270
* @since 3.7.0
273271
*/

0 commit comments

Comments
 (0)