mirror of
https://github.com/chatopera/cosin.git
synced 2025-07-28 12:32:15 +08:00
Updated 春松客服:开发环境 (markdown)
parent
8d23bd78c9
commit
ad5a0493a9
28
春松客服:开发环境.md
28
春松客服:开发环境.md
@ -38,27 +38,29 @@
|
||||
|
||||
## 修改maven2配置
|
||||
|
||||
增加Chatopera的Maven2开放库信息。
|
||||
确保在pom.xml中存在如下的maven库。
|
||||
|
||||
打开Maven的配置文件,默认位置为当前用户home目录的.m2文件夹下的settings.xml
|
||||
|
||||
```
|
||||
$USER/.m2/settings.xml
|
||||
```
|
||||
|
||||
|
||||
在```<profiles><repositories>```内增加
|
||||
在```<repositories><repository>```内存在:
|
||||
|
||||
```
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>public</id>
|
||||
<id>chatopera</id>
|
||||
<name>Chatopera Inc.</name>
|
||||
<url>https://nexus.chatopera.com/repository/maven-public</url>
|
||||
<releases><enabled>true</enabled></releases>
|
||||
<snapshots><enabled>true</enabled></snapshots>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
</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)。
|
||||
|
||||
## 下载代码
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user