SHL-75 - Change repository used to pull in custom jline dependency in sample application.

This commit is contained in:
mpollack
2012-11-15 15:46:18 -05:00
parent 1e9cf615a6
commit c00c18c51a
4 changed files with 11 additions and 16 deletions

View File

@@ -5,8 +5,7 @@ apply plugin: 'eclipse'
apply plugin: 'application'
repositories {
maven { url "http://repo.springsource.org/libs-snapshot" }
maven { url "http://spring-roo-repository.springsource.org/release" }
maven { url "http://repo.springsource.org/libs-release" }
}
dependencies {

0
samples/helloworld/gradlew vendored Normal file → Executable file
View File

View File

@@ -4,7 +4,7 @@
<groupId>org.springframework.shell.samples</groupId>
<artifactId>helloworld</artifactId>
<version>1.0.0.RELEASE</version>
<version>1.0.1.RELEASE</version>
<packaging>jar</packaging>
<name>helloworld</name>
@@ -82,14 +82,10 @@
</build>
<repositories>
<repository>
<id>spring-maven-snapshot</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<name>Springframework Maven SNAPSHOT Repository</name>
<url>http://repo.springsource.org/libs-snapshot</url>
</repository>
</repositories>
<repositories>
<repository>
<id>libs-release</id>
<url>http://repo.springsource.org/libs-release/</url>
</repository>
</repositories>
</project>

View File

@@ -4,16 +4,16 @@ Maven 3:
$>mvn package
2.run spring shell
$>java -jar target/helloworld-<version>.jar
$>java -jar target/helloworld-1.0.1.RELEASE.jar
Gradle:
1.Build and install the project
$>gradlew installApp
$>./gradlew installApp
2.run spring shell
$>build/install/helloworld/bin/helloworld
$>./build/install/helloworld/bin/helloworld