pzygielo commented on pull request #169: URL: https://github.com/apache/maven-dependency-plugin/pull/169#issuecomment-968255529
> When we have default value, like: > > ``` > @Parameter( defaultValue = "pom,ear" ) > private List<String> ignoredPackagings = new ArrayList<>(); > ``` > > In maven `3.2.5` this default value is used always and win with configuration for collection in pom. > > fixed to: > > ``` > @Parameter > private List<String> ignoredPackagings = Arrays.asList( "pom", "ear" ); > ``` But `defaultValue` finds its way into documentation, in standard way. With above (fixed to) approach I would definitely have missed that one sentence of description, when looking for defaults only. And maven 3.2.5 looks like very, very old version to support its bugs here. -- 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