nexus.xml (14633B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <nexusConfiguration> 7 <version>2.8.0</version> 8 <nexusVersion>2.12.0-01</nexusVersion> 9 <globalConnectionSettings> 10 <connectionTimeout>20000</connectionTimeout> 11 <retrievalRetryCount>3</retrievalRetryCount> 12 <queryString></queryString> 13 </globalConnectionSettings> 14 <restApi> 15 <uiTimeout>60000</uiTimeout> 16 </restApi> 17 <httpProxy> 18 <enabled>true</enabled> 19 <port>8082</port> 20 <proxyPolicy>strict</proxyPolicy> 21 </httpProxy> 22 <routing> 23 <resolveLinks>true</resolveLinks> 24 </routing> 25 <repositories> 26 <repository> 27 <id>mozilla</id> 28 <name>Mozilla Maven</name> 29 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 30 <providerHint>maven2</providerHint> 31 <localStatus>IN_SERVICE</localStatus> 32 <notFoundCacheActive>true</notFoundCacheActive> 33 <notFoundCacheTTL>1440</notFoundCacheTTL> 34 <userManaged>true</userManaged> 35 <exposed>true</exposed> 36 <browseable>true</browseable> 37 <writePolicy>READ_ONLY</writePolicy> 38 <indexable>true</indexable> 39 <searchable>true</searchable> 40 <localStorage> 41 <provider>file</provider> 42 </localStorage> 43 <remoteStorage> 44 <url>https://maven.mozilla.org/maven2/</url> 45 </remoteStorage> 46 <externalConfiguration> 47 <repositoryPolicy>RELEASE</repositoryPolicy> 48 <checksumPolicy>STRICT</checksumPolicy> 49 <fileTypeValidation>true</fileTypeValidation> 50 <downloadRemoteIndex>false</downloadRemoteIndex> 51 <artifactMaxAge>-1</artifactMaxAge> 52 <metadataMaxAge>1440</metadataMaxAge> 53 <itemMaxAge>1440</itemMaxAge> 54 <autoBlockActive>true</autoBlockActive> 55 </externalConfiguration> 56 </repository> 57 <repository> 58 <id>gradle-plugins</id> 59 <name>Gradle Plugins</name> 60 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 61 <providerHint>maven2</providerHint> 62 <localStatus>IN_SERVICE</localStatus> 63 <notFoundCacheActive>true</notFoundCacheActive> 64 <notFoundCacheTTL>1440</notFoundCacheTTL> 65 <userManaged>true</userManaged> 66 <exposed>true</exposed> 67 <browseable>true</browseable> 68 <writePolicy>READ_ONLY</writePolicy> 69 <indexable>true</indexable> 70 <searchable>true</searchable> 71 <localStorage> 72 <provider>file</provider> 73 </localStorage> 74 <remoteStorage> 75 <url>https://plugins.gradle.org/m2/</url> 76 </remoteStorage> 77 <externalConfiguration> 78 <repositoryPolicy>RELEASE</repositoryPolicy> 79 <checksumPolicy>STRICT</checksumPolicy> 80 <fileTypeValidation>true</fileTypeValidation> 81 <downloadRemoteIndex>false</downloadRemoteIndex> 82 <artifactMaxAge>-1</artifactMaxAge> 83 <metadataMaxAge>1440</metadataMaxAge> 84 <itemMaxAge>1440</itemMaxAge> 85 <autoBlockActive>true</autoBlockActive> 86 </externalConfiguration> 87 </repository> 88 <repository> 89 <id>google</id> 90 <name>google</name> 91 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 92 <providerHint>maven2</providerHint> 93 <localStatus>IN_SERVICE</localStatus> 94 <notFoundCacheActive>true</notFoundCacheActive> 95 <notFoundCacheTTL>1440</notFoundCacheTTL> 96 <userManaged>true</userManaged> 97 <exposed>true</exposed> 98 <browseable>true</browseable> 99 <writePolicy>READ_ONLY</writePolicy> 100 <indexable>true</indexable> 101 <searchable>true</searchable> 102 <localStorage> 103 <provider>file</provider> 104 </localStorage> 105 <remoteStorage> 106 <url>https://maven.google.com/</url> 107 </remoteStorage> 108 <externalConfiguration> 109 <repositoryPolicy>RELEASE</repositoryPolicy> 110 <!-- Google doesn't publish checksums. Why, Google, why? --> 111 <checksumPolicy>STRICT_IF_EXISTS</checksumPolicy> 112 <fileTypeValidation>true</fileTypeValidation> 113 <downloadRemoteIndex>false</downloadRemoteIndex> 114 <artifactMaxAge>-1</artifactMaxAge> 115 <metadataMaxAge>1440</metadataMaxAge> 116 <itemMaxAge>1440</itemMaxAge> 117 <autoBlockActive>true</autoBlockActive> 118 </externalConfiguration> 119 </repository> 120 <repository> 121 <id>central</id> 122 <name>Central</name> 123 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 124 <providerHint>maven2</providerHint> 125 <localStatus>IN_SERVICE</localStatus> 126 <notFoundCacheActive>true</notFoundCacheActive> 127 <notFoundCacheTTL>1440</notFoundCacheTTL> 128 <userManaged>true</userManaged> 129 <exposed>true</exposed> 130 <browseable>true</browseable> 131 <writePolicy>READ_ONLY</writePolicy> 132 <indexable>true</indexable> 133 <searchable>true</searchable> 134 <localStorage> 135 <provider>file</provider> 136 </localStorage> 137 <remoteStorage> 138 <url>https://repo1.maven.org/maven2/</url> 139 </remoteStorage> 140 <externalConfiguration> 141 <proxyMode>ALLOW</proxyMode> 142 <artifactMaxAge>-1</artifactMaxAge> 143 <itemMaxAge>1440</itemMaxAge> 144 <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> 145 <downloadRemoteIndex>false</downloadRemoteIndex> 146 <checksumPolicy>WARN</checksumPolicy> 147 <repositoryPolicy>RELEASE</repositoryPolicy> 148 </externalConfiguration> 149 </repository> 150 <repository> 151 <id>apache-snapshots</id> 152 <name>Apache Snapshots</name> 153 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 154 <providerHint>maven2</providerHint> 155 <localStatus>IN_SERVICE</localStatus> 156 <notFoundCacheActive>true</notFoundCacheActive> 157 <notFoundCacheTTL>1440</notFoundCacheTTL> 158 <userManaged>true</userManaged> 159 <exposed>true</exposed> 160 <browseable>true</browseable> 161 <writePolicy>READ_ONLY</writePolicy> 162 <indexable>true</indexable> 163 <searchable>true</searchable> 164 <localStorage> 165 <provider>file</provider> 166 </localStorage> 167 <remoteStorage> 168 <url>https://repository.apache.org/snapshots/</url> 169 </remoteStorage> 170 <externalConfiguration> 171 <proxyMode>ALLOW</proxyMode> 172 <artifactMaxAge>1440</artifactMaxAge> 173 <itemMaxAge>1440</itemMaxAge> 174 <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> 175 <downloadRemoteIndex>false</downloadRemoteIndex> 176 <checksumPolicy>WARN</checksumPolicy> 177 <repositoryPolicy>SNAPSHOT</repositoryPolicy> 178 </externalConfiguration> 179 </repository> 180 <repository> 181 <id>releases</id> 182 <name>Releases</name> 183 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 184 <providerHint>maven2</providerHint> 185 <localStatus>IN_SERVICE</localStatus> 186 <notFoundCacheTTL>1440</notFoundCacheTTL> 187 <userManaged>true</userManaged> 188 <exposed>true</exposed> 189 <browseable>true</browseable> 190 <writePolicy>ALLOW_WRITE_ONCE</writePolicy> 191 <indexable>true</indexable> 192 <searchable>true</searchable> 193 <localStorage> 194 <provider>file</provider> 195 </localStorage> 196 <externalConfiguration> 197 <proxyMode>ALLOW</proxyMode> 198 <artifactMaxAge>-1</artifactMaxAge> 199 <itemMaxAge>1440</itemMaxAge> 200 <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> 201 <downloadRemoteIndex>false</downloadRemoteIndex> 202 <checksumPolicy>WARN</checksumPolicy> 203 <repositoryPolicy>RELEASE</repositoryPolicy> 204 </externalConfiguration> 205 </repository> 206 <repository> 207 <id>snapshots</id> 208 <name>Snapshots</name> 209 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 210 <providerHint>maven2</providerHint> 211 <localStatus>IN_SERVICE</localStatus> 212 <notFoundCacheTTL>1440</notFoundCacheTTL> 213 <userManaged>true</userManaged> 214 <exposed>true</exposed> 215 <browseable>true</browseable> 216 <writePolicy>ALLOW_WRITE</writePolicy> 217 <indexable>true</indexable> 218 <searchable>true</searchable> 219 <localStorage> 220 <provider>file</provider> 221 </localStorage> 222 <externalConfiguration> 223 <proxyMode>ALLOW</proxyMode> 224 <artifactMaxAge>1440</artifactMaxAge> 225 <itemMaxAge>1440</itemMaxAge> 226 <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> 227 <downloadRemoteIndex>false</downloadRemoteIndex> 228 <checksumPolicy>WARN</checksumPolicy> 229 <repositoryPolicy>SNAPSHOT</repositoryPolicy> 230 </externalConfiguration> 231 </repository> 232 <repository> 233 <id>thirdparty</id> 234 <name>3rd party</name> 235 <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> 236 <providerHint>maven2</providerHint> 237 <localStatus>IN_SERVICE</localStatus> 238 <notFoundCacheTTL>1440</notFoundCacheTTL> 239 <userManaged>true</userManaged> 240 <exposed>true</exposed> 241 <browseable>true</browseable> 242 <writePolicy>ALLOW_WRITE_ONCE</writePolicy> 243 <indexable>true</indexable> 244 <searchable>true</searchable> 245 <localStorage> 246 <provider>file</provider> 247 </localStorage> 248 <externalConfiguration> 249 <proxyMode>ALLOW</proxyMode> 250 <artifactMaxAge>-1</artifactMaxAge> 251 <itemMaxAge>1440</itemMaxAge> 252 <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> 253 <downloadRemoteIndex>false</downloadRemoteIndex> 254 <checksumPolicy>WARN</checksumPolicy> 255 <repositoryPolicy>RELEASE</repositoryPolicy> 256 </externalConfiguration> 257 </repository> 258 <repository> 259 <id>central-m1</id> 260 <name>Central M1 shadow</name> 261 <providerRole>org.sonatype.nexus.proxy.repository.ShadowRepository</providerRole> 262 <providerHint>m2-m1-shadow</providerHint> 263 <localStatus>IN_SERVICE</localStatus> 264 <notFoundCacheTTL>15</notFoundCacheTTL> 265 <userManaged>true</userManaged> 266 <exposed>true</exposed> 267 <browseable>true</browseable> 268 <writePolicy>READ_ONLY</writePolicy> 269 <localStorage> 270 <provider>file</provider> 271 </localStorage> 272 <externalConfiguration> 273 <masterRepositoryId>central</masterRepositoryId> 274 <syncAtStartup>false</syncAtStartup> 275 </externalConfiguration> 276 </repository> 277 <repository> 278 <id>public</id> 279 <name>Public Repositories</name> 280 <providerRole>org.sonatype.nexus.proxy.repository.GroupRepository</providerRole> 281 <providerHint>maven2</providerHint> 282 <localStatus>IN_SERVICE</localStatus> 283 <notFoundCacheTTL>15</notFoundCacheTTL> 284 <userManaged>true</userManaged> 285 <exposed>true</exposed> 286 <browseable>true</browseable> 287 <writePolicy>READ_ONLY</writePolicy> 288 <indexable>true</indexable> 289 <localStorage> 290 <provider>file</provider> 291 </localStorage> 292 <externalConfiguration> 293 <mergeMetadata>true</mergeMetadata> 294 <memberRepositories> 295 <memberRepository>releases</memberRepository> 296 <memberRepository>snapshots</memberRepository> 297 <memberRepository>thirdparty</memberRepository> 298 <memberRepository>central</memberRepository> 299 </memberRepositories> 300 </externalConfiguration> 301 </repository> 302 </repositories> 303 <repositoryGrouping> 304 <pathMappings> 305 <pathMapping> 306 <id>inhouse-stuff</id> 307 <groupId>*</groupId> 308 <routeType>inclusive</routeType> 309 <routePatterns> 310 <routePattern>^/(com|org)/somecompany/.*</routePattern> 311 </routePatterns> 312 <repositories> 313 <repository>snapshots</repository> 314 <repository>releases</repository> 315 </repositories> 316 </pathMapping> 317 <pathMapping> 318 <id>apache-stuff</id> 319 <groupId>*</groupId> 320 <routeType>exclusive</routeType> 321 <routePatterns> 322 <routePattern>^/org/some-oss/.*</routePattern> 323 </routePatterns> 324 <repositories> 325 <repository>releases</repository> 326 <repository>snapshots</repository> 327 </repositories> 328 </pathMapping> 329 </pathMappings> 330 </repositoryGrouping> 331 <repositoryTargets> 332 <repositoryTarget> 333 <id>1</id> 334 <name>All (Maven2)</name> 335 <contentClass>maven2</contentClass> 336 <patterns> 337 <pattern>.*</pattern> 338 </patterns> 339 </repositoryTarget> 340 <repositoryTarget> 341 <id>2</id> 342 <name>All (Maven1)</name> 343 <contentClass>maven1</contentClass> 344 <patterns> 345 <pattern>.*</pattern> 346 </patterns> 347 </repositoryTarget> 348 <repositoryTarget> 349 <id>3</id> 350 <name>All but sources (Maven2)</name> 351 <contentClass>maven2</contentClass> 352 <patterns> 353 <pattern>(?!.*-sources.*).*</pattern> 354 </patterns> 355 </repositoryTarget> 356 <repositoryTarget> 357 <id>4</id> 358 <name>All Metadata (Maven2)</name> 359 <contentClass>maven2</contentClass> 360 <patterns> 361 <pattern>.*maven-metadata\.xml.*</pattern> 362 </patterns> 363 </repositoryTarget> 364 <repositoryTarget> 365 <id>any</id> 366 <name>All (Any Repository)</name> 367 <contentClass>any</contentClass> 368 <patterns> 369 <pattern>.*</pattern> 370 </patterns> 371 </repositoryTarget> 372 <repositoryTarget> 373 <id>site</id> 374 <name>All (site)</name> 375 <contentClass>site</contentClass> 376 <patterns> 377 <pattern>.*</pattern> 378 </patterns> 379 </repositoryTarget> 380 <repositoryTarget> 381 <id>npm</id> 382 <name>All (npm)</name> 383 <contentClass>npm</contentClass> 384 <patterns> 385 <pattern>.*</pattern> 386 </patterns> 387 </repositoryTarget> 388 <repositoryTarget> 389 <id>nuget</id> 390 <name>All (nuget)</name> 391 <contentClass>nuget</contentClass> 392 <patterns> 393 <pattern>.*</pattern> 394 </patterns> 395 </repositoryTarget> 396 <repositoryTarget> 397 <id>rubygems</id> 398 <name>All (rubygems)</name> 399 <contentClass>rubygems</contentClass> 400 <patterns> 401 <pattern>.*</pattern> 402 </patterns> 403 </repositoryTarget> 404 </repositoryTargets> 405 <smtpConfiguration> 406 <hostname>smtp-host</hostname> 407 <port>25</port> 408 <username>smtp-username</username> 409 <password>{jyU2gDFaNz8HQ4ybBAIdtJ6KL+YB08GXQs7vLPnia3o=}</password> 410 <systemEmailAddress>system@nexus.org</systemEmailAddress> 411 </smtpConfiguration> 412 <notification /> 413 </nexusConfiguration>