chadwick00 commented on code in PR #218: URL: https://github.com/apache/maven-dependency-plugin/pull/218#discussion_r1342916650
########## src/main/java/org/apache/maven/plugins/dependency/analyze/AbstractAnalyzeMojo.java: ########## @@ -266,7 +267,30 @@ public abstract class AbstractAnalyzeMojo // 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" ); + private final List<String> ignoredPackagings = Arrays.asList( "pom", "ear" ); + + + /** + * List of dependencies to be included. The result of this list is then applied to the ignore parameters. + * + * The filter syntax is: + * + * <pre> + * [groupId]:[artifactId]:[type]:[version] + * </pre> + * + * where each pattern segment is optional and supports full and partial <code>*</code> wildcards. An empty pattern + * segment is treated as an implicit wildcard. * + * <p> + * For example, <code>org.apache.*</code> will match all artifacts whose group id starts with + * <code>org.apache.</code>, and <code>:maven-dependency-plugin</code> will result in the analysis being applied Review Comment: Done by copying the example Javadoc above. Decided the purpose of this section of the Javadoc is to explain the Maven co-ordinate and wildcard combination rather than the specific behaviour of the parameter. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org