diff --git a/pom.xml b/pom.xml index 8031d864..85fd6cd6 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0 org.springframework.shell - core + spring-shell 1.0.0-SNAPSHOT jar Spring Shell @@ -14,12 +14,13 @@ This project is a minimal jar utility with Spring configuration. ]]> - + - org.springframework.shell.Bootstrap + org.springframework.shell.Bootstrap true 3.1.1.RELEASE - + + junit junit @@ -38,8 +39,7 @@ ${spring.framework.version} - + cglib cglib @@ -50,30 +50,30 @@ log4j 1.2.14 - + - commons-io - commons-io - 1.4 - - - - - net.sourceforge.jline - jline - 1.0.S2-B - - - org.fusesource.jansi - jansi - 1.6 - - - org.mockito - mockito-all - 1.8.5 - test - + commons-io + commons-io + 1.4 + + + + + net.sourceforge.jline + jline + 1.0.S2-B + + + org.fusesource.jansi + jansi + 1.6 + + + org.mockito + mockito-all + 1.8.5 + test + @@ -86,54 +86,49 @@ 1.5 - - org.apache.maven.plugins - maven-shade-plugin - - - package - - shade - - - - - *:* - - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - - - - - - ${jar.mainclass} - - - - - - - + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + ${jar.mainclass} + + + + + + + - + - + - spring-roo-repository - Spring Roo Maven Repository - http://spring-roo-repository.springsource.org/release + spring-roo-repository + Spring Roo Maven Repository + http://spring-roo-repository.springsource.org/release diff --git a/samples/helloworld/build.gradle b/samples/helloworld/build.gradle index ac180071..bf013318 100644 --- a/samples/helloworld/build.gradle +++ b/samples/helloworld/build.gradle @@ -15,7 +15,9 @@ repositories { } dependencies { - compile "org.springframework.shell:core:$springShellVersion" + compile "org.springframework.shell:spring-shell:$springShellVersion" + compile "org.springframework:spring-core:$springVersion" + compile "org.springframework:spring-context-support:$springVersion" } diff --git a/samples/helloworld/gradle.properties b/samples/helloworld/gradle.properties index 5f6a31db..b373393d 100644 --- a/samples/helloworld/gradle.properties +++ b/samples/helloworld/gradle.properties @@ -1 +1,2 @@ +springVersion = 3.1.1.RELEASE springShellVersion=1.0.0-SNAPSHOT \ No newline at end of file diff --git a/samples/helloworld/lib/spring-shell-1.0.0-SNAPSHOT.jar b/samples/helloworld/lib/spring-shell-1.0.0-SNAPSHOT.jar new file mode 100644 index 00000000..34e094d8 Binary files /dev/null and b/samples/helloworld/lib/spring-shell-1.0.0-SNAPSHOT.jar differ diff --git a/samples/helloworld/pom.xml b/samples/helloworld/pom.xml index c8e0a346..2df9160f 100644 --- a/samples/helloworld/pom.xml +++ b/samples/helloworld/pom.xml @@ -11,9 +11,6 @@ http://maven.apache.org - org.springframework.shell.Bootstrap - true - 3.1.1.RELEASE 1.0.0-SNAPSHOT @@ -21,7 +18,7 @@ org.springframework.shell - core + spring-shell ${spring.shell.version} @@ -71,7 +68,63 @@ + + 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 + + + + + + + + + + + + diff --git a/samples/helloworld/readme.txt b/samples/helloworld/readme.txt index 16c9e77c..de2f24fd 100644 --- a/samples/helloworld/readme.txt +++ b/samples/helloworld/readme.txt @@ -1,11 +1,20 @@ Maven: 1.Build the project + $>mvn validate $>mvn package 2.run spring shell $>java -jar target/helloworld-1.0.0-SNAPSHOT.jar + + + + + + + + Gradle: