Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.0.4
-
None
-
None
-
None
Description
I use this dependency definition in my pom.xml:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-annotations</artifactId> <version>3.5.6-Final</version> <scope>test</scope> <exclusions> <exclusion> <groupId>*</groupId> <artifactId>*</artifactId> </exclusion> </exclusions> </dependency>
And although this works as expected, I get those warnings:
[WARNING] Some problems were encountered while building the effective model for de.is24.mavenplugins:deadcode4j-maven-plugin:maven-plugin:1.5-SNAPSHOT [WARNING] 'dependencies.dependency.exclusions.exclusion.groupId' for org.hibernate:hibernate-annotations:jar with value '*' does not match a valid id pattern. @ line 333, column 30 [WARNING] 'dependencies.dependency.exclusions.exclusion.artifactId' for org.hibernate:hibernate-annotations:jar with value '*' does not match a valid id pattern. @ line 334, column 33
The warnings are incorrect, thus should be removed.
Attachments
Issue Links
- duplicates
-
MNG-3832 Allow wildcards in dependency exclusions
- Closed