Sleds/utils/settings.xml

224 lines
6.7 KiB
XML

<settings>
<!-- This is the settings.xml used by Dovetail/CPUTech Usage: 1. Softlink
or copy this file to ~/.m2/settings.xml, e.g. $ ln -s /path/to/dev/lrt3/default-settings.xml
~/.m2/settings.xml n.b. the 'common' profile is automatically activated 2.
Create an alias for mvn to specify the right profiles to activate, e.g. $
alias mvn='/usr/bin/mvn &dash;-activate-profiles=dev,osx' # OSX localhost
$ alias mvn='/usr/bin/mvn &dash;-activate-profiles=dev,linux' # frank, seven,
esg, msg $ alias mvn='/usr/bin/mvn &dash;-activate-profiles=qa' # EC2 QA
instance $ alias mvn='/usr/bin/mvn &dash;-activate-profiles=prod' # EC2 prod
instances 3. Build $ mvn install -->
<activeProfiles>
<activeProfile>common</activeProfile>
</activeProfiles>
<proxies>
</proxies>
<servers>
<!-- Use encrypted passwords! See http://maven.apache.org/guides/mini/guide-encryption.html for more info. -->
<server>
<username>jenkins</username>
<password>{+7yECIXl3ogHdDPnmms+sxBO3/yduimPHLsq4nfd5cY=}</password>
<id>Sequence Logic Repository</id>
</server>
<server>
<id>
swdesignbuild.com
</id>
<username>
tomcat
</username>
<password>
b0bc4t
</password>
</server>
</servers>
<mirrors>
<mirror>
<id>repo.jenkins-ci.org</id>
<mirrorOf>m.g.o-public</mirrorOf>
<url>http://repo.jenkins-ci.org/public</url>
</mirror>
<mirror>
<id>jersey_workaround</id>
<mirrorOf>glassfish-repository</mirrorOf>
<name>Workaround for missing jersey-project.pom</name>
<url>http://repository.opencastproject.org/nexus/content/groups/public
</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>common</id>
<properties>
<!-- More config -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8
</project.reporting.outputEncoding>
<maven.build.timestamp.format>yyyyMMdd_HHmm
</maven.build.timestamp.format>
<buildNumber>${maven.build.timestamp}</buildNumber>
<sequencelogic.home>/sequencelogic</sequencelogic.home>
<webapp.host.absolute>${webapp.host.scheme}${webapp.host}${webapp.host.port}
</webapp.host.absolute>
</properties>
<repositories>
<repository>
<id>Sequence Logic Repository Snapshots</id>
<name>Sequence Logic Repository-snapshots</name>
<url>http://artifactory.sl.int:8081/artifactory/libs-snapshot-local
</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
<layout>default</layout>
</repository>
<repository>
<id>Sequence Logic Repository Releases</id>
<name>Sequence Logic Repository-releases</name>
<url>http://artifactory.sl.int:8081/artifactory/libs-release-local
</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<layout>default</layout>
</repository>
<repository>
<id>Sequence Logic Repository External Releases</id>
<name>Sequence Logic Repository-external-releases</name>
<url>http://artifactory.sl.int:8081/artifactory/ext-release-local
</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
<layout>default</layout>
</repository>
<repository>
<id>jcenter</id>
<url>http://jcenter.bintray.com</url>
</repository>
<repository>
<id>java.net-Public</id>
<name>Maven Java Net Snapshots and Releases</name>
<url>https://maven.java.net/content/groups/public/</url>
</repository>
<repository>
<id>couchbase-repo</id>
<url>http://files.couchbase.com/maven2/</url>
</repository>
<repository>
<id>mvnrepo</id>
<url>http://mvnrepository.com/artifact</url>
</repository>
<!-- The following repos appear to be down!
<repository>
<id>sourceforge-releases</id>
<name>Sourceforge Releases</name>
<url>https://oss.sonatype.org/content/repositories/sourceforge-releases</url>
</repository>
<repository>
<id>codehaus-release-repo</id>
<name>Codehaus Release Rep</name>
<url>http://repository.codehaus.org</url>
</repository>
<repository>
<id>download-java-net</id>
<name>Download Java.net</name>
<url>http://download.java.net/maven/2</url>
</repository>
<repository>
<id>ibiblio</id>
<name>ibiblio</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
</repository>
<repository>
<id>mandubian-mvn</id>
<url>http://mandubian-mvn.googlecode.com/svn/trunk/mandubian-mvn/repository</url>
</repository>
<repository>
<id>jahia</id>
<url>http://maven.jahia.org/maven2/</url>
</repository>
-->
</repositories>
</profile>
<!-- common to non-ec2 instances -->
<profile>
<id>dev</id>
<properties>
<!-- Default to localhost -->
<mongo.servers>localhost:27017</mongo.servers>
<webapp.host.scheme>http://</webapp.host.scheme>
<webapp.host.port>:8080</webapp.host.port>
<!-- For now, SG talks ONLY to localhost cg via port 80 -->
<cg4sg.webapp.host.absolute>http://localhost:8080
</cg4sg.webapp.host.absolute>
<applepns.keystore>javapns.p12</applepns.keystore>
</properties>
</profile>
<profile>
<id>osx</id>
<properties>
<webapp.host>localhost</webapp.host>
<java.build.version>1.8</java.build.version>
<catalina.base>/usr/local/tomcat</catalina.base>
<catalina.home>/usr/local/tomcat</catalina.home>
<webapp.debug.logging>DEBUG</webapp.debug.logging>
</properties>
</profile>
<!-- ec2/Amazon -->
<profile>
<id>ec2</id>
<properties>
<java.build.version>1.8</java.build.version>
<catalina.base>/var/lib/tomcat6</catalina.base>
<catalina.home>/usr/share/tomcat6</catalina.home>
<redis.host>localhost</redis.host>
<webapp.host.scheme>https://</webapp.host.scheme>
<webapp.host.port></webapp.host.port>
<webapp.debug.logging>INFO</webapp.debug.logging>
<!-- For now, SG talks ONLY to localhost cg via port 80 -->
<cg4sg.webapp.host.absolute>http://localhost
</cg4sg.webapp.host.absolute>
<applepns.keystore>javapns-prod.p12</applepns.keystore>
</properties>
</profile>
<profile>
<id>qa</id>
<properties>
<java.build.version>1.8</java.build.version>
<webapp.host>localhost</webapp.host>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<java.build.version>1.8</java.build.version>
<catalina.base>/usr/local/tomcat</catalina.base>
<catalina.home>/usr/local/tomcat</catalina.home>
<redis.host>localhost</redis.host>
<mongo.servers>localhost:27017</mongo.servers>
<webapp.host>qa.sequencelogic.int</webapp.host>
</properties>
</profile>
</profiles>
</settings>