Uploaded image for project: 'Maven Install Plugin'
  1. Maven Install Plugin
  2. MINSTALL-81

Checksums of metadata files are not always correct in case of attached artifacts

    Details

      Description

      Log from the sporadicly failing plugin IT attach-jar-checksum:

      [INFO] Installing /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/it/attach-jar-checksum/target/test-1.0-SNAPSHOT.jar to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar
      [INFO] Installing /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/it/attach-jar-checksum/pom.xml to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom
      [DEBUG] Installing org.apache.maven.its.install.ajc:test:1.0-SNAPSHOT/maven-metadata.xml to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml
      [DEBUG] Installing org.apache.maven.its.install.ajc:test/maven-metadata.xml to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/maven-metadata-local.xml
      [DEBUG] Calculating MD5 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar.md5
      [DEBUG] Calculating SHA-1 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.jar.sha1
      [DEBUG] Calculating MD5 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml.md5
      [DEBUG] Calculating SHA-1 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml.sha1
      [DEBUG] Calculating MD5 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/maven-metadata-local.xml
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/maven-metadata-local.xml.md5
      [DEBUG] Calculating SHA-1 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/maven-metadata-local.xml
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/maven-metadata-local.xml.sha1
      [DEBUG] Calculating MD5 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom.md5
      [DEBUG] Calculating SHA-1 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom.sha1
      [INFO] Installing /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/it/attach-jar-checksum/target/test-1.0-SNAPSHOT-sources.jar to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar
      [DEBUG] Installing org.apache.maven.its.install.ajc:test:1.0-SNAPSHOT/maven-metadata.xml to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml
      [DEBUG] Installing org.apache.maven.its.install.ajc:test/maven-metadata.xml to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/maven-metadata-local.xml
      [DEBUG] Calculating MD5 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar.md5
      [DEBUG] Calculating SHA-1 checksum for /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar
      [DEBUG] Installing checksum to /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT-sources.jar.sha1
      ...
      Verifying /opt/grid/slave/workspace/maven-plugins-ITs/jdk/java-5x/label/ubuntu/trunk/maven-install-plugin/target/local-repo/org/apache/maven/its/install/ajc/test/1.0-SNAPSHOT/maven-metadata-local.xml.md5
      org.codehaus.plexus.digest.DigesterException: Checksum failed
      

      Note that the checksums for the metadata files aren't updated/installed after the source attachment has been installed although the attached artifact will also cause updates to the metadata files (even if just for the last updated timestamp).

        Attachments

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              bentmann Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: