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:
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?