Invalid POM for clover 2.3.1

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 2.3.2
    • Affects Version/s: 2.3.1
    • Component/s: Ant Tasks
    • None
    • Environment:

      maven 2.0.9, java 1.5.0_13

      There is an empty 'build.resources.resource.directory' entry in the POM:
      ...
      <resource>
      <targetPath>jars</targetPath>
      <directory></directory> <Unable to render embedded object: File (-- empty) not found.!! -->
      <includes>
      <include>clover-2.3.1.jar</include>
      </includes>
      </resource>
      </resources>
      ...

      Maven complains about it:

      [WARNING] POM for 'com.cenqua.clover:clover:pom:2.3.1:provided' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project com.cenqua.clover:clover at Artifact [com.cenqua.clover:clover:pom:2.3.1:provided]
      [DEBUG] Reason: Failed to validate POM for project com.cenqua.clover:clover at Artifact [com.cenqua.clover:clover:pom:2.3.1:provided]
      [DEBUG]
      Validation Errors:
      [DEBUG] 'build.resources.resource.directory' is missing.

      Maybe a '.' value for the directory will work?

            Assignee:
            Nick
            Reporter:
            Marcel May
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: