default-config.nexus.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Sonatype Nexus (TM) Open Source Version Copyright (c) 2008-present Sonatype, Inc. All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0, which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html. Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the Eclipse Foundation. All other trademarks are the property of their respective owners. --> <nexusConfiguration> <version>2.7.0</version> <globalConnectionSettings> <connectionTimeout>10000</connectionTimeout> <retrievalRetryCount>3</retrievalRetryCount> <queryString></queryString> </globalConnectionSettings> <restApi> <baseUrl>http://localhost:${nexus-application-port}/nexus</baseUrl> <uiTimeout>60000</uiTimeout> </restApi> <httpProxy> <port>${nexus-proxy-port}</port> <proxyPolicy>strict</proxyPolicy> </httpProxy> <routing> <resolveLinks>true</resolveLinks> </routing> <repositories> <repository> <id>fake-central</id> <name>fake-central</name> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>1440</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <indexable>true</indexable> <searchable>true</searchable> <localStorage> <provider>file</provider> <url>${maven-repository}</url> </localStorage> <externalConfiguration> <proxyMode>ALLOW</proxyMode> <artifactMaxAge>1440</artifactMaxAge> <itemMaxAge>1440</itemMaxAge> <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> <downloadRemoteIndex>false</downloadRemoteIndex> <checksumPolicy>WARN</checksumPolicy> <repositoryPolicy>release</repositoryPolicy> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-repo</id> <name>nexus-test-harness-repo</name> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>1440</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>ALLOW_WRITE</writePolicy> <indexable>true</indexable> <searchable>true</searchable> <externalConfiguration> <proxyMode>ALLOW</proxyMode> <artifactMaxAge>1440</artifactMaxAge> <itemMaxAge>1440</itemMaxAge> <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> <downloadRemoteIndex>false</downloadRemoteIndex> <checksumPolicy>WARN</checksumPolicy> <repositoryPolicy>release</repositoryPolicy> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-repo2</id> <name>nexus-test-harness-repo2</name> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>1440</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>ALLOW_WRITE</writePolicy> <indexable>true</indexable> <searchable>true</searchable> <externalConfiguration> <proxyMode>ALLOW</proxyMode> <artifactMaxAge>1440</artifactMaxAge> <itemMaxAge>1440</itemMaxAge> <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> <downloadRemoteIndex>false</downloadRemoteIndex> <checksumPolicy>WARN</checksumPolicy> <repositoryPolicy>release</repositoryPolicy> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-release-repo</id> <name>nexus-test-harness-release-repo</name> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>1440</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>ALLOW_WRITE</writePolicy> <indexable>true</indexable> <searchable>true</searchable> <externalConfiguration> <proxyMode>ALLOW</proxyMode> <artifactMaxAge>1440</artifactMaxAge> <itemMaxAge>1440</itemMaxAge> <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> <downloadRemoteIndex>false</downloadRemoteIndex> <checksumPolicy>WARN</checksumPolicy> <repositoryPolicy>release</repositoryPolicy> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-snapshot-repo</id> <name>nexus-test-harness-snapshot-repo</name> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>1440</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>ALLOW_WRITE</writePolicy> <indexable>true</indexable> <searchable>true</searchable> <externalConfiguration> <proxyMode>ALLOW</proxyMode> <artifactMaxAge>1440</artifactMaxAge> <itemMaxAge>1440</itemMaxAge> <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> <downloadRemoteIndex>false</downloadRemoteIndex> <checksumPolicy>WARN</checksumPolicy> <repositoryPolicy>snapshot</repositoryPolicy> </externalConfiguration> </repository> <repository> <id>release-proxy-repo-1</id> <name>Jetty Test Server</name> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheActive>true</notFoundCacheActive> <notFoundCacheTTL>1440</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <indexable>true</indexable> <searchable>true</searchable> <remoteStorage> <url>${proxy-repo-base-url}release-proxy-repo-1</url> </remoteStorage> <externalConfiguration> <proxyMode>ALLOW</proxyMode> <artifactMaxAge>1440</artifactMaxAge> <itemMaxAge>1440</itemMaxAge> <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata> <downloadRemoteIndex>false</downloadRemoteIndex> <checksumPolicy>WARN</checksumPolicy> <repositoryPolicy>release</repositoryPolicy> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-shadow</id> <name>nexus-test-harness-shadow</name> <providerRole>org.sonatype.nexus.proxy.repository.ShadowRepository</providerRole> <providerHint>m2-m1-shadow</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>15</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <externalConfiguration> <masterRepositoryId>nexus-test-harness-repo</masterRepositoryId> <synchronizeAtStartup>false</synchronizeAtStartup> </externalConfiguration> </repository> <repository> <id>public</id> <name>Public Repositories</name> <providerRole>org.sonatype.nexus.proxy.repository.GroupRepository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>15</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <indexable>true</indexable> <externalConfiguration> <mergeMetadata>true</mergeMetadata> <memberRepositories> <memberRepository>fake-central</memberRepository> <memberRepository>nexus-test-harness-repo</memberRepository> <memberRepository>nexus-test-harness-repo2</memberRepository> <memberRepository>release-proxy-repo-1</memberRepository> <memberRepository>nexus-test-harness-release-repo</memberRepository> </memberRepositories> </externalConfiguration> </repository> <repository> <id>nexus-test</id> <name>nexus-test</name> <providerRole>org.sonatype.nexus.proxy.repository.GroupRepository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>15</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <indexable>true</indexable> <externalConfiguration> <mergeMetadata>true</mergeMetadata> <memberRepositories> <memberRepository>nexus-test-harness-repo</memberRepository> <memberRepository>nexus-test-harness-repo2</memberRepository> <memberRepository>release-proxy-repo-1</memberRepository> </memberRepositories> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-snapshot-group</id> <name>nexus-test-harness-snapshot-group</name> <providerRole>org.sonatype.nexus.proxy.repository.GroupRepository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>15</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <indexable>true</indexable> <externalConfiguration> <mergeMetadata>true</mergeMetadata> <memberRepositories> <memberRepository>nexus-test-harness-snapshot-repo</memberRepository> </memberRepositories> </externalConfiguration> </repository> <repository> <id>nexus-test-harness-release-group</id> <name>nexus-test-harness-release-group</name> <providerRole>org.sonatype.nexus.proxy.repository.GroupRepository</providerRole> <providerHint>maven2</providerHint> <localStatus>IN_SERVICE</localStatus> <notFoundCacheTTL>15</notFoundCacheTTL> <userManaged>true</userManaged> <exposed>true</exposed> <browseable>true</browseable> <writePolicy>READ_ONLY</writePolicy> <indexable>true</indexable> <externalConfiguration> <mergeMetadata>true</mergeMetadata> <memberRepositories> <memberRepository>nexus-test-harness-release-repo</memberRepository> </memberRepositories> </externalConfiguration> </repository> </repositories> <repositoryGrouping /> <repositoryTargets> <repositoryTarget> <id>testTarget</id> <name>testTarget</name> <contentClass>maven2</contentClass> <patterns> <pattern>.*test.*</pattern> </patterns> </repositoryTarget> <repositoryTarget> <id>allRepos</id> <name>All M2 Repositories</name> <contentClass>maven2</contentClass> <patterns> <pattern>.*</pattern> </patterns> </repositoryTarget> <repositoryTarget> <id>1</id> <name>All (Maven2)</name> <contentClass>maven2</contentClass> <patterns> <pattern>.*</pattern> </patterns> </repositoryTarget> <repositoryTarget> <id>2</id> <name>All (Maven1)</name> <contentClass>maven1</contentClass> <patterns> <pattern>.*</pattern> </patterns> </repositoryTarget> </repositoryTargets> <smtpConfiguration> <hostname>localhost</hostname> <port>${email-server-port}</port> <username>smtp-username</username> <password>smtp-password</password> <systemEmailAddress>[email protected]</systemEmailAddress> </smtpConfiguration> <notification /> </nexusConfiguration>