Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tobato committed Mar 21, 2018
1 parent c58ee01 commit 58423e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src/doc/01_Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
### 3.正式发布提交

mvn release:perform -P release

### 4.中央仓库地址

构件发布地址 https://oss.sonatype.org/

### 5.发布问题处理

* 如果需要跳过单元测试,可以加入参数 -Darguments="-DskipTests"
* 在执行mvn release:perform时默认会生成api文档,如果默写注释不符合规范的话会造成构建失败,可以加参数-DuseReleaseProfile=false取消构建api文档

mvn release:prepare -Darguments="-DskipTests"
mvn release:perform -DuseReleaseProfile=false

## 参考资料

Expand Down
2 changes: 1 addition & 1 deletion tools/release-to-Center-skipTest.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
echo [INFO] build and install modules.
cd ..\
call mvn clean deploy -P release -Dmaven.test.skip=true
call mvn clean deploy -P release -Dmaven.test.skip=true
pause

0 comments on commit 58423e1

Please sign in to comment.