[ 
https://jira.codehaus.org/browse/MNG-5537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MNG-5537.
-------------------------------

    Resolution: Duplicate
      Assignee: Robert Scholte
    
> Remove invalid warnings 
> ------------------------
>
>                 Key: MNG-5537
>                 URL: https://jira.codehaus.org/browse/MNG-5537
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.0.4
>            Reporter: Sebastian Kirsch
>            Assignee: Robert Scholte
>            Priority: Minor
>
> I use this dependency definition in my pom.xml:
> {code: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>
> {code}
> And although this works as expected, I get those warnings:
> {noformat}
> [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
> {noformat}
> The warnings are incorrect, thus should be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to