Maven在国内有哪些免费的maven 国内中央仓库库

> learn_more的博客详情
摘要: 项目构建工具Maven的学习笔记,主要讲解Maven 的仓库、镜像 相关信息
1、仓库中jar包定位
& & 在maven世界中任何一个依赖、插件或者项目构建的输出都可以称为构件,任何一个构件都有一个坐标作为唯一的标识。
这个坐标就是:group、artifactId、version;根据这个坐标就可以定义其在仓库的唯一存储路径,那么就可以在项目中引用。
&&&&&groupId&junit&/groupId&
&&&&&artifactId&junit&/artifactId&
&&&&&version&4.10&/version&
2、Maven仓库原理
& & Maven仓库是基于简单文件系统存储的,只要在文件系统中没有发现相关的文件,说明这几依赖并不存在,因此,我们很容易在本地仓库查找具体的依赖是否存在。
3、仓库的分类信息(本地仓库、远程仓库)
& & 1)本地仓库就是我们自己机器上的文件系统,所以他是唯一的,项目构建时首先在本地仓库查找依赖,如果本地没有依赖时才会去寻找远程仓库。
& & 2)远程仓库指的是非本地的其他所有仓库,中央仓库、私服等都是远程仓库的一种。如果本地仓库没有项目构建需要的构件,你们就会从远程仓库下载,可是远程仓库如果也没有的话,你们就会项目报错。
4、本地仓库设置
&localRepository&D:\Program Files\apache-maven-3.2.2-repository&/localRepository&
安装的时候有个一conf/settings.xml文件,这个文件时全局控制文件,另外,还有一个就是C:\Users\Heweipo\.m2 下面也会有一个settings.xml文件,这个代表的是个人局部配置文件,然而,我们使用Eclipse默认采用这个settings.xml文件,可以通过如下截图修改:
5、中央仓库
& & Maven必须知道至少一个可用的远程仓库,才能执行Maven命令的时候下载到需要的构件。中央仓库就是这样一个默认的远程仓库,Maven安装文件自带远程仓库的位置是
具体中央仓库在settings.xml文件的配置如下:
&&&&&repositories&
&&&&&&&&&&&&repository&
&&&&&&&&&&&&&&&&&&&&&&id&central&/id&
&&&&&&&&&&&&&&&&&&&&&&name&Central&Repository&/name&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&url&http://repo.maven.apache.org/maven2&/url&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&layout&default&/layout&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&snapshots&
&&&&&&&&&&&&&&&&&&&&&&&&&&enabled&true&/enabled&
&&&&&&&&&&&&&&&&&&&&&&&&&&updatePolicy&always&/updatePolicy&
&&&&&&&&&&&&&&&&&&&&&&&&&&checksumPolicy&always&/checksumPolicy&
&&&&&&&&&&&&&&&&&&&&&&/snapshots&&
&&&&&&&&&&&&&/repository&&
&&&&&/repositories&
& & 私服是一种特殊的远程仓库,他是架设在局域网内的仓库服务,私服代理广域网上的远程仓库,供局域网内的Maven用户使用。当Maven需要下载构件的时候,它从私服请求,如果私服上不存在改构件,则从外部的远程仓库下载,同时缓存在私服之上,然后为Maven下载请求提供服务,另外,对于第三方的jar无法从仓库下载(JDBC驱动)可以从本地上传到私服供客户端下载。
& & 优点主要有:
& & 1)节省外网宽带
& & 2)加速Maven构建
& & 3)部署第三方构件
& & 4)提高稳定性、增强控制:原因是外网不稳定
& & 5)降低中央仓库的负荷:原因是中央仓库访问量太大
7、远程仓库认证
& & 有时候登录一个远程仓库需要用户名和密码进行身份验证,所以,需要远程仓库认证。配置认证信息和配置仓库信息不同,仓库信息可以直接配置POM文件中,但是认证信息必须配置在settings.xml文件中,目的就是安全性。当然,我们可以把仓库信息配置在settings.xml 中,这样的缺点就是好动态控制仓库,但是一般情况下不会改变仓库,我们本地私服一般都是唯一的。
&&&&server&
&&&&&&&id&deploymentRepo_releases&/id&
&&&&&&&username&repouser&/username&
&&&&&&&password&repopwd&/password&
&&&&&/server&
值得注意的是,ID代表的是某个repository元素配置的ID。
8、远程仓库部署
&&distributionManagement&
&&&&&repository&
&&&&&&&&&id&deploymentRepo_releases&/id&
&&&&&&&&&name&Nexus&Release&Repository&/name&
&&&&&&&&&url&http://localhost:8081/nexus/content/repositories/releases/&/url&
&&&&&/repository&
&&&&&snapshotRepository&
&&&&&&&&&id&deploymentRepo_snapshots&/id&
&&&&&&&&&name&Nexus&Snapshot&Repository&/name&
&&&&&&&&&url&http://localhost:8081/nexus/content/repositories/snapshots/&/url&
&&&&&/snapshotRepository&
&/distributionManagement&
我们开发的版本可以通过 mvn deploy 把项目部署到对应的私服上去对于为什么要把发行版本和快照版本分开主要还是为了方便后期项目维护和当时的协同开发。比如发行版本肯定是稳定版,但是他的功能可能没有那么多,对于一些要求稳定的客户就可以给他发行版本;可是对于快照版本来说,是一个正在开发的版本,这个版本可能随时都会被另外一个项目依赖,如果他需要我的功能我就会进行代码提交,也就是部署到私服上去,然而,这个时候Maven就会把我的快照版本做一个时间戳添加在快照版本之后,别人依赖的快照版本也会自动更新为最新的快照版本,这些都是Maven帮我们完成,我们只要项目提交就好。
& & 如果仓库X可以提供仓库Y存储的所有内容,那么就可以认为X是Y的一个镜像,某些情况下使用镜像可以提高项目构建效率。
& & settings.xml 中配置镜像
&&&mirrors&
&&&&&mirror&
&&&&&&&id&mirrorId&/id&
&&&&&&&mirrorOf&repositoryId&/mirrorOf&
&&&&&&&name&Human&Readable&Name&for&this&Mirror.&/name&
&&&&&&&url&/repo/path&/url&
&&&&&/mirror&
&&&/mirrors&
镜像的意思是,当你访问mirrorOf的仓库时,就会转到对应的镜像url中请求对应的资源。一般镜像都是和私服结合使用。由于私服可以代理任何外部的公共仓库(包括中央仓库),因此,对于组织内部的Maven用户来说,使用一个私服地址就等于使用了所有需要的外部仓库,这个可以将配置集中到私服,从而简化Maven本身的配置。在这种情况下,任何需要的构件都可以从私服中获得,私服就是所有仓库的镜像。这猴子那个镜像如下配置:
&&&mirrors&
&&&&&mirror&
&&&&&&&id&mirrorId&/id&
&&&&&&&mirrorOf&*&/mirrorOf&
&&&&&&&name&Human&Readable&Name&for&this&Mirror.&/name&
&&&&&&&url&/repo/path&/url&
&&&&&/mirror&
&&&/mirrors&
10 仓库中jar包搜索
& &1)仓库搜索:
&& 2)中央仓库
& & http://repo1.maven.org/maven2/
& & /maven2/
& & http://repository.sonatype.org/content/groups/public/
人打赏支持
码字总数 181123
支付宝支付
微信扫码支付
打赏金额: ¥
已支付成功
打赏金额: ¥
& 开源中国(OSChina.NET) |
开源中国社区(OSChina.net)是工信部
指定的官方社区Maven仓库常用地址 - 推酷
Maven仓库常用地址
【转自】http://tianya23./908
1、maven 仓库地址:
共有的仓库
http://repo1.maven.org/maven2/
http://repository.sonatype.org/content/groups/public/
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/acegisecurity/
私有的仓库
http://repository.codehaus.org/
http://snapshots.repository.codehaus.org/
http://people.apache.org/repo/m2-snapshot-repository
http://people.apache.org/repo/m2-incubating-repository/
同时可以搭建自己的maven仓库:私服, 搭建的方式参考如下:
/blog/349534
2、收集的外部仓库地址
http://www.ibiblio.org/maven/mule/dependencies/maven2/
附:Maven仓库的搭建
访问http://nexus.sonatype.org/downloads/下载Nexus。
启动Nexus,就是启动一个web服务器,它的默认地址是localhost:8081。Nexus在一个名为Jetty的servlet容器中运行,它使用一个名为Tanuki Java Service Wrapper的本地服务包裹器启动。这个服务包裹器可以被配置成以Windows服务或Unix守护线程的形式运行Nexus。要启动Nexus,你需要为你的平台找到合适的启动脚本。要查看可用平台的列表,查看${NEXUS_HOME}/bin/jsw目录的内容。
可执行文件在%nexus安装目录%\nexus-webapp-1.0.0\binjsw\windows-x86-32下:
InstallNexus.bat/UninstallNexus.bat是安装/卸载nexus为windows service。
Nexus.bat是直接在命令行中启动Nexus,如果不想安装Nexus为windows service,可以用这个文件来手工控制Nexus的启动退出。
1.配置nexus
首先登录,默认地址http://localhost:8081/nexus/,默认用户名密码为admin/admin123.
nexus默认是关闭远程索引下载功能的。开启的方式:
点击Administration菜单下面的Repositories,将这三个仓库Apache Snapshots,Codehaus Snapshots,Maven Central的
Download Remote Indexes修改为true。然后在这三个仓库上分别右键,选择Re-index,这样Nexus就会去下载远程的索引文件。
2.管理仓库
以管理员用户登陆然后点击左边导航菜单Administration下面的Repositories。Nexus提供了三种不同的仓库。
(1)代理仓库
一个代理仓库是对远程仓库的一个代理。默认情况下,Nexus自带了如下配置的代理仓库:
Apache Snapshots
这个仓库包含了来自于Apache软件基金会的快照版本。http://people.apache.org/repo/m2-snapshot-repository
Codehaus Snapshots
这个仓库包含了来自于Codehaus的快照版本。 http://snapshots.repository.codehaus.org/
Central Maven Repository
这是中央Maven仓库(发布版本)。 http://repo1.maven.org/maven2/
(2)宿主仓库
一个宿主仓库是由Nexus托管的仓库。Maven自带了如下配置的宿主仓库。
这个宿主仓库应该用来存储在公共Maven仓库中找不到的第三方依赖。这种依赖的样例有:你组织使用的,商业的,私有的类库如Oracle JDBC驱动。
这个宿主仓库是你组织公布内部发布版本的地方。
这个宿主仓库是你组织发布内部快照版本的地方。
(3)虚拟仓库
一个虚拟仓库作为Maven 1的适配器存在。Nexus自带了一个central-m1虚拟仓库
组是Nexus一个强大的特性,它允许你在一个单独的URL中组合多个仓库。Nexus自带了两个组:public和public-snapshots。public组中组合了三个宿主仓库:3rd Party, Releases, 和Snapshots,还有中央Maven仓库。而public-snapshots组中组合了Apache Snapshots和Codehaus Snapshots仓库。
4. 配置maven
要让maven使用Nexus作为仓库,要修改~/.m2/settings.xml.
&profiles&
&id&nexus&/id&
&repositories&
&repository&
&id&nexus&/id&
&name&local private nexus&/name&
&url&http://localhost:8081/nexus/content/groups/public&/url&
&/repository&
&/repositories&
&/profile&
&id&nexus-snapshots&/id&
&repositories&
&repository&
&id&nexus-snapshots&/id&
&name&local private nexus snapshots&/name&
&url&http://localhost:8081/nexus/content/groups/public-snapshots&/url&
&/repository&
&/repositories&
&/profile&
&/profiles&
&activeProfiles&
&activeProfile&nexus&/activeProfile&
&activeProfile&nexus-snapshots&/activeProfile&
&/activeProfiles&
5.部署构件至Nexus
要部署构件至Nexus,在distributionManagement中提供仓库URL,然后运行mvn deploy。Maven会通过一个简单的HTTP PUT将项目POM和构件推入至你的Nexus安装。需要配置你项目POM中distributionManagement部分的repository。
&distributionManagement&
&repository&
&id&releases&/id&
&name&Internal Releases&/name&
&url&http://localhost:8081/nexus/content/repositories/releases&/url&
&/repository&
&snapshotRepository&
&id&Snapshots&/id&
&name&Internal Snapshots&/name&
&url&http://localhost:8081/nexus/content/repositories/snapshots&/url&
&/snapshotRepository&
&/distributionManagement&
这样还没完,这时如果部署会报错,还要在~/.m2/settings.xml中添加如下的服务器登录信息:
&id&releases&/id&
&username&admin&/username&
&password&admin123&/password&
&id&Snapshots&/id&
&username&admin&/username&
&password&admin123&/password&
部署第三方构件:
构件可能是私有数据库的JDBC驱动如Oracle,或者你依赖于另一个JAR,它既不开源也无法免费获得。在这样的情况下,你就需要手动拿来这些构件然后发布到你自己的仓库中。Nexus提供宿主的&third-party&仓库,就是为了这个目的。
使用以下命令发布该文件至Nexus:
mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14
-Dversion=10.2.0.3.0 -Dpackaging=jar -Dfile=ojdbc.jar
-Durl=http://localhost:8081/nexus/content/repositories/thirdparty
-DrepositoryId=thirdparty
6.Nexus监听端口
默认情况下,Nexus监听端口8081。你可以更改这个端口,通过更改${NEXUS_HOME}/conf/plexus.properties的值,为此,停止Nexus,更改文件中applicationPort的值,然后重启Nexus。
7.Maven Profiles
Maven中的profile是一组可选的配置,可以用来设置或者覆盖配置默认值。有了profile,你就可以为不同的环境定制构建。profile可以在pom.xml中配置,并给定一个id。然后你就可以在运行Maven的时候使用的命令行标记告诉Maven运行特定profile中的目标。以下pom.xml使用production profile覆盖了默认的Compiler插件设置。
&profiles&
&id&production&/id&
&groupId&org.apache.maven.plugins&/groupId&
&artifactId&maven-compiler-plugin&/artifactId&
&configuration&
&debug&false&/debug&
&optimize&true&/optimize&
&/configuration&
&/plugins&
&/profile&
&/profiles&
要使用production profile来运行mvn install,你需要在命令行传入-Pproduction参数。要验证production profile覆盖了默认的Compiler插件配置,可以像这样以开启调试输出(-X) 的方式运行Maven。
如果你开始大量使用Maven profile,你会希望将profile从POM中分离,使用一个单独的文件如profiles.xml。你可以混合使用定义在pom.xml中和外部profiles.xml文件中的profile。只需要将profiles元素放到${basedir}目录下的profiles.xml文件中,然后照常运行Maven就可以。profiles.xml文件的大概内容如下:
&profiles&
&id&development&/id&
&groupId&org.apache.maven.plugins&/groupId&
&artifactId&maven-compiler-plugin&/artifactId&
&configuration&
&debug&true&/debug&
&optimize&false&/optimize&
&/configuration&
&/plugins&
&/profile&
&id&production&/id&
&groupId&org.apache.maven.plugins&/groupId&
&artifactId&maven-compiler-plugin&/artifactId&
&configuration&
&debug&false&/debug&
&optimize&true&/optimize&
&/configuration&
&/plugins&
&/profile&
&/profiles&
settings profile可以应用到所有你使用Maven构建的项目。你可以在两个地方定义settings profile:定义在~/.m2/settings.xml中的用户特定settings profile,或者定义在${M2_HOME}/conf/settings.xml中的全局settings profile。
已发表评论数()
请填写推刊名
描述不能大于100个字符!
权限设置: 公开
仅自己可见
正文不准确
标题不准确
排版有问题
主题不准确
没有分页内容
图片无法显示
视频无法显示
与原文不一致maven 的中央仓库不能使用 - 开源中国社区
当前访客身份:游客 [
当前位置:
默认配置maven的中央仓库地址很慢,大家都是用的哪一个?使用的镜像地址吗?能推荐一个吗?
共有3个答案
<span class="a_vote_num" id="a_vote_num_
以前可以用osc的,现在osc的关了,我都用默认的中央仓库
<span class="a_vote_num" id="a_vote_num_
之前用中央仓库,太慢了,之后本地配置了nexus,之后手动从中央仓库下载了索引文件,除了第一次纠结一下jar的下载,其他时候就还好··
<span class="a_vote_num" id="a_vote_num_
&?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: ${user.home}/.m2/repository
&localRepository&/path/to/local/repo&/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.
&!-- proxy
| Specification for one proxy, to be used in connecting to the network.
&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|&/nonProxyHosts&
&/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.
&!-- 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.
&id&deploymentRepo&/id&
&username&repouser&/username&
&password&repopwd&/password&
&!-- Another sample, using keys to authenticate.
&id&siteServer&/id&
&privateKey&/path/to/private/key&/privateKey&
&passphrase& leave empty if not used.&/passphrase&
&/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.
&!-- 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.
&id&mirrorId&/id&
&mirrorOf&repositoryId&/mirrorOf&
&name&Human Readable Name for this Mirror.&/name&
&url&/repo/path&/url&
&/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.
&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&/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.
&id&env-dev&/id&
&activation&
&property&
&name&target-env&/name&
&value&dev&/value&
&/property&
&/activation&
&properties&
&tomcatPath&/path/to/tomcat/instance&/tomcatPath&
&/properties&
&/profile&
&id&sonatype&/id&
&repositories&
&repository&
&id&sonatype&/id&
&name&oss.sonatype.org&/name&
&url&https://oss.sonatype.org/content/repositories/snapshots/&/url&
&releases&
&enabled&true&/enabled&
&/releases&
&snapshots&
&enabled&true&/enabled&
&/snapshots&
&/repository&
&repository&
&id&nexus&/id&
&name&local private nexus&/name&
&url&http://maven.oschina.net/content/groups/public/&/url&
&releases&
&enabled&true&/enabled&
&/releases&
&snapshots&
&enabled&false&/enabled&
&/snapshots&
&/repository&
&repository&
&id&oschinaMavenThirdparty&/id&
&name&oschinaMavenThirdparty&/name&
&url&http://maven.oschina.net/content/repositories/thirdparty/&/url&
&snapshots&
&enabled&false&/enabled&
&/snapshots&
&/repository&
&/repositories&
&/profile&
&/profiles&
&!-- activeProfiles
| List of profiles that are active for all builds.
&activeProfiles&
&activeProfile&alwaysActiveProfile&/activeProfile&
&activeProfile&anotherAlwaysActiveProfile&/activeProfile&
&activeProfile&sonatype&/activeProfile&
&/activeProfiles&
&activeProfiles&
&activeProfile&sonatype&/activeProfile&
&/activeProfiles&
&/settings&
更多开发者职位上
有什么技术问题吗?
xianwu1...的其它问题
类似的话题

我要回帖

更多关于 maven 仓库 国内 的文章

 

随机推荐