cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "yan_5386@163.com" <yan_5...@163.com>
Subject 快照版本与发布版本的打包方式
Date Tue, 23 Sep 2014 06:04:35 GMT

官方文档对快照版本和发布版本是这样介绍的
Versioning / Releases
Update the version number of the project
mvn release:update-versions -DautoVersionSubmodules=true -Dnoredist -Pdeps,developer -DdevelopmentVersion=<version>-SNAPSHOT
Releases can also be done using the release plugin. This plugin will automagically take care
of setting the currect version (removing the -SNAPSHOT), making a tag in SCM and deploying
the jars to the maven repository. This should only be executed by the release engineer. Maven
assumes that once a version is released it will never change anymore and released binaries
will never be updated, so any subsequent releases will have to bump the version number.


按照官方说法,在代码根目录执行上面的命令,修改-DdevelopmentVersion=4.4.1,这样打包的应该是发布的版本,打包完的RPM包应该就不再包含SNAPSHOT字样,但实际情况是这条命令运行后,打完的包仍然包含SNAPSHOT字样



yan_5386@163.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message