Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-26221

Cannot mirror RAR files from Maven Central

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.14.18
    • Fix Version/s: None
    • Component/s: Maven
    • Labels:

      Description

      Building Paraya from master. In mid-air it tells me:

      [main] [ERROR] Failed to execute goal on project jaxr-ra: Could not resolve dependencies for project fish.payara.server.internal.packager:jaxr-ra:distribution-fragment:5.2020.8-SNAPSHOT: Could not find artifact jaxr-ra:jaxr-ra:rar:JAXR_RA_20091012 in nexus (http://bsd1srv.fritz.box:8081/nexus/content/repositories/central/) -> [Help 1]
      

      The item is in Central:

      $ curl -I https://repo1.maven.org/maven2/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar
      HTTP/2 200
      etag: "7d424d65a3574ab2354ad643992760bb"
      content-type: application/octet-stream
      last-modified: Thu, 20 May 2010 00:47:41 GMT
      x-checksum-md5: 7d424d65a3574ab2354ad643992760bb
      x-checksum-sha1: 98a7a2612e3a2e3a6be6387678e41b5ba681b4b3
      via: 1.1 varnish, 1.1 varnish
      accept-ranges: bytes
      date: Sun, 27 Dec 2020 21:32:46 GMT
      age: 172173
      x-served-by: cache-bwi5137-BWI, cache-hhn4040-HHN
      x-cache: HIT, HIT
      x-cache-hits: 1, 2
      x-timer: S1609104767.833421,VS0,VE0
      content-length: 14026
      

      Nexus feeds say:

      <?xml version="1.0" encoding="UTF-8"?>
      <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
        <channel>
          <title>Broken files</title>
          <link>http://bsd1srv.fritz.box:8081/nexus/service/local/feeds/brokenFiles</link>
          <description>Broken files in all Nexus repositories (checksum errors, ...).</description>
          <pubDate>Sun, 27 Dec 2020 21:33:17 GMT</pubDate>
          <dc:creator>Nexus 2.14.18-01</dc:creator>
          <dc:date>2020-12-27T21:33:17Z</dc:date>
          <item>
            <title>jaxr-ra-JAXR_RA_20091012.rar</title>
            <link>http://bsd1srv.fritz.box:8081/nexus/content/repositories/central/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar</link>
            <description>Invalid file type. The file 'jaxr-ra-JAXR_RA_20091012.rar' in repository 'Central' with path '/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar' was</description>
            <pubDate>Sun, 27 Dec 2020 21:06:51 GMT</pubDate>
            <guid>http://bsd1srv.fritz.box:8081/nexus/content/repositories/central/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar</guid>
            <dc:date>2020-12-27T21:06:51Z</dc:date>
          </item>
        </channel>
      </rss>
      

      Log file says:

      2020-12-27T22:06:51,310+01:00 INFO  [qtp1390253791-86] anonymous org.sonatype.nexus.proxy.maven.MavenFileTypeValidator - StorageFileItem central:/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar MIME-magic validation failed: expected MIME types: [application/java-archive], detected MIME types: [application/zip, application/octet-stream]
      2020-12-27T22:06:51,311+01:00 INFO  [qtp1390253791-86] anonymous org.sonatype.nexus.proxy.repository.validator.DefaultFileTypeValidatorHub - File item central:/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar evaluated as INVALID during file type validation (validator=maven)
      2020-12-27T22:06:51,312+01:00 INFO  [qtp1390253791-86] anonymous org.sonatype.nexus.proxy.maven.maven2.M2Repository - Proxied item central:/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar evaluated as INVALID during content validation (validator=filetypevalidator, sourceUrl=https://repo1.maven.org/maven2/jaxr-ra/jaxr-ra/JAXR_RA_20091012/jaxr-ra-JAXR_RA_20091012.rar)
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            michael-o Michael Osipov
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title