diff --git a/README.md b/README.md
index a89f2c09..b08fab2c 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,45 @@ The Spring Shell project provides an extensible interactive shell enviornment wi
This is essentially a place holder README file until this project gets its sealegs.
+
+* Maven:
+
+~~~~~ xml
+
+ org.springframework.shell
+ spring-shell
+ ${version}
+
+
+
+
+ spring-maven-snapshot
+ true
+ Springframework Maven SNAPSHOT Repository
+ http://maven.springframework.org/snapshot
+
+
+
+
+ spring-maven-milestone
+ Springframework Maven Milestone Repository
+ http://maven.springframework.org/milestone
+
+~~~~~
+
+* Gradle:
+
+~~~~~ groovy
+repositories {
+ mavenRepo name: "spring-snapshot", urls: "http://maven.springframework.org/snapshot"
+}
+
+dependencies {
+ compile "org.springframework.shell:spring-shell:${version}"
+}
+~~~~~
+current version is 1.0.0.SNAPSHOT
+
# Building
Spring Shell currently uses Maven as its build system. The build been done using version 3.0.3 (r1075438; 2011-02-28 12:31:09-0500) and the plan is to switch to gradle.
@@ -13,9 +52,8 @@ To build Spring Shell, run
# Running Example
cd samples/helloworld
- mvn validate
mvn package
- java -jar target/helloworld-1.0.0-SNAPSHOT.jar
+ java -jar target/helloworld-1.0.0.SNAPSHOT.jar
# Contributing
diff --git a/build.gradle b/build.gradle
index 891c7fd9..19fbfc37 100644
--- a/build.gradle
+++ b/build.gradle
@@ -76,6 +76,7 @@ dependencies {
testCompile "org.mockito:mockito-core:$mockitoVersion"
testCompile "org.springframework:spring-test:$springVersion"
testCompile("javax.annotation:jsr250-api:1.0") { optional = true }
+ testRuntime "org.codehaus.groovy:groovy:$groovyVersion"
}
diff --git a/gradle.properties b/gradle.properties
index cdf3bc6d..61e1fa0c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -16,6 +16,8 @@ jansiVersion=1.6
junitVersion = 4.7
mockitoVersion = 1.8.5
+groovyVersion = 1.8.5
+
# Manifest properties
## OSGi ranges
@@ -30,4 +32,4 @@ thrift.range = "[0.7, 0.8)"
# --------------------
# Project wide version
# --------------------
-springShellVersion=1.0.0-SNAPSHOT
\ No newline at end of file
+springShellVersion=1.0.0.SNAPSHOT
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 85fd6cd6..72a9f397 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
4.0.0
org.springframework.shell
spring-shell
- 1.0.0-SNAPSHOT
+ 1.0.0.SNAPSHOT
jar
Spring Shell
http://www.springframework.org
diff --git a/samples/helloworld/gradle.properties b/samples/helloworld/gradle.properties
index b373393d..60ddbd0e 100644
--- a/samples/helloworld/gradle.properties
+++ b/samples/helloworld/gradle.properties
@@ -1,2 +1,2 @@
springVersion = 3.1.1.RELEASE
-springShellVersion=1.0.0-SNAPSHOT
\ No newline at end of file
+springShellVersion=1.0.0.SNAPSHOT
\ No newline at end of file
diff --git a/samples/helloworld/pom.xml b/samples/helloworld/pom.xml
index 5a71630d..ca0b4d25 100644
--- a/samples/helloworld/pom.xml
+++ b/samples/helloworld/pom.xml
@@ -4,25 +4,25 @@
org.springframework.shell.samples
helloworld
- 1.0.0-SNAPSHOT
+ 1.0.0.SNAPSHOT
jar
helloworld
http://maven.apache.org
- 1.0.0-SNAPSHOT
+ 1.0.0.SNAPSHOT
org.springframework.shell.Bootstrap
-
+
-
+
org.springframework.shell
spring-shell
${spring.shell.version}
-
-
+
+
@@ -69,71 +69,32 @@
-
- org.apache.maven.plugins
- maven-install-plugin
-
-
- install-spring-shell-core
- validate
-
- install-file
-
-
- lib/spring-shell-1.0.0-SNAPSHOT.jar
- org.springframework.shell
- spring-shell
- ${spring.shell.version}
- jar
- true
-
-
-
-
-
-
-
-
- org.eclipse.m2e
- lifecycle-mapping
- 1.0.0
-
-
-
-
-
-
- org.apache.maven.plugins
-
-
- maven-install-plugin
-
-
- [2.3.1,)
-
-
- install-file
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
spring-roo-repository
Spring Roo Maven Repository
http://spring-roo-repository.springsource.org/release
+
+
+ spring-maven-snapshot
+
+ true
+
+ Springframework Maven SNAPSHOT Repository
+ http://maven.springframework.org/snapshot
+
+
+
+ spring-maven-milestone
+ Springframework Maven Milestone Repository
+ http://maven.springframework.org/milestone
+
diff --git a/samples/helloworld/readme.txt b/samples/helloworld/readme.txt
index de2f24fd..08d0da1a 100644
--- a/samples/helloworld/readme.txt
+++ b/samples/helloworld/readme.txt
@@ -1,20 +1,12 @@
Maven:
1.Build the project
- $>mvn validate
$>mvn package
2.run spring shell
- $>java -jar target/helloworld-1.0.0-SNAPSHOT.jar
+ $>java -jar target/helloworld-1.0.0.SNAPSHOT.jar
-
-
-
-
-
-
-
-
+
Gradle: