1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-07-28 12:32:15 +08:00

Updated 春松客服:开发环境 (markdown)

Samurais 2018-11-13 13:13:59 +08:00
parent 8d23bd78c9
commit ad5a0493a9

@ -38,27 +38,29 @@
## 修改maven2配置 ## 修改maven2配置
增加Chatopera的Maven2开放库信息 确保在pom.xml中存在如下的maven库
打开Maven的配置文件默认位置为当前用户home目录的.m2文件夹下的settings.xml 在```<repositories><repository>```内存在:
```
$USER/.m2/settings.xml
```
在```<profiles><repositories>```内增加
``` ```
<repositories>
<repository> <repository>
<id>public</id> <id>chatopera</id>
<url>https://nexus.chatopera.com/repository/maven-public</url> <name>Chatopera Inc.</name>
<releases><enabled>true</enabled></releases> <url>https://nexus.chatopera.com/repository/maven-public</url>
<snapshots><enabled>true</enabled></snapshots> <releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository> </repository>
</repositories>
``` ```
配置文件的示例见 [settings.xml](https://github.com/chatopera/cosin/blob/develop/contact-center/_m2/settings.xml)。 配置文件的示例见 [pom.xml](https://github.com/chatopera/cosin/blob/develop/contact-center/app/pom.xml)。
如配置后不能下载,请参考[配置文件](https://github.com/chatopera/cosin/issues/137)。
## 下载代码 ## 下载代码