Closed tsweets closed 9 years ago
It works fine for me and, more importantly, on the CI server. It looks like you're trying to compile against and older snapshot that doesn't contain this commit.
Doesn't look like the repo has the latest code https://repo.spring.io/snapshot/org/springframework/restdocs/spring-restdocs-core/0.1.0.BUILD-SNAPSHOT/
Last version is from 1/8 which is before your commit. That's why the compile is failing on my side, its grabbing an older restdocs-core.
--Tony
Looks like Artifactory's in a mess. The new code was there, but it's failing to increment the snapshot properly as part of the deploy so the old code's preferred over the new. I've deleted the snapshots and associated Maven metadata in the hope that a clean slate will sort things out.
I get this error when trying to compile the samples. You probably forgot to check something into github Happens with maven and gradle.
[ERROR] /home/tsweets/projects/spring-restdocs/rest-notes-spring-data-rest/src/test/java/com/example/notes/ApiDocumentation.java:[98,81] incompatible types: org.springframework.restdocs.core.LinkDescriptor cannot be converted to org.springframework.restdocs.core.LinkExtractor
Environment Arch Linux Oracle Java 1.8