SHARE
TWEET

Untitled

a guest Nov 22nd, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!--
  4. Licensed to the Apache Software Foundation (ASF) under one
  5. or more contributor license agreements.  See the NOTICE file
  6. distributed with this work for additional information
  7. regarding copyright ownership.  The ASF licenses this file
  8. to you under the Apache License, Version 2.0 (the
  9. "License"); you may not use this file except in compliance
  10. with the License.  You may obtain a copy of the License at
  11.  
  12.    http://www.apache.org/licenses/LICENSE-2.0
  13.  
  14. Unless required by applicable law or agreed to in writing,
  15. software distributed under the License is distributed on an
  16. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  17. KIND, either express or implied.  See the License for the
  18. specific language governing permissions and limitations
  19. under the License.
  20. -->
  21.  
  22. <!--
  23. | This is the configuration file for Maven. It can be specified at two levels:
  24. |
  25. |  1. User Level. This settings.xml file provides configuration for a single user,
  26. |                 and is normally provided in ${user.home}/.m2/settings.xml.
  27. |
  28. |                 NOTE: This location can be overridden with the CLI option:
  29. |
  30. |                 -s /path/to/user/settings.xml
  31. |
  32. |  2. Global Level. This settings.xml file provides configuration for all Maven
  33. |                 users on a machine (assuming they're all using the same Maven
  34. |                 installation). It's normally provided in
  35. |                 ${maven.home}/conf/settings.xml.
  36. |
  37. |                 NOTE: This location can be overridden with the CLI option:
  38. |
  39. |                 -gs /path/to/global/settings.xml
  40. |
  41. | The sections in this sample file are intended to give you a running start at
  42. | getting the most out of your Maven installation. Where appropriate, the default
  43. | values (values used when the setting is not specified) are provided.
  44. |
  45. |-->
  46. <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
  47.          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  48.          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  49.     <profiles>
  50.  
  51.         <profile>
  52.             <id>repo-redhat</id>
  53.             <repositories>
  54.                 <repository>
  55.                     <id>redhat</id>
  56.                     <url>https://maven.repository.redhat.com/ga/</url>
  57.                     <releases>
  58.                         <enabled>true</enabled>
  59.                         <updatePolicy>never</updatePolicy>
  60.                     </releases>
  61.                     <snapshots>
  62.                         <enabled>false</enabled>
  63.                         <updatePolicy>never</updatePolicy>
  64.                     </snapshots>
  65.                 </repository>
  66.             </repositories>
  67.             <pluginRepositories>
  68.                 <pluginRepository>
  69.                     <id>redhat</id>
  70.                     <url>https://maven.repository.redhat.com/ga/</url>
  71.                     <releases>
  72.                         <enabled>true</enabled>
  73.                         <updatePolicy>never</updatePolicy>
  74.                     </releases>
  75.                     <snapshots>
  76.                         <enabled>false</enabled>
  77.                         <updatePolicy>never</updatePolicy>
  78.                     </snapshots>
  79.                 </pluginRepository>
  80.             </pluginRepositories>
  81.         </profile>
  82.  
  83.  
  84.         <profile>
  85.             <id>maven</id>
  86.             <repositories>
  87.                 <repository>
  88.                     <id>maven</id>
  89.                     <url>https://repo.maven.apache.org/maven2/</url>
  90.                     <releases>
  91.                         <enabled>true</enabled>
  92.                         <updatePolicy>never</updatePolicy>
  93.                         </releases>
  94.                     <snapshots>
  95.                         <enabled>false</enabled>
  96.                         <updatePolicy>never</updatePolicy>
  97.                     </snapshots>
  98.                 </repository>
  99.             </repositories>
  100.             <pluginRepositories>
  101.                 <pluginRepository>
  102.                     <id>maven</id>
  103.                     <url>https://repo.maven.apache.org/maven2/</url>
  104.                     <releases>
  105.                         <enabled>true</enabled>
  106.                         <updatePolicy>never</updatePolicy>
  107.                     </releases>
  108.                     <snapshots>
  109.                         <enabled>false</enabled>
  110.                         <updatePolicy>never</updatePolicy>
  111.                     </snapshots>
  112.                 </pluginRepository>
  113.             </pluginRepositories>
  114.         </profile>
  115.  
  116.     </profiles>
  117.  
  118.     <activeProfiles>
  119.         <activeProfile>maven</activeProfile>
  120.         <activeProfile>repo-redhat</activeProfile>
  121.     </activeProfiles>
  122.  
  123.  
  124.  
  125. </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
 
Top