Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. dario.wigger_0347
    3. Posts

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    D Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • [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