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

Nexus proxy of maven npanday exe artifact fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: Maven
    • Labels:
      None
    • Environment:

      Description

      Trying out Nexus 3, upstream is Nexus 2.11 and 2.14

      One artifact  is created using maven-npanday-plugin  a .net exe and exe.config

      Seems some error/mismatch in expectation when downloading from upstream,  is there some configuration on either end that could be made to adjust mime type?

      2017-05-02 08:52:59,717+0000 WARN [qtp601907286-342] *UNKNOWN org.sonatype.nexus.repository.view.handlers.ExceptionHandler - Invalid content: GET /com/artifact/8.5.0-0/artifact-8.5.0-0.exe.config: org.sonatype.nexus.repository.InvalidContentException: Detected content type [application/xml, application/x-xml, text/xml], but expected [text/plain]: com/artifact/8.5.0-0/artifact-8.5.0-0.exe.config
      2017-05-02 08:53:01,240+0000 WARN [qtp601907286-357] *UNKNOWN org.sonatype.nexus.repository.view.handlers.ExceptionHandler - Invalid content: GET /com/artifact/8.5.0-0/artifact-8.5.0-0.exe: org.sonatype.nexus.repository.InvalidContentException: Detected content type [application/x-msdownload], but expected [application/x-dosexec]: com/artifact/8.5.0-0/artifact-8.5.0-0.exe

       

      Proxy was working ok when using Nexus 2.11

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              gdomjan Greg Domjan
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title