SHARE
TWEET

devops/maven/ci-settings.xml

a guest Sep 11th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0"?>
  2. <settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0
  3.                      http://maven.apache.org/xsd/settings-1.1.0.xsd">
  4.  
  5.     <mirrors>
  6.         <mirror>
  7.             <!-- You will need to change the URL here to your corporate Maven repository which mirrors the internet. -->
  8.             <id>ep-wurth-repo-group</id>
  9.             <url>http://157.230.227.78/repository/ep-wurth-repo-group/</url>
  10.             <mirrorOf>external:*</mirrorOf>
  11.         </mirror>
  12.     </mirrors>
  13.  
  14.     <servers>
  15.         <server>
  16.             <id>ep-wurth-repo-group</id>
  17.             <username>repouser</username>
  18.             <password>***********</password>
  19.         </server>
  20.  
  21.         <server>
  22.             <id>ep-releases</id>
  23.             <username>repouser</username>
  24.             <password>********</password>
  25.         </server>
  26.         <server>
  27.             <id>ep-snapshots</id>
  28.             <username>repouser</username>
  29.             <password>**********</password>
  30.         </server>
  31.     </servers>
  32.  
  33.     <activeProfiles>
  34.         <activeProfile>ci</activeProfile>
  35.         <activeProfile>mysql-dev-db</activeProfile>
  36.         <!-- <activeProfile>oracle-dev-db</activeProfile> -->
  37.         <activeProfile>with-asset-repository</activeProfile>   <!-- required for integration testing -->
  38.         <activeProfile>activemq-dev-jms</activeProfile>
  39.         <activeProfile>with-oauth2-resource</activeProfile>
  40.         <!-- <activeProfile>allow-snapshots-from-central</activeProfile> -->
  41.     </activeProfiles>
  42.  
  43.     <profiles>
  44.         <profile>
  45.             <id>ci</id>
  46.             <properties>
  47.                 <!-- Using secure channel in tests causes problems. -->
  48.                 <ep.cm.secure.channel>http</ep.cm.secure.channel>
  49.                 <!-- Following properties are required to avoid 'Circular placeholder reference'. -->
  50.                 <ep.smtp.host/>
  51.             </properties>
  52.         </profile>
  53.         <profile>
  54.             <id>allow-snapshots-from-central</id>
  55.             <repositories>
  56.                 <repository>
  57.                     <!-- This is the recommended way of pointing central to our local repository. -->
  58.                     <id>central</id>
  59.                     <url>http://repo1.maven.org/?url-overridden-by-mirrorOf-above</url>
  60.                     <releases>
  61.                         <enabled>true</enabled>
  62.                     </releases>
  63.                     <snapshots>
  64.                         <enabled>true</enabled>
  65.                     </snapshots>
  66.                 </repository>
  67.             </repositories>
  68.             <pluginRepositories>
  69.                 <pluginRepository>
  70.                     <id>central</id>
  71.                     <!-- This is the recommended way of pointing central to our local repository. -->
  72.                     <url>http://repo1.maven.org/?url-overridden-by-mirrorOf-above</url>
  73.                     <releases>
  74.                         <enabled>true</enabled>
  75.                     </releases>
  76.                     <snapshots>
  77.                         <enabled>true</enabled>
  78.                     </snapshots>
  79.                 </pluginRepository>
  80.             </pluginRepositories>
  81.         </profile>
  82.         <profile>
  83.             <id>repository-urls</id>
  84.             <activation>
  85.                 <activeByDefault>true</activeByDefault>
  86.             </activation>
  87.             <properties>
  88.                 <!-- Maven distribution management configuration -->
  89.                 <ep.releases.repository.url>http://157.230.227.78/repository/ep-releases/</ep.releases.repository.url>
  90.                 <ep.snapshots.repository.url>http://157.230.227.78/repository/ep-snapshots/</ep.snapshots.repository.url>
  91.             </properties>
  92.         </profile>
  93.     </profiles>
  94.     <!-- To use encrypted passwords see: http://maven.apache.org/guides/mini/guide-encryption.html#How_to_encrypt_server_passwords -->
  95.     <!-- Encrypted passwords require a ~/.m2/settings-security.xml file on Build Slaves -->
  96. </settings>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top