disable sonar for pull requests
[reguloj.git] / build / settings.xml
blobacd546ebf9a8f78a1d06d05f6d05ba7103d47c29
1 <!--
2   ~ This file is part of reguloj. It is subject to the license terms in the LICENSE file found in the top-level
3   ~ directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of reguloj,
4   ~ including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5   ~ in the LICENSE file.
6   -->
8 <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
9           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
11                       http://maven.apache.org/xsd/settings-1.0.0.xsd">
13     <pluginGroups>
14         <pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
15     </pluginGroups>
17     <profiles>
18         <profile>
19             <id>github</id>
20             <activation>
21                 <activeByDefault>true</activeByDefault>
22             </activation>
23             <repositories>
24                 <repository>
25                     <id>central</id>
26                     <url>https://repo1.maven.org/maven2</url>
27                     <releases>
28                         <enabled>true</enabled>
29                     </releases>
30                     <snapshots>
31                         <enabled>false</enabled>
32                     </snapshots>
33                 </repository>
34                 <repository>
35                     <id>maven-build-process</id>
36                     <name>GitHub maven-build-process Apache Maven Packages</name>
37                     <url>https://maven.pkg.github.com/metio/maven-build-process</url>
38                     <releases>
39                         <enabled>true</enabled>
40                     </releases>
41                     <snapshots>
42                         <enabled>true</enabled>
43                     </snapshots>
44                 </repository>
45             </repositories>
46         </profile>
47     </profiles>
49     <servers>
50         <server>
51             <id>github</id>
52             <username>${env.GITHUB_ACTOR}</username>
53             <password>${env.GITHUB_TOKEN}</password>
54         </server>
55         <server>
56             <id>maven-build-process</id>
57             <username>${env.GITHUB_ACTOR}</username>
58             <password>${env.GITHUB_TOKEN}</password>
59         </server>
60     </servers>
62     <mirrors>
63         <mirror>
64             <id>google-maven-central</id>
65             <name>GCS Maven Central Mirror</name>
66             <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
67             <mirrorOf>central</mirrorOf>
68         </mirror>
69     </mirrors>
70 </settings>