Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5537

Remove invalid warnings

    XMLWordPrintableJSON

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

          Activity

            People

              rfscholte Robert Scholte
              sebastiankirsch Sebastian Kirsch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: