[
https://issues.apache.org/jira/browse/SUREFIRE-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733181#comment-17733181
]
Konrad Windszus commented on SUREFIRE-2178:
-------------------------------------------
As it seems this is using internally PatternIncludesArtifactFilter
(https://github.com/apache/maven-surefire/blob/0998f10bb486f79f40d2d4262798b1f53a5ff286/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java#L2528)
it should already be possible to match also against classifiers. Definitely
requires more info in the javadoc for that parameter.
> classpathDependencyExcludes should support classifiers
> ------------------------------------------------------
>
> Key: SUREFIRE-2178
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2178
> Project: Maven Surefire
> Issue Type: Improvement
> Components: classloading
> Affects Versions: 3.1.2
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently each item for parameter {{classpathDependencyExcludes}}
> (https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#classpathDependencyExcludes)
> only supports the format
> {code}<groupId>:<artifactId>{code}
> That makes it impossible to exclude dependencies having a classifier.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)