Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1822

Unable to extract 2.2.5.CR3 maven repo by jar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 2.2.5.SP1.GA
    • 2.2.5.CR3
    • team/prod
    • None
    • Hide
       
      curl -sS http://download.eng.bos.redhat.com/rcm-guest/staging/quarkus/quarkus-2.2.5.CR3/rh-quarkus-2.2.5.CR3-maven-repository.zip | jar xv
      
      Show
      curl -sS http: //download.eng.bos.redhat.com/rcm-guest/staging/quarkus/quarkus-2.2.5.CR3/rh-quarkus-2.2.5.CR3-maven-repository.zip | jar xv

    Description

      I unable to extract 2.2.5.CR3 maven repository zip by using jar. It fails on this error message:

        created: rh-quarkus-2.2.5.GA-maven-repository/
      java.lang.IllegalArgumentException: Negative time
      	at java.base/java.io.File.setLastModified(File.java:1493)
      	at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1456)
      	at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1348)
      	at jdk.jartool/sun.tools.jar.Main.run(Main.java:381)
      	at jdk.jartool/sun.tools.jar.Main.main(Main.java:1665)
      

      Old builds like 2.2.5CR2 can be unpacked with this application without any problem.

      Attachments

        Activity

          People

            hamadhan@redhat.com Harsh Madhani
            tturek@redhat.com Tomas Turek
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: