Skip to content
Snippets Groups Projects
  • Spencer Sutton's avatar
    7e6ef9f2
    Adding sonar,dependency-check to aws · 7e6ef9f2
    Spencer Sutton authored
    commit a45fa279 
    Author: Spencer Sutton <suttonsp@amazon.com> 
    Date: Mon Jul 19 2021 11:48:25 GMT-0500 (Central Daylight Time) 
    
        Fixing build
    
    
    commit c5ae108a 
    Author: Spencer Sutton <suttonsp@amazon.com> 
    Date: Mon Jul 19 2021 10:37:53 GMT-0500 (Central Daylight Time) 
    
        Adding sonar,dependency-check to aws
    7e6ef9f2
    History
    Adding sonar,dependency-check to aws
    Spencer Sutton authored
    commit a45fa279 
    Author: Spencer Sutton <suttonsp@amazon.com> 
    Date: Mon Jul 19 2021 11:48:25 GMT-0500 (Central Daylight Time) 
    
        Fixing build
    
    
    commit c5ae108a 
    Author: Spencer Sutton <suttonsp@amazon.com> 
    Date: Mon Jul 19 2021 10:37:53 GMT-0500 (Central Daylight Time) 
    
        Adding sonar,dependency-check to aws
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
settings.xml 3.27 KiB
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright © 2020 Amazon Web Services

  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

       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.
-->

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

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

    <activeProfiles>
        <activeProfile>credentialsConfiguration</activeProfile>
    </activeProfiles>

</settings>