add
This commit is contained in:
@@ -10,6 +10,7 @@ description: 在`mis-agent`模块编写代码必备技能。
|
||||
- [代码书写规范](./references/coding-rules.md)
|
||||
- [HTTP接口文档示例](./examples/api-doc.md)
|
||||
- [如何从nacos读取配置项](./references/nacos.md)
|
||||
- [如何打包](./references/mvn.md)
|
||||
|
||||
## 约定
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# Intro
|
||||
|
||||
系统已安装`mvnd`用来替换`mvn`命令。`{env}`取决于环境,源自**pom.xml**里面的**<profiles>**。
|
||||
|
||||
## 全局打包
|
||||
```bash
|
||||
mvnd clean package -DskipTests -P{env}
|
||||
```
|
||||
|
||||
## 单个模块打包
|
||||
|
||||
变量`{module_name}`需要替换成目标模块名称。
|
||||
|
||||
```bash
|
||||
mvnd clean package -DskipTests -P{env} -pl {module_name} -am
|
||||
```
|
||||
Reference in New Issue
Block a user