Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. dario.wigger_0347
    3. Posts
    D
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by dario.wigger_0347

    • [ProGet, maven] 401 when connecting to registry

      Hi everyone

      I'm trying to use ProGet as registry for my maven dependencies. However I'm struggling to connect to ProGet.

      Whenever I execute a maven reload, I get a "401 Unauthorized authentication failed".

      I have setup an API-Key like this:
      70f566b4-7ccc-4592-9b20-fff3947151a1-image.png

      My settings.xml looks like this:

      <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
        <servers>
          <server>
            <id>central</id>
            <username>api</username>
            <password>[API-KEY]</password>
          </server>
        </servers>
        <profiles>
          <profile>
            <id>ProGet</id>
            <repositories>
              <repository>
                <id>central</id>
                <url>[URL-to-feed]</url>
                <snapshots><enabled>true</enabled></snapshots>
                <releases><enabled>true</enabled></releases>
              </repository>
            </repositories>
            <pluginRepositories>
              <pluginRepository>
                <id>central</id>
                <url>[URL-to-feed]</url>
                <snapshots><enabled>true</enabled></snapshots>
                <releases><enabled>true</enabled></releases>
              </pluginRepository>
            </pluginRepositories>
          </profile>
        </profiles>
        <activeProfiles>
          <activeProfile>ProGet</activeProfile>
        </activeProfiles>
        <mirrors>
          <mirror>
            <id>proget</id>
            <name>ProGet</name>
            <url>[URL-to-feed]</url>
            <mirrorOf>*</mirrorOf>
          </mirror>
        </mirrors>
      </settings>
      
      

      Does anyone have an Idea what I'm doing wrong? Do I need to add additional configuration to my maven feed?

      posted in Support
      D
      dario.wigger_0347
    • 1 / 1