• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.3.2
    • 2.3.1
    • Ant Tasks
    • None
    • 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?

            [CLOV-268] Invalid POM for clover 2.3.1

            Owen made changes -
            Workflow Original: New Clover Workflow [ 897497 ] New: New Clover Workflow - Restricted [ 1474220 ]
            Piotr Swiecicki made changes -
            Workflow Original: Clover Workflow [ 896266 ] New: New Clover Workflow [ 897497 ]
            Piotr Swiecicki made changes -
            Workflow Original: reviewflow [ 127399 ] New: Clover Workflow [ 896266 ]
            Nick made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Closed [ 6 ]
            Nick made changes -
            Fix Version/s New: 2.3.2 [ 14024 ]
            Fix Version/s Original: 2.4 [ 13971 ]
            Nick made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Closed [ 6 ] New: Reopened [ 4 ]

            Nick added a comment -

            assigning to the 2.3.1 release

            Nick added a comment - assigning to the 2.3.1 release
            Nick made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            Nick added a comment -

            Hi Marcel,

            This was fixed overnight. I can now install the clover-maven2-plugin from maven central:

            [INFO] Preparing clover2:instrument
            Downloading: http://repo1.maven.org/maven2/com/cenqua/clover/clover/2.3.1/clover-2.3.1.pom
            756b downloaded
            Downloading: http://repo1.maven.org/maven2/com/cenqua/clover/clover/2.3.1/clover-2.3.1.jar
            8110K downloaded
            [INFO] [clover2:instrumentInternal]
            

            Please let me know how you go.
            Cheers,
            Nick

            Nick added a comment - Hi Marcel, This was fixed overnight. I can now install the clover-maven2-plugin from maven central: [INFO] Preparing clover2:instrument Downloading: http: //repo1.maven.org/maven2/com/cenqua/clover/clover/2.3.1/clover-2.3.1.pom 756b downloaded Downloading: http: //repo1.maven.org/maven2/com/cenqua/clover/clover/2.3.1/clover-2.3.1.jar 8110K downloaded [INFO] [clover2:instrumentInternal] Please let me know how you go. Cheers, Nick
            Nick made changes -
            Assignee Original: James Dumay [ jdumay ] New: Nick [ npellow ]

              npellow Nick
              39a0ddf54942 Marcel May
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: