Reputation: 4404
How can I access a private maven Repository at Gitlab during my java build in an azure pipeline that has a dependency to a jar file in the repo at Gitlab?
There is this MavenAuthenticateV0 task but that expect the maven config to be in the following format:
<server>
<id>feedName</id>
<username>Authorization</username>
<password>token</password>
</server>
While Gitab expects:
<server>
<id>feedName</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>token</value>
</property>
</httpHeaders>
</configuration>
</server>
How to solve this?
Upvotes: 0
Views: 432