change version schema

This commit is contained in:
Jarred Li
2012-04-11 10:38:10 +08:00
parent 21cb6514bd
commit 725ef2eeac
7 changed files with 12 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ dependencies {
compile "org.springframework.shell:spring-shell:${version}"
}
~~~~~
current version is 1.0.0.SNAPSHOT
current version is 1.0.0.BUILD-SNAPSHOT
# Building
@@ -53,7 +53,7 @@ To build Spring Shell, run
cd samples/helloworld
mvn package
java -jar target/helloworld-1.0.0.SNAPSHOT.jar
java -jar target/helloworld-1.0.0.BUILD.SNAPSHOT.jar
# Contributing

View File

@@ -32,4 +32,4 @@ thrift.range = "[0.7, 0.8)"
# --------------------
# Project wide version
# --------------------
springShellVersion=1.0.0.SNAPSHOT
springShellVersion=1.0.0.BUILD-SNAPSHOT

View File

@@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.shell</groupId>
<artifactId>spring-shell</artifactId>
<version>1.0.0.SNAPSHOT</version>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Spring Shell</name>
<url>http://www.springframework.org</url>

View File

@@ -1,4 +1,5 @@
description = 'Hello World - Spring Shell'
version = "$helloworldVersion"
apply plugin: 'base'
apply plugin: 'java'

View File

@@ -1,2 +1,4 @@
springVersion = 3.1.1.RELEASE
springShellVersion=1.0.0.SNAPSHOT
springShellVersion=1.0.0.BUILD-SNAPSHOT
helloworldVersion=1.0.0.BUILD-SNAPSHOT

View File

@@ -4,14 +4,14 @@
<groupId>org.springframework.shell.samples</groupId>
<artifactId>helloworld</artifactId>
<version>1.0.0.SNAPSHOT</version>
<version>1.0.0.BUILD-SNAPSHOT</version>
<packaging>jar</packaging>
<name>helloworld</name>
<url>http://maven.apache.org</url>
<properties>
<spring.shell.version>1.0.0.SNAPSHOT</spring.shell.version>
<spring.shell.version>1.0.0.BUILD-SNAPSHOT</spring.shell.version>
<jar.mainclass>org.springframework.shell.Bootstrap</jar.mainclass>
</properties>

View File

@@ -4,7 +4,7 @@ Maven:
$>mvn package
2.run spring shell
$>java -jar target/helloworld-1.0.0.SNAPSHOT.jar
$>java -jar target/helloworld-1.0.0.BUILD-SNAPSHOT.jar
@@ -14,4 +14,4 @@ Gradle:
$>../../gradlew build
2.run spring shell
$>java -jar build/libs/helloworld.jar
$>java -jar build/libs/helloworld-1.0.0.BUILD-SNAPSHOT.jar