svn pom文件基础设置
2013-05-31 10:56
148 查看
1. pom外网设置
2. pom内网设置
<!--settings> <profiles> <profile> <id>dev</id> <repositories> <repository> <id>local-nexus</id> <url>http://172.16.0.140:8085/nexus/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> </profile> </profiles> <activeProfiles> <activeProfile>dev</activeProfile> </activeProfiles> </settings--> <settings> <profiles> <profile> <id>Snapshots</id> <repositories> <repository> <id>Maven Snapshots</id> <url>http://snapshots.maven.codehaus.org/maven2/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </repository> <repository> <id>java</id> <name>java official repository</name> <url>http://download.java.net/maven/2/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>Maven Snapshots</id> <url>http://snapshots.maven.codehaus.org/maven2/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>Snapshots</activeProfile> </activeProfiles> </settings>
2. pom内网设置
<settings> <mirrors> <mirror> <id>megait</id> <name>megait's maven mirror of central</name> <url>http://222.68.19.115:8003/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> </settings>
相关文章推荐
- Spring Boot 推荐的基础 POM 文件
- idea:设置SVN忽略文件和文件夹
- [Unity基础]导入贴图、模型等资源文件时自动设置参数
- eclipse使用svn插件设置忽略文件的几种方式
- Java-基础 文件操作IO 设置文件权限为只读
- 设置SVN忽略文件和文件夹(文件夹)
- 关于pom文件中Tomcat插件的设置
- eclipse中svn项目文件显示修改人修改日期设置
- Maven War包 POM配置文件 设置最佳实践
- svn 设置文件可执行权限
- Python基础学习:svn导出差异文件脚本
- 在apache中设置禁止在浏览器中访问.svn版本库目录中的文件
- svn提交设置忽略的文件
- Spring Boot 推荐的基础 POM 文件
- svn设置提交忽略某些文件或文件夹
- Eclipse 设置SVN忽略文件
- Eclipse设置svn忽略文件或文件夹(svn:ignore)
- 设置SVN,Git忽略MAC的.DS_Store文件的方法
- Spring Boot教程(二)--- 推荐的基础 POM 文件和自动配置
- Maven项目pom文件设置JDK版本