`
tangkuo
  • 浏览: 100950 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

windows平台注册mongodb服务与maven相关配置

 
阅读更多

F:\mongodb\bin\mongod.exe --auth --dbpath "F:\mongodb\db" --logpath "F:\mongodb\log\log.txt" --install

maven相关配置

settings.xml

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->

<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
|  1. User Level. This settings.xml file provides configuration for a single user,
|                 and is normally provided in ${user.home}/.m2/settings.xml.
|
|                 NOTE: This location can be overridden with the CLI option:
|
|                 -s /path/to/user/settings.xml
|
|  2. Global Level. This settings.xml file provides configuration for all Maven
|                 users on a machine (assuming they're all using the same Maven
|                 installation). It's normally provided in
|                 ${maven.home}/conf/settings.xml.
|
|                 NOTE: This location can be overridden with the CLI option:
|
|                 -gs /path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <!-- localRepository
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ~/.m2/repository
  <localRepository>/path/to/local/repo</localRepository>
  -->
  <localRepository>F:/.m2/repository</localRepository>
  <!-- interactiveMode
   | This will determine whether maven prompts you when it needs input. If set to false,
   | maven will use a sensible default value, perhaps based on some other setting, for
   | the parameter in question.
   |
   | Default: true
  <interactiveMode>true</interactiveMode>
  -->

  <!-- offline
   | Determines whether maven should attempt to connect to the network when executing a build.
   | This will have an effect on artifact downloads, artifact deployment, and others.
   |
   | Default: false
  <offline>false</offline>
  -->

  <!-- pluginGroups
   | This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
   | when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
   | "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
   |-->
  <pluginGroups>
    <!-- pluginGroup
     | Specifies a further group identifier to use for plugin lookup.
    <pluginGroup>com.your.plugins</pluginGroup>
    -->
  </pluginGroups>

  <!-- proxies
   | This is a list of proxies which can be used on this machine to connect to the network.
   | Unless otherwise specified (by system property or command-line switch), the first proxy
   | specification in this list marked as active will be used.
   |-->
  <proxies>

    <!-- proxy
     | Specification for one proxy, to be used in connecting to the network.
     |
    <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>proxyuser</username>
      <password>proxypass</password>
      <host>proxy.host.net</host>
      <port>80</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
    </proxy>
    -->

  </proxies>

  <!-- servers
   | This is a list of authentication profiles, keyed by the server-id used within the system.
   | Authentication profiles can be used whenever maven must make a connection to a remote server.
   |-->
  <servers>
    <!-- server
     | Specifies the authentication information to use when connecting to a particular server, identified by
     | a unique name within the system (referred to by the 'id' attribute below).
     |
     | NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
     |       used together.
     |
    <server>
      <id>deploymentRepo</id>
      <username>repouser</username>
      <password>repopwd</password>
    </server>
    -->

    <!-- Another sample, using keys to authenticate.
    <server>
      <id>siteServer</id>
      <privateKey>/path/to/private/key</privateKey>
      <passphrase>optional; leave empty if not used.</passphrase>
    </server>
    -->
  <server>
    <id>nexus-releases</id>
    <username>admin</username>
    <password>sysadmin</password>
  </server>

  <server>
    <id>nexus-snapshots</id>
    <username>admin</username>
    <password>sysadmin</password>
  </server>

  </servers>

  <!-- mirrors
   | This is a list of mirrors to be used in downloading artifacts from remote repositories.
   |
   | It works like this: a POM may declare a repository to use in resolving certain artifacts.
   | However, this repository may have problems with heavy traffic at times, so people have mirrored
   | it to several places.
   |
   | That repository definition will have a unique id, so we can create a mirror reference for that
   | repository, to be used as an alternate download site. The mirror site will be the preferred
   | server for that repository.
   |-->
  <mirrors>
    <!-- mirror
     | Specifies a repository mirror site to use instead of a given repository. The repository that
     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
     |
    <mirror>
      <id>mirrorId</id>
      <mirrorOf>repositoryId</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://my.repository.com/repo/path</url>
    </mirror>
     -->

    <!--所有的请求都将走本地私服-->
    <!--
    <mirror>
        <id>nexus</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus Mirror.</name>
        <url>http://192.168.9.65:8081/nexus/content/groups/public</url>
    </mirror>
    -->

    <!-- 所有的请求都将走oschina的服务器 -->
    <!--
    <mirror>
        <id>nexus-osc</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus osc</name>
        <url>http://maven.oschina.net/content/groups/public/</url>
    </mirror>
    -->
  </mirrors>

  <!-- profiles
   | This is a list of profiles which can be activated in a variety of ways, and which can modify
   | the build process. Profiles provided in the settings.xml are intended to provide local machine-
   | specific paths and repository locations which allow the build to work in the local environment.
   |
   | For example, if you have an integration testing plugin - like cactus - that needs to know where
   | your Tomcat instance is installed, you can provide a variable here such that the variable is
   | dereferenced during the build process to configure the cactus plugin.
   |
   | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
   | section of this document (settings.xml) - will be discussed later. Another way essentially
   | relies on the detection of a system property, either matching a particular value for the property,
   | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
   | value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
   | Finally, the list of active profiles can be specified directly from the command line.
   |
   | NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
   |       repositories, plugin repositories, and free-form properties to be used as configuration
   |       variables for plugins in the POM.
   |
   |-->
  <profiles>
    <!-- profile
     | Specifies a set of introductions to the build process, to be activated using one or more of the
     | mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
     | or the command line, profiles have to have an ID that is unique.
     |
     | An encouraged best practice for profile identification is to use a consistent naming convention
     | for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
     | This will make it more intuitive to understand what the set of introduced profiles is attempting
     | to accomplish, particularly when you only have a list of profile id's for debug.
     |
     | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
    <profile>
      <id>jdk-1.4</id>

      <activation>
        <jdk>1.4</jdk>
      </activation>

      <repositories>
        <repository>
          <id>jdk14</id>
          <name>Repository for JDK 1.4 builds</name>
          <url>http://www.myhost.com/maven/jdk14</url>
          <layout>default</layout>
          <snapshotPolicy>always</snapshotPolicy>
        </repository>
      </repositories>
    </profile>
    -->

    <!--
     | Here is another profile, activated by the system property 'target-env' with a value of 'dev',
     | which provides a specific path to the Tomcat instance. To use this, your plugin configuration
     | might hypothetically look like:
     |
     | ...
     | <plugin>
     |   <groupId>org.myco.myplugins</groupId>
     |   <artifactId>myplugin</artifactId>
     |  
     |   <configuration>
     |     <tomcatLocation>${tomcatPath}</tomcatLocation>
     |   </configuration>
     | </plugin>
     | ...
     |
     | NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
     |       anything, you could just leave off the <value/> inside the activation-property.
     |
    <profile>
      <id>env-dev</id>

      <activation>
        <property>
          <name>target-env</name>
          <value>dev</value>
        </property>
      </activation>

      <properties>
        <tomcatPath>/path/to/tomcat/instance</tomcatPath>
      </properties>
    </profile>
    -->

    <profile>
        <id>nexus</id>
        <repositories>
          <repository>
            <id>nexus</id>
            <name>Nexus</name>
            <url>http://192.168.9.65:8081/nexus/content/groups/public/</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>false</enabled></snapshots>
          </repository>
        </repositories>
        <pluginRepositories>
          <pluginRepository>
            <id>nexus</id>
            <name>Nexus</name>
            <url>http://192.168.9.65:8081/nexus/content/groups/public/</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>false</enabled></snapshots>
          </pluginRepository>
        </pluginRepositories>
    </profile>

    <profile>
        <id>nexus-osc</id>
        <repositories>
          <repository>
            <id>nexus-osc</id>
            <name>Nexus osc</name>
            <url>http://maven.oschina.net/content/groups/public/</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>false</enabled></snapshots>
          </repository>
        </repositories>
        <pluginRepositories>
          <pluginRepository>
            <id>nexus-osc</id>
            <name>Nexus osc</name>
            <url>http://maven.oschina.net/content/groups/public/</url>
            <releases>
                <enabled>true</enabled>
            </releases>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
          </pluginRepository>
        </pluginRepositories>
    </profile>

    <profile>
        <id>central</id>
        <repositories>
             <repository>
                <id>central</id>
                <url>http://central</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </repository>
        </repositories>
        <pluginRepositories>
            <pluginRepository>
                <id>central</id>
                <url>http://central</url>
                <releases>
                    <enabled>true</enabled>
                </releases>
                <snapshots>
                    <enabled>false</enabled>
                </snapshots>
            </pluginRepository>
        </pluginRepositories>
    </profile>

  </profiles>

  <!-- activeProfiles
   | List of profiles that are active for all builds.
   |
  <activeProfiles>
    <activeProfile>alwaysActiveProfile</activeProfile>
    <activeProfile>anotherAlwaysActiveProfile</activeProfile>
  </activeProfiles>
  -->

  <activeProfiles>
    <!--<activeProfile>nexus</activeProfile>-->
    <activeProfile>nexus-osc</activeProfile>
    <!--<activeProfile>central</activeProfile>-->
  </activeProfiles>

</settings>



nexus.xml(私服配置)

<?xml version="1.0" encoding="UTF-8"?>
<nexusConfiguration>
  <version>2.2.0</version>
  <nexusVersion>2.5.1-01</nexusVersion>
  <globalConnectionSettings>
    <connectionTimeout>20000</connectionTimeout>
    <retrievalRetryCount>3</retrievalRetryCount>
  </globalConnectionSettings>
  <restApi>
    <baseUrl>http://192.168.9.65:8081/nexus</baseUrl>
    <uiTimeout>60000</uiTimeout>
  </restApi>
  <httpProxy>
    <enabled>true</enabled>
    <port>8082</port>
    <proxyPolicy>strict</proxyPolicy>
  </httpProxy>
  <routing>
    <resolveLinks>true</resolveLinks>
  </routing>
  <repositories>
    <repository>
      <id>central</id>
      <name>Central</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repo1.maven.org/maven2/</url>
        <mirrors>
          <mirror>
            <id>http://mirrors.ibiblio.org/pub/mirrors/maven2</id>
            <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
          </mirror>
        </mirrors>
      </remoteStorage>
      <externalConfiguration>
        <proxyMode>ALLOW</proxyMode>
        <artifactMaxAge>-1</artifactMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <checksumPolicy>WARN</checksumPolicy>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <autoBlockActive>true</autoBlockActive>
        <fileTypeValidation>true</fileTypeValidation>
        <metadataMaxAge>1440</metadataMaxAge>
      </externalConfiguration>
    </repository>
    <repository>
      <id>apache-snapshots</id>
      <name>Apache Snapshots</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repository.apache.org/snapshots/</url>
      </remoteStorage>
      <externalConfiguration>
        <proxyMode>ALLOW</proxyMode>
        <artifactMaxAge>1440</artifactMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <checksumPolicy>WARN</checksumPolicy>
        <repositoryPolicy>SNAPSHOT</repositoryPolicy>
        <autoBlockActive>true</autoBlockActive>
        <fileTypeValidation>true</fileTypeValidation>
        <metadataMaxAge>1440</metadataMaxAge>
      </externalConfiguration>
    </repository>
    <repository>
      <id>codehaus-snapshots</id>
      <name>Codehaus Snapshots</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://nexus.codehaus.org/snapshots/</url>
      </remoteStorage>
      <externalConfiguration>
        <proxyMode>ALLOW</proxyMode>
        <artifactMaxAge>1440</artifactMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <checksumPolicy>WARN</checksumPolicy>
        <repositoryPolicy>SNAPSHOT</repositoryPolicy>
        <autoBlockActive>true</autoBlockActive>
        <fileTypeValidation>true</fileTypeValidation>
        <metadataMaxAge>1440</metadataMaxAge>
      </externalConfiguration>
    </repository>
    <repository>
      <id>releases</id>
      <name>Releases</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_ONCE</writePolicy>
      <indexable>true</indexable>
      <searchable>true</searchable>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <externalConfiguration>
        <proxyMode>ALLOW</proxyMode>
        <artifactMaxAge>-1</artifactMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
        <downloadRemoteIndex>false</downloadRemoteIndex>
        <checksumPolicy>WARN</checksumPolicy>
        <repositoryPolicy>RELEASE</repositoryPolicy>
      </externalConfiguration>
    </repository>
    <repository>
      <id>snapshots</id>
      <name>Snapshots</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <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>thirdparty</id>
      <name>3rd party</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_ONCE</writePolicy>
      <indexable>true</indexable>
      <searchable>true</searchable>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <externalConfiguration>
        <proxyMode>ALLOW</proxyMode>
        <artifactMaxAge>-1</artifactMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
        <downloadRemoteIndex>false</downloadRemoteIndex>
        <checksumPolicy>WARN</checksumPolicy>
        <repositoryPolicy>RELEASE</repositoryPolicy>
      </externalConfiguration>
    </repository>
    <repository>
      <id>central-m1</id>
      <name>Central M1 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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <externalConfiguration>
        <masterRepositoryId>central</masterRepositoryId>
        <syncAtStartup>false</syncAtStartup>
      </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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <externalConfiguration>
        <mergeMetadata>true</mergeMetadata>
        <memberRepositories>
          <memberRepository>releases</memberRepository>
          <memberRepository>thirdparty</memberRepository>
          <memberRepository>central</memberRepository>
          <memberRepository>alfresco</memberRepository>
          <memberRepository>codehaus</memberRepository>
          <memberRepository>google</memberRepository>
          <memberRepository>java.net-m2</memberRepository>
          <memberRepository>sonatyperepository</memberRepository>
          <memberRepository>repository.springframework.maven.release</memberRepository>
          <memberRepository>jboss.repository</memberRepository>
          <memberRepository>kantega</memberRepository>
          <memberRepository>nightlabs</memberRepository>
          <memberRepository>nuxeo</memberRepository>
          <memberRepository>spy</memberRepository>
          <memberRepository>thebuzzmedia</memberRepository>
          <memberRepository>sourceforge-releases</memberRepository>
          <memberRepository>cloudhopper</memberRepository>
          <memberRepository>maven.oschina.net</memberRepository>
          <memberRepository>repo.spring.io-libs-milestone</memberRepository>
          <memberRepository>repo.spring.io-libs-release</memberRepository>
          <memberRepository>repo.spring.io-libs-snapshot</memberRepository>
        </memberRepositories>
      </externalConfiguration>
    </repository>
    <repository>
      <id>google</id>
      <name>Google Code</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://google-maven-repository.googlecode.com/svn/repository/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>java.net-m2</id>
      <name>java.net - Maven 2</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://download.java.net/maven/2/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>java.net-m1</id>
      <name>java.net - Maven 1</name>
      <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
      <providerHint>maven1</providerHint>
      <localStatus>IN_SERVICE</localStatus>
      <notFoundCacheActive>true</notFoundCacheActive>
      <notFoundCacheTTL>1440</notFoundCacheTTL>
      <userManaged>true</userManaged>
      <exposed>true</exposed>
      <browseable>true</browseable>
      <writePolicy>READ_ONLY</writePolicy>
      <searchable>true</searchable>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://download.java.net/maven/1/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>repository.springframework.maven.release</id>
      <name>Spring Framework Maven Release Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repo.springsource.org/libs-release/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>BLOCKED_AUTO</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>sonatyperepository</id>
      <name>Sonatype Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repository.sonatype.org/content/groups/public/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>alfresco</id>
      <name>Alfresco</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>https://maven.alfresco.com/nexus/content/groups/public/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>codehaus</id>
      <name>Codehaus</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repository.codehaus.org/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>jboss.repository</id>
      <name>Jboss Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
        <itemMaxAge>1440</itemMaxAge>
      </externalConfiguration>
    </repository>
    <repository>
      <id>nightlabs</id>
      <name>nightlabs</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://dev.nightlabs.org/maven-repository/repo/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>kantega</id>
      <name>kantega</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://opensource.kantega.no/nexus/content/groups/public/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
      </externalConfiguration>
    </repository>
    <repository>
      <id>nuxeo</id>
      <name>nuxeo</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>https://maven-us.nuxeo.org/nexus/content/groups/public/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>spy</id>
      <name>Spy Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://files.couchbase.com/maven2/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>thebuzzmedia</id>
      <name>The Buzz Media Maven Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://maven.thebuzzmedia.com/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>sourceforge-releases</id>
      <name>Sourceforge Releases</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>https://oss.sonatype.org/content/repositories/sourceforge-releases/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>cloudhopper</id>
      <name>Repository for Cloudhopper</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://maven.cloudhopper.com/repos/third-party/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
        <proxyMode>ALLOW</proxyMode>
      </externalConfiguration>
    </repository>
    <repository>
      <id>maven.oschina.net</id>
      <name>maven.oschina.net</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://maven.oschina.net/content/groups/public/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
      </externalConfiguration>
    </repository>
    <repository>
      <id>repo.spring.io-libs-release</id>
      <name>Spring Release Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repo.spring.io/libs-release/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
      </externalConfiguration>
    </repository>
    <repository>
      <id>repo.spring.io-libs-milestone</id>
      <name>Spring Milestone Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repo.spring.io/libs-milestone/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
      </externalConfiguration>
    </repository>
    <repository>
      <id>repo.spring.io-libs-snapshot</id>
      <name>Spring Snapshot Repository</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>
      <localStorage>
        <provider>file</provider>
      </localStorage>
      <remoteStorage>
        <url>http://repo.spring.io/libs-snapshot/</url>
      </remoteStorage>
      <externalConfiguration>
        <repositoryPolicy>RELEASE</repositoryPolicy>
        <checksumPolicy>WARN</checksumPolicy>
        <fileTypeValidation>true</fileTypeValidation>
        <downloadRemoteIndex>true</downloadRemoteIndex>
        <artifactMaxAge>-1</artifactMaxAge>
        <metadataMaxAge>1440</metadataMaxAge>
        <itemMaxAge>1440</itemMaxAge>
        <autoBlockActive>true</autoBlockActive>
      </externalConfiguration>
    </repository>
  </repositories>
  <repositoryGrouping>
    <pathMappings>
      <pathMapping>
        <id>inhouse-stuff</id>
        <groupId>*</groupId>
        <routeType>inclusive</routeType>
        <routePatterns>
          <routePattern>^/(com|org)/somecompany/.*</routePattern>
        </routePatterns>
        <repositories>
          <repository>snapshots</repository>
          <repository>releases</repository>
        </repositories>
      </pathMapping>
      <pathMapping>
        <id>apache-stuff</id>
        <groupId>*</groupId>
        <routeType>exclusive</routeType>
        <routePatterns>
          <routePattern>^/org/some-oss/.*</routePattern>
        </routePatterns>
        <repositories>
          <repository>releases</repository>
          <repository>snapshots</repository>
        </repositories>
      </pathMapping>
    </pathMappings>
  </repositoryGrouping>
  <repositoryTargets>
    <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>
    <repositoryTarget>
      <id>3</id>
      <name>All but sources (Maven2)</name>
      <contentClass>maven2</contentClass>
      <patterns>
        <pattern>(?!.*-sources.*).*</pattern>
      </patterns>
    </repositoryTarget>
    <repositoryTarget>
      <id>4</id>
      <name>All Metadata (Maven2)</name>
      <contentClass>maven2</contentClass>
      <patterns>
        <pattern>.*maven-metadata\.xml.*</pattern>
      </patterns>
    </repositoryTarget>
    <repositoryTarget>
      <id>any</id>
      <name>All (Any Repository)</name>
      <contentClass>any</contentClass>
      <patterns>
        <pattern>.*</pattern>
      </patterns>
    </repositoryTarget>
    <repositoryTarget>
      <id>site</id>
      <name>All (site)</name>
      <contentClass>site</contentClass>
      <patterns>
        <pattern>.*</pattern>
      </patterns>
    </repositoryTarget>
  </repositoryTargets>
  <tasks>
    <task>
      <id>24</id>
      <name>Health Check: alfresco</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394001304611</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394001304611</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>alfresco</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: alfresco</value>
        </property>
        <property>
          <key>.id</key>
          <value>24</value>
        </property>
      </properties>
    </task>
    <task>
      <id>31</id>
      <name>Health Check: sonatyperepository</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394003359855</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394003359855</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>sonatyperepository</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: sonatyperepository</value>
        </property>
        <property>
          <key>.id</key>
          <value>31</value>
        </property>
      </properties>
    </task>
    <task>
      <id>52</id>
      <name>Health Check: repo.spring.io-libs-milestone</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002650953</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002650953</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>repo.spring.io-libs-milestone</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: repo.spring.io-libs-milestone</value>
        </property>
        <property>
          <key>.id</key>
          <value>52</value>
        </property>
      </properties>
    </task>
    <task>
      <id>54</id>
      <name>Health Check: repo.spring.io-libs-snapshot</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002637719</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002637719</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>repo.spring.io-libs-snapshot</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: repo.spring.io-libs-snapshot</value>
        </property>
        <property>
          <key>.id</key>
          <value>54</value>
        </property>
      </properties>
    </task>
    <task>
      <id>27</id>
      <name>Health Check: google</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394001334943</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394001334943</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>google</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: google</value>
        </property>
        <property>
          <key>.id</key>
          <value>27</value>
        </property>
      </properties>
    </task>
    <task>
      <id>26</id>
      <name>Health Check: codehaus</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002732163</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002732163</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>codehaus</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: codehaus</value>
        </property>
        <property>
          <key>.id</key>
          <value>26</value>
        </property>
      </properties>
    </task>
    <task>
      <id>28</id>
      <name>Health Check: java.net-m1</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002296324</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002296324</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>java.net-m1</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: java.net-m1</value>
        </property>
        <property>
          <key>.id</key>
          <value>28</value>
        </property>
      </properties>
    </task>
    <task>
      <id>40</id>
      <name>Health Check: spy</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002370955</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002370955</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>spy</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: spy</value>
        </property>
        <property>
          <key>.id</key>
          <value>40</value>
        </property>
      </properties>
    </task>
    <task>
      <id>29</id>
      <name>Health Check: java.net-m2</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394003136746</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394003136746</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>java.net-m2</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: java.net-m2</value>
        </property>
        <property>
          <key>.id</key>
          <value>29</value>
        </property>
      </properties>
    </task>
    <task>
      <id>36</id>
      <name>Health Check: nuxeo</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394003335373</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394003335373</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>nuxeo</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: nuxeo</value>
        </property>
        <property>
          <key>.id</key>
          <value>36</value>
        </property>
      </properties>
    </task>
    <task>
      <id>53</id>
      <name>Health Check: repo.spring.io-libs-release</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002666380</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002666380</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>repo.spring.io-libs-release</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: repo.spring.io-libs-release</value>
        </property>
        <property>
          <key>.id</key>
          <value>53</value>
        </property>
      </properties>
    </task>
    <task>
      <id>48</id>
      <name>Health Check: maven.oschina.net</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002320701</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002320701</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>maven.oschina.net</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: maven.oschina.net</value>
        </property>
        <property>
          <key>.id</key>
          <value>48</value>
        </property>
      </properties>
    </task>
    <task>
      <id>32</id>
      <name>Health Check: repository.springframework.maven.release</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002497585</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002497585</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>repository.springframework.maven.release</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: repository.springframework.maven.release</value>
        </property>
        <property>
          <key>.id</key>
          <value>32</value>
        </property>
      </properties>
    </task>
    <task>
      <id>45</id>
      <name>Health Check: cloudhopper</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002592726</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002592726</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>cloudhopper</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: cloudhopper</value>
        </property>
        <property>
          <key>.id</key>
          <value>45</value>
        </property>
      </properties>
    </task>
    <task>
      <id>25</id>
      <name>Health Check: central</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002210269</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002210269</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>central</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: central</value>
        </property>
        <property>
          <key>.id</key>
          <value>25</value>
        </property>
      </properties>
    </task>
    <task>
      <id>30</id>
      <name>Health Check: jboss.repository</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394006589528</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394006589528</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>jboss.repository</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: jboss.repository</value>
        </property>
        <property>
          <key>.id</key>
          <value>30</value>
        </property>
      </properties>
    </task>
    <task>
      <id>42</id>
      <name>Health Check: thebuzzmedia</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002473345</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002473345</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>thebuzzmedia</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: thebuzzmedia</value>
        </property>
        <property>
          <key>.id</key>
          <value>42</value>
        </property>
      </properties>
    </task>
    <task>
      <id>37</id>
      <name>Health Check: kantega</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394003006346</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394003006346</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>kantega</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: kantega</value>
        </property>
        <property>
          <key>.id</key>
          <value>37</value>
        </property>
      </properties>
    </task>
    <task>
      <id>46</id>
      <name>Health Check: sourceforge-releases</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002742070</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002742070</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>sourceforge-releases</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: sourceforge-releases</value>
        </property>
        <property>
          <key>.id</key>
          <value>46</value>
        </property>
      </properties>
    </task>
    <task>
      <id>38</id>
      <name>Health Check: nightlabs</name>
      <enabled>true</enabled>
      <type>HealthCheckTask</type>
      <status>WAITING</status>
      <nextRun>1394002306560</nextRun>
      <schedule>
        <type>hourly</type>
        <startDate>1394002306560</startDate>
      </schedule>
      <properties>
        <property>
          <key>repoId</key>
          <value>nightlabs</value>
        </property>
        <property>
          <key>.name</key>
          <value>Health Check: nightlabs</value>
        </property>
        <property>
          <key>.id</key>
          <value>38</value>
        </property>
      </properties>
    </task>
  </tasks>
  <smtpConfiguration>
    <hostname>smtp-host</hostname>
    <port>25</port>
    <username>smtp-username</username>
    <password>{92avinnb0XcHT2Ko4DudpAL+0uDFoMD608E8oLQmCZs=}</password>
    <systemEmailAddress>system@nexus.org</systemEmailAddress>
  </smtpConfiguration>
  <errorReporting>
    <jiraUrl>https://issues.sonatype.org</jiraUrl>
    <jiraProject>PR</jiraProject>
  </errorReporting>
  <notification>
    <notificationTargets>
      <notificationTarget>
        <targetId>autoBlockTarget</targetId>
      </notificationTarget>
    </notificationTargets>
  </notification>
</nexusConfiguration>


分享到:
评论

相关推荐

    windows 64位mongodb安装包+java api文档

    1. **下载与解压**:首先,你需要下载这个64位的MongoDB安装包,解压缩后,你会看到一个可执行文件,通常名为`mongodb-windows-x86_64-&lt;version&gt;.msi`。这里的`&lt;version&gt;`代表MongoDB的版本号。 2. **运行安装向导**...

    mongodb+spring+maven环境搭建

    3. **添加Maven依赖**:在你的项目中,使用Maven来管理MongoDB和Spring的相关依赖。在`pom.xml`文件中,你需要添加`mongodb-driver`、`spring-data-mongodb`以及`spring-webmvc`等依赖。确保选择的版本与你的其他...

    mongodb安装配置及java操作mongodb

    安装过程通常包括下载最新版本的MongoDB服务器,创建数据目录,配置服务,最后启动MongoDB服务。在Windows上,可能需要使用服务管理器,而在Linux上,可能需要编辑`/etc/init.d/mongod`脚本或使用systemd服务。确保...

    mongodb的windows安装包.rar

    总结来说,MongoDB在Windows上的安装涉及下载安装包,创建数据目录,配置MongoDB,创建服务,以及使用Java驱动进行数据操作。这些步骤对于任何想要在Windows环境中使用MongoDB的开发者来说都是至关重要的。通过理解...

    Mongodb Java操作实例代码+windows安装包+jar包+ROBO可视化工具

    本资源包提供了MongoDB在Windows平台上的安装指南、Java操作实例代码、所需的jar包以及ROBO 3T(前身为ROBO MongoDB)这一可视化工具,帮助开发者快速上手MongoDB的Java应用。 首先,让我们详细讲解MongoDB的...

    mongodb安装包-驱动-安装说明-测试代码一键成功

    4. 配置MongoDB服务:在Windows上,需要编辑"mongod.cfg"配置文件,设置数据文件路径和其他参数。然后,通过命令行使用“mongod.exe --config &lt;配置文件路径&gt; --install”命令来安装服务。 5. 启动MongoDB服务:...

    mongodb.zip

    项目包含了SpringBoot应用程序的各种必要组件和配置,以及MongoDB的相关操作。下面将详细介绍这些组件和操作的知识点: 1. **pom.xml**: 这是Maven项目的配置文件,用于定义项目依赖。在这里,开发者会列出...

    MongoDB 在java中的应用 纯Java操作

    - 进入`bin`目录下,打开命令行窗口,执行以下命令将MongoDB安装为Windows服务: ``` mongod.exe --config d:\mongodb\mongod.cfg --install ``` 5. **启动与停止服务**: - 启动MongoDB服务: ``` ...

    基于java的mongodb开发环境搭建

    ### 基于Java的MongoDB开发环境搭建详解 #### 一、开发环境配置 **系统环境:** Windows ...此外,还提供了关于更新、删除文档以及聚合框架的进阶操作指南,希望能帮助读者更深入地掌握MongoDB的相关知识和技术。

    mongodb安装及java操作demo收集.pdf

    ### MongoDB 安装与 Java 操作详解 #### 一、MongoDB 安装步骤 **1. 下载 MongoDB** - **官方下载地址**: [https://www.mongodb.org/downloads](https://www.mongodb.org/downloads) - **版本选择**: 示例中选择...

    Java程序访问MongoDB

    - 对于Windows平台,可以从官方网站下载适合的安装包,按照提示完成安装过程。 - 安装过程中需要注意数据文件存放的位置,默认情况下为`C:\data\db`目录,用户可以根据实际情况选择合适的位置。 2. **启动MongoDB...

    mongodb java 简单操作 win32 安装步骤

    3. **配置MongoDB服务**:安装完成后,需要创建MongoDB服务以便后台运行。打开命令行窗口,使用`net.exe`工具创建服务,例如: ``` net.exe localgroup "MongoDB" /add net.exe localgroup "MongoDB" &lt;当前用户名...

    MongoDB中文指南

    二、安装与配置MongoDB 首先,你需要下载并安装MongoDB服务器。根据操作系统(如Windows、Linux或macOS)选择相应的安装包。安装完成后,启动MongoDB服务,并设置数据存储目录。在Windows上,可以通过`mongod`命令行...

    mongodb安装及java操作demo.pdf

    ### MongoDB 安装与 Java 操作详解 #### 一、MongoDB 安装步骤 **1. 下载 MongoDB** - **官方下载地址**: [https://www.mongodb.org/downloads](https://www.mongodb.org/downloads) - **版本选择**: 示例中选择...

    MongoDB入门以及实现微聊即时通讯功能的Java代码.zip

    - 添加依赖:在Java项目中,我们需要引入MongoDB Java驱动程序的依赖,通常通过Maven或Gradle来管理。 - 配置MongoClient:创建MongoClient实例,指定服务器地址和端口。 - 数据库操作:通过MongoClient获取...

    在Windows环境下MongoDB搭建和简单操作.zip_Java编程_Java__Java编程_Java_

    在Windows环境下搭建MongoDB,可以方便地进行数据存储与管理。本教程将详细介绍如何在Windows上安装MongoDB,并进行基本的操作。 首先,我们需要下载MongoDB的Windows安装包。这通常可以从MongoDB的官方网站...

    离线部署windows_2008_R2操作手册

    接下来是Maven的安装与配置,Maven是一个项目管理和依赖管理工具,对于Java开发者极其重要: 1. Maven的安装:下载Maven的zip文件,解压到指定目录,例如`C:\maven`。 2. 设置`MAVEN_HOME`环境变量:将其值设为...

    安装 git ,maven,nodejs,jdk,mongo,minio,gogs,mysql,redis,jenkins

    7. **Gogs**:Gogs是一款自托管的Git服务,可以快速搭建代码托管平台。安装通常包括下载源码,编译,然后配置和启动服务。 8. **MySQL**:MySQL是广泛应用的关系型数据库管理系统。安装过程涉及添加官方仓库,如在...

    EasyMock的安装与部署所需全部文件.zip

    在这个“EasyMock的安装与部署所需全部文件.zip”压缩包中,包含了在Windows环境下部署EasyMock所需的所有组件和步骤,包括Node.js、Redis、MongoDB以及EasyMock的源码。 1. **Node.js**:Node.js是一个基于Chrome ...

    SpringBoot.docx

    在 Windows 上,可以通过以下步骤配置 Maven: - 下载最新版本的 Maven 并解压到指定目录。 - 设置 MAVEN_HOME 环境变量指向 Maven 的安装路径,并在 PATH 变量中添加 %MAVEN_HOME%\bin。 - 配置 Maven 的本地...

Global site tag (gtag.js) - Google Analytics