spring-attic/scripts

Could not build https://github.com/spring-cloud-samples/customers-stores/tree/master/rest-microservices-store

Closed this issue · 1 comments

failure:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project rest-microservices-store: Compilation failure
[ERROR] /Users/madviillain/Desktop/scripts/customers-stores/rest-microservices-store/src/test/java/example/stores/TestStoreApp.java:[28,21] cannot access feign.Feign
[ERROR] class file for feign.Feign not found
[ERROR] -> [Help 1]
[ERROR]

Fix is to add feign-core dependency with scope test (note that code don't even compile right now)

        <dependency>
            <groupId>com.netflix.feign</groupId>
            <artifactId>feign-core</artifactId>
            <version>6.1.2</version>
            <scope>test</scope>
        </dependency>