Skip to content
Snippets Groups Projects
settings.xml 3.28 KiB
Newer Older
  • Learn to ignore specific revisions
  • David Diederich's avatar
    David Diederich committed
    <?xml version="1.0" encoding="UTF-8"?>
    
    Rucha Deshpande's avatar
    Rucha Deshpande committed
    <!--
    
    
    Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.​
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
    Rucha Deshpande's avatar
    Rucha Deshpande committed
    
    
         http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    
    David Diederich's avatar
    David Diederich committed
    <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">
    
    
        <profiles>
            <profile>
                <id>aws-osdu-dev-maven</id>
                <activation>
                    <activeByDefault>true</activeByDefault>
                </activation>
                <repositories>
                    <repository>
                        <id>aws-osdu-dev-maven</id>
                        <url>${env.AWS_OSDU_DEV_MAVEN_URL}</url>
                    </repository>
                    <repository>
                        <id>gitlab-os-core-common-maven</id>
                        <url>https://community.opengroup.org/api/v4/projects/67/packages/maven</url>
                    </repository>
                    <repository>
    
                        <id>gitlab-os-core-lib-aws-maven</id>
                        <url>https://community.opengroup.org/api/v4/projects/68/packages/maven</url>
                    </repository>
    
                </repositories>
            </profile>
            <profile>
                <id>credentialsConfiguration</id>
                <activation>
                    <activeByDefault>true</activeByDefault>
                </activation>
                <properties>
                    <deployment.environment>dev</deployment.environment>
                    <aws.accessKeyId>no-default</aws.accessKeyId>
                    <aws.secretKey>no-default</aws.secretKey>
                    <azure.devops.username>Another-Access-Token-2021</azure.devops.username>
                    <azure.devops.token>no-default</azure.devops.token>
                </properties>
            </profile>
    
            <profile>
                <id>sonar</id>
                <activation>
                    <activeByDefault>true</activeByDefault>
                </activation>
                <properties>
                    <sonar.host.url>
                        ${env.SONAR_URL}
                    </sonar.host.url>
                </properties>
            </profile>
    
        </profiles>
    
    Rucha Deshpande's avatar
    Rucha Deshpande committed
    
    
        <servers>
            <server>
                <id>aws-osdu-dev-maven</id>
                <username>aws</username>
                <password>${env.AWS_OSDU_DEV_MAVEN_AUTH_TOKEN}</password>
            </server>
        </servers>
    
        <mirrors>
            <mirror>
                <id>aws-osdu-dev-maven</id>
                <name>aws-osdu-dev-maven</name>
                <url>https://osdu-dev-${AWS_ACCOUNT_ID}.d.codeartifact.us-east-1.amazonaws.com/maven/osdu-maven/</url>
                <mirrorOf>central,!gitlab-os-core-common-maven,!gitlab-os-core-lib-aws-maven</mirrorOf>
            </mirror>
        </mirrors>
    
    Rucha Deshpande's avatar
    Rucha Deshpande committed
    
    
        <activeProfiles>
            <activeProfile>credentialsConfiguration</activeProfile>
        </activeProfiles>
    
    Rucha Deshpande's avatar
    Rucha Deshpande committed
    
    </settings>