Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.02 KB | None | 0 0
  1. <!--
  2. Licensed to the Apache Software Foundation (ASF) under one
  3. or more contributor license agreements. See the NOTICE file
  4. distributed with this work for additional information
  5. regarding copyright ownership. The ASF licenses this file
  6. to you under the Apache License, Version 2.0 (the
  7. "License"); you may not use this file except in compliance
  8. with the License. You may obtain a copy of the License at
  9.  
  10. http://www.apache.org/licenses/LICENSE-2.0
  11.  
  12. Unless required by applicable law or agreed to in writing,
  13. software distributed under the License is distributed on an
  14. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. KIND, either express or implied. See the License for the
  16. specific language governing permissions and limitations
  17. under the License.
  18. -->
  19.  
  20. <!--
  21. | This is the configuration file for Maven. It can be specified at two levels:
  22. |
  23. | 1. User Level. This settings.xml file provides configuration for a single user,
  24. | and is normally provided in $HOME/.m2/settings.xml.
  25. |
  26. | NOTE: This location can be overridden with the system property:
  27. |
  28. | -Dorg.apache.maven.user-settings=/path/to/user/settings.xml
  29. |
  30. | 2. Global Level. This settings.xml file provides configuration for all maven
  31. | users on a machine (assuming they're all using the same maven
  32. | installation). It's normally provided in
  33. | ${maven.home}/conf/settings.xml.
  34. |
  35. | NOTE: This location can be overridden with the system property:
  36. |
  37. | -Dorg.apache.maven.global-settings=/path/to/global/settings.xml
  38. |
  39. | The sections in this sample file are intended to give you a running start at
  40. | getting the most out of your Maven installation. Where appropriate, the default
  41. | values (values used when the setting is not specified) are provided.
  42. |
  43. |-->
  44. <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  45. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  46. <!--localRepository
  47. | The path to the local repository maven will use to store artifacts.
  48. |
  49. | Default: ~/.m2/repository
  50. -->
  51. <localRepository>C:\Users\crothhaar\.m2\repository</localRepository>
  52.  
  53.  
  54. <!-- interactiveMode
  55. | This will determine whether maven prompts you when it needs input. If set to false,
  56. | maven will use a sensible default value, perhaps based on some other setting, for
  57. | the parameter in question.
  58. |
  59. | Default: true
  60. <interactiveMode>true</interactiveMode>
  61. -->
  62.  
  63. <!-- offline
  64. | Determines whether maven should attempt to connect to the network when executing a build.
  65. | This will have an effect on artifact downloads, artifact deployment, and others.
  66. |
  67. | Default: false
  68. <offline>false</offline>
  69. -->
  70.  
  71. <!-- proxies
  72. | This is a list of proxies which can be used on this machine to connect to the network.
  73. | Unless otherwise specified (by system property or command-line switch), the first proxy
  74. | specification in this list marked as active will be used.
  75. |-->
  76. <proxies>
  77. <!-- proxy
  78. | Specification for one proxy, to be used in connecting to the network.
  79. |
  80. <proxy>
  81. <id>optional</id>
  82. <active>true</active>
  83. <protocol>http</protocol>
  84. <username>proxyuser</username>
  85. <password>proxypass</password>
  86. <host>proxy.host.net</host>
  87. <port>80</port>
  88. <nonProxyHosts>local.net,some.host.com</nonProxyHosts>
  89. </proxy>
  90. -->
  91. </proxies>
  92.  
  93. <!-- servers
  94. | This is a list of authentication profiles, keyed by the server-id used within the system.
  95. | Authentication profiles can be used whenever maven must make a connection to a remote server.
  96. |-->
  97. <servers>
  98. <!-- server
  99. | Specifies the authentication information to use when connecting to a particular server, identified by
  100. | a unique name within the system (referred to by the 'id' attribute below).
  101. |
  102. | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
  103. | used together.
  104. |
  105. <server>
  106. <id>deploymentRepo</id>
  107. <username>repouser</username>
  108. <password>repopwd</password>
  109. </server>
  110. -->
  111. <server>
  112. <id>build.maven</id>
  113. <username>buildsystem</username>
  114. <password>onkelmerz</password>
  115. </server>
  116. <server>
  117. <id>build.releases</id>
  118. <username>buildsystem</username>
  119. <password>onkelmerz</password>
  120. </server>
  121. <server>
  122. <id>build.snapshots</id>
  123. <username>buildsystem</username>
  124. <password>onkelmerz</password>
  125. </server>
  126. <server>
  127. <id>build.ssh</id>
  128. <username>buildsystem</username>
  129. <password>onkelmerz</password>
  130. </server>
  131. <!-- Another sample, using keys to authenticate.
  132. <server>
  133. <id>siteServer</id>
  134. <privateKey>/path/to/private/key</privateKey>
  135. <passphrase>optional; leave empty if not used.</passphrase>
  136. </server>
  137. -->
  138. </servers>
  139.  
  140. <!-- mirrors
  141. | This is a list of mirrors to be used in downloading artifacts from remote repositories.
  142. |
  143. | It works like this: a POM may declare a repository to use in resolving certain artifacts.
  144. | However, this repository may have problems with heavy traffic at times, so people have mirrored
  145. | it to several places.
  146. |
  147. | That repository definition will have a unique id, so we can create a mirror reference for that
  148. | repository, to be used as an alternate download site. The mirror site will be the preferred
  149. | server for that repository.
  150. |-->
  151. <mirrors>
  152. <!-- mirror
  153. | Specifies a repository mirror site to use instead of a given repository. The repository that
  154. | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
  155. | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
  156. |
  157. <mirror>
  158. <id>mirrorId</id>
  159. <mirrorOf>repositoryId</mirrorOf>
  160. <name>Human Readable Name for this Mirror.</name>
  161. <url>http://my.repository.com/repo/path</url>
  162. </mirror>
  163. -->
  164. <!-- our own snapshots and external snapshots -->
  165. <mirror>
  166. <id>build.mirror.snapshots</id>
  167. <name>company mirror</name>
  168. <url>http://build.ponton.local/nexus/content/groups/public-snapshots/</url>
  169. <mirrorOf>build.snapshots</mirrorOf>
  170. </mirror>
  171. <!-- all the external releases -->
  172. <mirror>
  173. <id>build.mirror.central</id>
  174. <name>company mirror</name>
  175. <url>http://build.ponton.local/nexus/content/groups/public/</url>
  176. <mirrorOf>*</mirrorOf>
  177. </mirror>
  178.  
  179. <mirror>
  180. <id>build.mirror.smss</id>
  181. <name>company mirror</name>
  182. <url>https://nexus.ponton.de/content/repositories/ponton-releases/ponton/project/smss/</url>
  183. <mirrorOf>*</mirrorOf>
  184. </mirror>
  185.  
  186. <mirror>
  187. <id>build.mirror.smss-snapshots</id>
  188. <name>company mirror</name>
  189. <url>https://nexus.ponton.de/content/repositories/ponton-snapshots/ponton/project/smss/</url>
  190. <mirrorOf>*</mirrorOf>
  191. </mirror>
  192.  
  193. </mirrors>
  194.  
  195. <!-- profiles
  196. | This is a list of profiles which can be activated in a variety of ways, and which can modify
  197. | the build process. Profiles provided in the settings.xml are intended to provide local machine-
  198. | specific paths and repository locations which allow the build to work in the local environment.
  199. |
  200. | For example, if you have an integration testing plugin - like cactus - that needs to know where
  201. | your Tomcat instance is installed, you can provide a variable here such that the variable is
  202. | dereferenced during the build process to configure the cactus plugin.
  203. |
  204. | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
  205. | section of this document (settings.xml) - will be discussed later. Another way essentially
  206. | relies on the detection of a system property, either matching a particular value for the property,
  207. | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
  208. | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
  209. | Finally, the list of active profiles can be specified directly from the command line.
  210. |
  211. | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
  212. | repositories, plugin repositories, and free-form properties to be used as configuration
  213. | variables for plugins in the POM.
  214. |
  215. |-->
  216. <profiles>
  217. <!-- profile
  218. | Specifies a set of introductions to the build process, to be activated using one or more of the
  219. | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
  220. | or the command line, profiles have to have an ID that is unique.
  221. |
  222. | An encouraged best practice for profile identification is to use a consistent naming convention
  223. | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
  224. | This will make it more intuitive to understand what the set of introduced profiles is attempting
  225. | to accomplish, particularly when you only have a list of profile id's for debug.
  226. |
  227. | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
  228. <profile>
  229. <id>jdk-1.4</id>
  230.  
  231. <activation>
  232. <jdk>1.4</jdk>
  233. </activation>
  234.  
  235. <repositories>
  236. <repository>
  237. <id>jdk14</id>
  238. <name>Repository for JDK 1.4 builds</name>
  239. <url>http://www.myhost.com/maven/jdk14</url>
  240. <layout>default</layout>
  241. <snapshotPolicy>always</snapshotPolicy>
  242. </repository>
  243. </repositories>
  244. </profile>
  245. -->
  246.  
  247. <!--
  248. | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
  249. | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
  250. | might hypothetically look like:
  251. |
  252. | ...
  253. | <plugin>
  254. | <groupId>org.myco.myplugins</groupId>
  255. | <artifactId>myplugin</artifactId>
  256. |
  257. | <configuration>
  258. | <tomcatLocation>${tomcatPath}</tomcatLocation>
  259. | </configuration>
  260. | </plugin>
  261. | ...
  262. |
  263. | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
  264. | anything, you could just leave off the <value/> inside the activation-property.
  265. |
  266. <profile>
  267. <id>env-dev</id>
  268.  
  269. <activation>
  270. <property>
  271. <name>target-env</name>
  272. <value>dev</value>
  273. </property>
  274. </activation>
  275.  
  276. <properties>
  277. <tomcatPath>/path/to/tomcat/instance</tomcatPath>
  278. </properties>
  279. </profile>
  280. -->
  281.  
  282. <profile>
  283. <id>Repository Proxy</id>
  284. <activation>
  285. <activeByDefault>true</activeByDefault>
  286. </activation>
  287. <properties>
  288. <maven.clover.licenseLocation>/Users/joerg/.m2/clover.license</maven.clover.licenseLocation>
  289. </properties>
  290. <!-- ******************************************************* -->
  291. <!-- repositories for jar artifacts -->
  292. <!-- ******************************************************* -->
  293. <repositories>
  294. <repository>
  295. <id>build.releases</id>
  296. <url>http://build.ponton.local/nexus/content/repositories/ponton-releases</url>
  297. <releases>
  298. <enabled>true</enabled>
  299. </releases>
  300. <snapshots>
  301. <enabled>false</enabled>
  302. </snapshots>
  303. </repository>
  304. <repository>
  305. <id>build.snapshots</id>
  306. <name>Archiva Managed Ponton Snapshots</name>
  307. <!--url>http://build.ponton.local/archiva/repository/ponton-snapshots/</url-->
  308. <url>http://build.ponton.local/nexus/content/repositories/ponton-snapshots/</url>
  309. <releases>
  310. <enabled>false</enabled>
  311. </releases>
  312. <snapshots>
  313. <enabled>true</enabled>
  314. </snapshots>
  315. </repository>
  316. <repository>
  317. <id>aperture</id>
  318. <name>Aperture Maven Repository</name>
  319. <url>http://aperture.sourceforge.net/maven/</url>
  320. </repository>
  321. </repositories>
  322. <!-- ******************************************************* -->
  323. <!-- repositories for maven plugins -->
  324. <!-- ******************************************************* -->
  325. <pluginRepositories>
  326. <pluginRepository>
  327. <id>build.releases</id>
  328. <url>http://build.ponton.local/nexus/content/repositories/ponton-releases</url>
  329. <releases>
  330. <enabled>true</enabled>
  331. </releases>
  332. <snapshots>
  333. <enabled>false</enabled>
  334. </snapshots>
  335. </pluginRepository>
  336. <pluginRepository>
  337. <id>build.snapshot</id>
  338. <name>Archiva Managed Ponton Snapshots</name>
  339. <url>http://build.ponton.local/nexus/content/repositories/ponton-snapshots/</url>
  340. <releases>
  341. <enabled>false</enabled>
  342. </releases>
  343. <snapshots>
  344. <enabled>true</enabled>
  345. </snapshots>
  346. </pluginRepository>
  347. </pluginRepositories>
  348.  
  349. </profile>
  350. <profile>
  351. <id>crothhaar</id>
  352. <activation>
  353. <activeByDefault>true</activeByDefault>
  354. </activation>
  355. <properties>
  356. <env.db.schema.suffix></env.db.schema.suffix>
  357. <env.db.port>3306</env.db.port>
  358. <JAVA_1_8_HOME>C:\Program Files\Java\jdk1.8.0_144</JAVA_1_8_HOME>
  359. <IBM_JAVA_6>C:\Programme\Java\ibm-jdk6</IBM_JAVA_6>
  360.  
  361. <bamboo_build_working_directory></bamboo_build_working_directory>
  362. <bamboo_agentId></bamboo_agentId>
  363. <bamboo_buildNumber></bamboo_buildNumber>
  364. <bamboo_buildTimeStamp></bamboo_buildTimeStamp>
  365. <bamboo_shortJobKey></bamboo_shortJobKey>
  366. <bamboo_shortPlanKey></bamboo_shortPlanKey>
  367. <bamboo_shortPlanName></bamboo_shortPlanName>
  368. <bamboo_planRepository_branchName></bamboo_planRepository_branchName>
  369. <bamboo_planRepository_name></bamboo_planRepository_name>
  370. <bamboo_planRepository_revision></bamboo_planRepository_revision>
  371. <bamboo_planRepository_branch></bamboo_planRepository_branch>
  372. <bamboo_buildResultKey></bamboo_buildResultKey>
  373. <bamboo_shortPlanKey></bamboo_shortPlanKey>
  374.  
  375. </properties>
  376. </profile>
  377. </profiles>
  378.  
  379. <!-- activeProfiles
  380. | List of profiles that are active for all builds.
  381. |
  382. <activeProfiles>
  383. <activeProfile>alwaysActiveProfile</activeProfile>
  384. <activeProfile>anotherAlwaysActiveProfile</activeProfile>
  385. </activeProfiles>
  386. -->
  387. </settings>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement