Uploaded image for project: 'Maven Artifact Plugin'
  1. Maven Artifact Plugin
  2. MARTIFACT-75

stacktrace when running compare: trying to open .pom file as zip

    XMLWordPrintableJSON

Details

    Description

      1. when rebuilding https://github.com/jvm-repo-rebuild/reproducible-central/pull/437
        just a warning, does not fail anything, but noisy
        [INFO] --- artifact:3.5.2:compare (default-cli) @ nisse ---
        [INFO] Reference buildinfo file not found: it will be generated from downloaded reference artifacts
        [WARNING] unable to open jar file /var/maven/app/target/reference/eu.maveniverse.maven.nisse/nisse-0.3.3.pom
        java.util.zip.ZipException: zip END header not found
            at java.util.zip.ZipFile$Source.findEND (ZipFile.java:1649)
            at java.util.zip.ZipFile$Source.initCEN (ZipFile.java:1657)
            at java.util.zip.ZipFile$Source.<init> (ZipFile.java:1495)
            at java.util.zip.ZipFile$Source.get (ZipFile.java:1458)
            at java.util.zip.ZipFile$CleanableResource.<init> (ZipFile.java:724)
            at java.util.zip.ZipFile.<init> (ZipFile.java:251)
            at java.util.zip.ZipFile.<init> (ZipFile.java:180)
            at java.util.jar.JarFile.<init> (JarFile.java:345)
            at java.util.jar.JarFile.<init> (JarFile.java:316)
            at java.util.jar.JarFile.<init> (JarFile.java:282)
            at org.apache.maven.plugins.artifact.buildinfo.ReferenceBuildinfoUtil.extractEnv (ReferenceBuildinfoUtil.java:207)
            at org.apache.maven.plugins.artifact.buildinfo.ReferenceBuildinfoUtil.downloadOrCreateReferenceBuildinfo (ReferenceBuildinfoUtil.java:131)
            at org.apache.maven.plugins.artifact.buildinfo.CompareMojo.downloadOrCreateReferenceBuildinfo (CompareMojo.java:144)
            at org.apache.maven.plugins.artifact.buildinfo.CompareMojo.checkAgainstReference (CompareMojo.java:131)
            at org.apache.maven.plugins.artifact.buildinfo.CompareMojo.skip (CompareMojo.java:115)
            at org.apache.maven.plugins.artifact.buildinfo.AbstractBuildinfoMojo.execute (AbstractBuildinfoMojo.java:160)
            at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
        

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: