Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-7289

Maven extensions not fetching because of non authenticated user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Not a Bug
    • Affects Version/s: 3.5.2.1
    • Fix Version/s: 3.4.0
    • Component/s: Artifact Storage
    • Environment:

      Artifactory Linux Debian
      Maven 3.3.1 on macOsX
      JDK 1.8.0_05

    • Severity:
      Critical

      Description

      I have a maven project with takari smart builder extension located in .mvn/extensions.xml.
      When I run mvn clean install I get the following error :
      Downloading: http://XXX/artifactory/plugins-release/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.pom
      Downloading: http://XXXX/artifactory/plugins-snapshot/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.pom
      [WARNING] Failed to read extensions descriptor /Users/thomascollignon/Documents/Workspace_eclipse/neo/.mvn/extensions.xml: Plugin io.takari.maven:takari-smart-builder:0.4.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for io.takari.maven:takari-smart-builder:jar:0.4.0

      And In artifactory log :
      20150322230957|1|REQUEST|192.168.0.1|non_authenticated_user|HEAD|/plugins-release/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.pom|HTTP/1.1|401|0
      20150322230957|0|REQUEST|192.168.0.1|non_authenticated_user|HEAD|/plugins-snapshot/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.pom|HTTP/1.1|401|0

      If I switch to no profile in settings.xml to have direct link to Maven central, It works.

      This little project show the problem, if using maven settings.xml file included : https://github.com/tcollignon/neoLight
      Do you think it's maven problem, or artifactory problem?

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              collignont Thomas Collignon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-7289 -
                  SYNCHRONIZED
                  • Last Sync Date: