Maven .m2 setting.xml配置
settings.xml
<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"> <servers>
<server>
<id>releases</id>
<username>xiezhenyan</username>
<password>123456</password>
</server>
<server>
<id>snapshots</id>
<username>xiezhenyan</username>
<password>123456</password>
</server>
</servers>
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://192.168.0.180:8081/nexus/content/groups/public</url>
</mirror>
</mirrors> <profiles>
<profile>
<id>downloadSources</id>
<properties>
<downloadSources>true</downloadSources>
</properties>
</profile> <profile>
<id>nexus</id>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories> <pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles> <activeProfiles>
<activeProfile>nexus</activeProfile>
<activeProfile>downloadSources</activeProfile>
</activeProfiles> </settings>
欢迎加入,Java,前端的共同学习【爱问共享编程部落】 479668591
Maven .m2 setting.xml配置的更多相关文章
- Maven学习笔记—私服(包含maven的setting.xml配置)
		
为什么要用远程仓库(私服) 如果没有私服,我们所需的所有构件都需要通过maven的中央仓库和第三方的maven仓库下载到本地,而一个团队中的所有人都重复的从maven仓库下载构件,这样就加大了中央仓库 ...
 - Maven系列--setting.xml 配置详解
		
文件存放位置 全局配置: ${M2_HOME}/conf/settings.xml 用户配置: ${user.home}/.m2/settings.xml note:用户配置优先于全局配置.${use ...
 - Maven之setting.xml 配置详解
		
文件存放位置 全局配置: ${M2_HOME}/conf/settings.xml 用户配置: ${user.home}/.m2/settings.xml note:用户配置优先于全局配置.${use ...
 - Maven中setting.xml 配置详解
		
文件存放位置 全局配置: ${M2_HOME}/conf/settings.xml 用户配置: ${user.home}/.m2/settings.xml note:用户配置优先于全局配置.${use ...
 - maven 本地setting.xml配置
		
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://mav ...
 - maven+nexus setting.xml配置(收藏)
		
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://mav ...
 - Maven中setting.xml配置Demo
		
<!-- 指定本地默认仓库 --> <localRepository>G:\Java\apache-maven-3.5.2\repository</localReposi ...
 - Maven出现User setting file does not exist ...\.m2\setting.xml的问题解决(同时也解决用户.m2目录下无setting.xml文件)
		
如果Eclipse中出现User setting file does not exist ...\.m2\setting.xml这样的问题,解决方法如下: 1.拷贝%M2_HOME%/conf/set ...
 - idea中 maven打包时时报错User setting file does not exist C:\Users\lenevo\.m2\setting.xml,
		
第一种错误 :idea中 maven打包时时报错User setting file does not exist C:\Users\lenevo\.m2\setting.xml, 解决方案如下:将ma ...
 
随机推荐
- 自适应网页设计(Responsive Web Design)(转)
			
作者: 阮一峰 出处:http://www.ruanyifeng.com/blog/2012/05/responsive_web_design.html 随着3G的普及,越来越多的人使用手机上网. 移 ...
 - js过滤空格
			
点击查看效果 点击进入下载 <html> <head> <title> 过滤空格 </title> <SCRIPT LANGUAGE=" ...
 - CentOS6.7 常用操作命令
			
centos 安装py环境 1.安装wget工具: yum install wget 2.安装Python-2.7.8: wget --no-check-certificate https://www ...
 - mybati之#与$的区别
			
$是用于sql的拼接: //因为user_name是String类型,所以在sql中加上单引号,需要手动的判断数据类型,value是如果没有指定参数的话,value就是默认参数名称,获取穿的参数就是: ...
 - 黑马程序员——HTML语言
			
------<a href="http://www.itheima.com" target="blank">Java培训.Android培训.iOS ...
 - DropDownList获取的SelectIndex一直为0
			
1.想要DropDownList自动提交必须设置AutoPostBack="true"属性,下面是代码: <asp:DropDownList ID=" AutoPo ...
 - PhoneGap移动开发框架
			
phonegap是一个跨平台的移动app开发框架,可以把html css js写的页面打包成跨平台的可以安装的移动app,并且可以调用原生的几乎所有的功能,比如摄像头,联系人,加速度等 看到一篇 ...
 - PHP学习系列(1)——字符串处理函数(5)
			
31.ord() 函数返回字符串第一个字符的 ASCII 值. 语法:ord(string) 例子 <?php echo ord("h"); echo ord("h ...
 - Java学习笔记--xml构造与解析之Sax的使用
			
汇总:xml的构造与解析 http://www.cnblogs.com/gnivor/p/4624058.html 参考资料:http://www.iteye.com/topic/763895 利用S ...
 - java中setDate(Date date)方法和String与Date之间的转换
			
经常在开发的过程中遇到这样的问题,从数据库中读出来的数据需要转换为对像或者java bean,此时经常使用到setDate(Date date);这样的方法.感觉这是个很简单而又难受的事情,在这里浪费 ...