Commit 6924e50bd607b2855131a95ba82371427f1a9d3e
1 parent
d1a26587
修改版本号定义。
备注: SNAPSHOT——每次项目打包,都会从私服中,拉去最新的jar包。 Release————每次项目打包,会先检索本地的仓库,如果有,则不更新。风险,一旦某个依赖包有更新功能,就必须先更新依赖包,否则没办法正常使用
Showing
1 changed file
with
4 additions
and
4 deletions
pom.xml
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | |
| 5 | 5 | <groupId>com.ylp.common</groupId> |
| 6 | 6 | <artifactId>ylp-common-parent</artifactId> |
| 7 | - <version>2.0.0-Release</version> | |
| 7 | + <version>2.0.0-SNAPSHOT</version> | |
| 8 | 8 | <packaging>pom</packaging> |
| 9 | 9 | |
| 10 | 10 | <name>ylp-common-parent</name> |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | <properties> |
| 14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | - <ylp.common.version>2.0.0-Release</ylp.common.version> | |
| 15 | + <ylp.common.version>2.0.0-SP4-SNAPSHOT</ylp.common.version> | |
| 16 | 16 | </properties> |
| 17 | 17 | |
| 18 | 18 | <!-- 全局属性配置 --> |
| ... | ... | @@ -49,7 +49,7 @@ |
| 49 | 49 | <properties> |
| 50 | 50 | <!-- 部署环境(对应配置文件版本) --> |
| 51 | 51 | <env>qa</env> |
| 52 | - <ver>2.0.0-Release</ver> | |
| 52 | + <ver>2.0.0-SNAPSHOT</ver> | |
| 53 | 53 | </properties> |
| 54 | 54 | </profile> |
| 55 | 55 | |
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | <properties> |
| 60 | 60 | <!-- 部署环境(对应配置文件版本) --> |
| 61 | 61 | <env>prod</env> |
| 62 | - <ver>2.0.0-Release</ver> | |
| 62 | + <ver>2.0.0-SNAPSHOT</ver> | |
| 63 | 63 | </properties> |
| 64 | 64 | </profile> |
| 65 | 65 | ... | ... |