-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EREQ-85 Use authenticated mirror on Repox for Reddeer
- Loading branch information
1 parent
d1c5121
commit 25bb2a2
Showing
2 changed files
with
110 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 http://maven.apache.org/xsd/settings-1.2.0.xsd"> | ||
<!-- | ||
Imported from SonarSource/ci-common-scripts | ||
--> | ||
<localRepository>${env.CIRRUS_WORKING_DIR}/.m2/repository</localRepository> | ||
<servers> | ||
<server> | ||
<id>sonarsource</id> | ||
<configuration> | ||
<httpHeaders> | ||
<property> | ||
<name>Authorization</name> | ||
<value>Bearer ${env.ARTIFACTORY_ACCESS_TOKEN}</value> | ||
</property> | ||
</httpHeaders> | ||
</configuration> | ||
</server> | ||
<!-- Authenticated P2 repo part 1 --> | ||
<server> | ||
<id>reddeerLatest</id> | ||
<configuration> | ||
<httpHeaders> | ||
<property> | ||
<name>Authorization</name> | ||
<value>Bearer ${env.ARTIFACTORY_ACCESS_TOKEN}</value> | ||
</property> | ||
</httpHeaders> | ||
</configuration> | ||
</server> | ||
<server> | ||
<id>reddeer420</id> | ||
<configuration> | ||
<httpHeaders> | ||
<property> | ||
<name>Authorization</name> | ||
<value>Bearer ${env.ARTIFACTORY_ACCESS_TOKEN}</value> | ||
</property> | ||
</httpHeaders> | ||
</configuration> | ||
</server> | ||
<!-- /Authenticated P2 repo part 1 --> | ||
</servers> | ||
<profiles> | ||
<profile> | ||
<id>sonarsource-repo</id> | ||
<activation> | ||
<property> | ||
<name>!skip-sonarsource-repo</name> | ||
</property> | ||
</activation> | ||
<repositories> | ||
<repository> | ||
<id>sonarsource</id> | ||
<name>SonarSource Central Repository</name> | ||
<url>https://repox.jfrog.io/artifactory/sonarsource</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
<updatePolicy>interval:60</updatePolicy> | ||
<checksumPolicy>fail</checksumPolicy> | ||
</releases> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
<!-- Authenticated P2 repo part 2 --> | ||
<repository> | ||
<id>reddeerLatest</id> | ||
<url>https://repox.jfrog.io/artifactory/reddeer/releases/latest</url> | ||
<layout>p2</layout> | ||
</repository> | ||
<repository> | ||
<id>reddeer420</id> | ||
<url>https://repox.jfrog.io/artifactory/reddeer/releases/4.2.0</url> | ||
<layout>p2</layout> | ||
</repository> | ||
<!-- /Authenticated P2 repo part 2 --> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>sonarsource</id> | ||
<name>SonarSource Central Repository</name> | ||
<url>https://repox.jfrog.io/artifactory/sonarsource</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
<!-- no need to always check if new versions are available when | ||
executing a maven plugin without specifying the version --> | ||
<updatePolicy>interval:60</updatePolicy> | ||
<checksumPolicy>fail</checksumPolicy> | ||
</releases> | ||
<snapshots> | ||
<enabled>false</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</snapshots> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
</profile> | ||
</profiles> | ||
</settings> |