spring-attic / rest-shell

Command-line shell for interacting with Spring HATEOAS-compliant REST resources
Apache License 2.0
455 stars 100 forks source link

compile failing on missing spring-shell-1.0.1.BUILD.SNAPSHOT in repo #20

Open parikhkc opened 11 years ago

parikhkc commented 11 years ago

I had to update springShellVersion = "1.0.0.RELEASE"

kparikh-mbpro:rest-shell kparikh$ ./gradlew --info installApp Starting Build Settings evaluated using empty settings script. Projects loaded. Root project using build file '/Users/kparikh/git/rest-shell/build.gradle'. Included projects: [root project 'rest-shell'] Evaluating root project 'rest-shell' using build file '/Users/kparikh/git/rest-shell/build.gradle'. All projects evaluated. Selected primary task 'installApp' Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':startScripts', task ':installApp'] :compileJava Resource missing. [HTTP GET: http://repo.springsource.org/libs-release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: http://repo.springsource.org/libs-release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/spring-shell-1.0.1.BUILD-SNAPSHOT.pom] Resource missing. [HTTP GET: http://repo.springsource.org/libs-release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP HEAD: http://repo.springsource.org/libs-release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/spring-shell-1.0.1.BUILD-SNAPSHOT.jar] Resource missing. [HTTP GET: http://spring-roo-repository.springsource.org/release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP GET: http://spring-roo-repository.springsource.org/release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/spring-shell-1.0.1.BUILD-SNAPSHOT.pom] Resource missing. [HTTP GET: http://spring-roo-repository.springsource.org/release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/maven-metadata.xml] Resource missing. [HTTP HEAD: http://spring-roo-repository.springsource.org/release/org/springframework/shell/spring-shell/1.0.1.BUILD-SNAPSHOT/spring-shell-1.0.1.BUILD-SNAPSHOT.jar] :: loading settings :: url = jar:file:/Users/kparikh/.gradle/wrapper/dists/gradle-1.3-bin/6duudkdtsf89ftu9dh8bpgenv0/gradle-1.3/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 5.21 secs

jbrisbin commented 11 years ago

Until the 1.0.1 release of spring-shell, the rest-shell depends on some code that I added that is in my fork of spring-shell. You must compile and install this fork locally and then build the rest-shell. Using 1.0.0 of spring-shell won't work with the current rest-shell code in master as it doesn't load the commands properly.

I hope to have these changes incorporated into a release build of spring-shell at some point.

markpollack commented 11 years ago

I'll get on that this week. M

Sent from my iPhone

On Dec 18, 2012, at 8:06 AM, Jon Brisbin notifications@github.com wrote:

Until the 1.0.1 release of spring-shell, the rest-shell depends on some code that I added that is in my fork of spring-shell. You must compile and install this fork locally and then build the rest-shell. Using 1.0.0 of spring-shell won't work with the current rest-shell code in master as it doesn't load the commands properly.

I hope to have these changes incorporated into a release build of spring-shell at some point.

— Reply to this email directly or view it on GitHub.

ShawnButtrick commented 11 years ago

Had a similar problem as ParikhKC, "Could not resolve all dependencies.......... Could not find group:org.springframework.shell, module:spring-shell, version:1.0.1.BUILD-SNAPSHOT"

Resolved that by UNcommenting the "libs-snapshot" repo in the "build.gradle" file.

scphantm commented 11 years ago

9 months later and this is still an issue. I just tried to compile and got the same error.

JavaChilly commented 11 years ago

Confirming that uncommenting the libs-snapshot line in build.gradle lets it build successfully

jar349 commented 10 years ago

Confirming that this is still an issue and that @JavaChilly 's workaround still works.