maven配置nexus的本地库
来源:互联网 发布:淘宝店开店流程手机版 编辑:程序博客网 时间:2024/06/05 14:13
默认为C盘下,
1 eclipse应用nexus,此时,需要项目-》右键-》Maven->Select Maven profiles,选择nexus
XX\.m2这添加settings.xml,库存在XX\.m2\repository目录下。
添加服务器
<servers>
<server>
<id>nexus-releases</id>
<username>XXX</username>
<password>XXXXXXXXXX</password>
</server>
.......
</servers>
<profiles>
<profile>
<id>nexus</id>
<repositories>
<repository>
<id>nexus-releases</id>
<url>http://XXXX/nexus/content/groups/public</url>
<releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>Public Repositories</name>
<url>http://XXXX/nexus/content/groups/public</url>
</pluginRepository>
</pluginRepositories>
.....
.....
<profile>
<id>jdk-1.7</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.7</jdk>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
</properties>
</profile>
...
</profiles>
<activeProfiles>
<!-- <activeProfile>nexus</activeProfile> -->
<activeProfile>jdk-1.7</activeProfile>
</activeProfiles>
- maven配置nexus的本地库
- Maven私服--Nexus的本地xml配置
- Maven本地仓库nexus的安装配置
- nexus maven 本地仓库配置
- 持续集成--Maven私有库和本地库的安装与配置 Sonatype Nexus + Maven
- Maven私有库和本地库的安装与配置 Sonatype Nexus + Maven
- Maven私有库和本地库的安装与配置 Sonatype Nexus + Maven
- Maven私有库和本地库的安装与配置 Sonatype Nexus + Maven
- Maven私有库和本地库的安装与配置 Sonatype Nexus + Maven
- Maven 私有库和本地的安装与配置 Sonatype Nexus + Maven
- nexus本地私服对应的maven一些配置问题
- Maven之——Maven 私有库和本地库的安装与配置(Sonatype Nexus + Maven)
- Maven私有库和本地库的安装与配置 Sonatype Nexus
- 配置maven 的nexus参数
- 持续集成篇_04_maven私有库和本地库的安装与配置(sonatype nexus + maven)
- 分布式架构学习之持续集成:010--Maven私有库和本地库的安装与配置(Sonatype Nexus + Maven)
- 配置自己的maven库——nexus
- Maven仓库管理器Nexus的安装配置
- Equal (贪心,思维)
- static map
- C语言如何面向对象?
- NDK开发基本流程
- Tomcat服务器部署应用的三种方式
- maven配置nexus的本地库
- C# .Net动态调用webService (转载)
- 2016,Everything Say GoodBye
- spring-boot配置文件-cache(中文翻译)
- String类的使用
- 数据库基础知识点一:Oracle入门,数据库基本操作,函数
- 代码规范的重要性
- Android集成FaceBook登入《-》
- php获取之前五天的工作日