Failure to find com.amazonaws:aws-java-sdk-s3:jar:1.11.+

Hi

Maven is throwing me a failure to find an aws s3 dependency now when I upgraded to Stardog 5.3.0.

Error message:

[WARNING] The POM for com.amazonaws:aws-java-sdk-s3:jar:1.11.+ is missing, no dependency information available
...
[ERROR] Failed to execute goal on project virksomhet-vocabulary: Could not resolve dependencies for project no.difi.einnsyn:virksomhet-vocabulary:jar:1.0-SNAPSHOT: Failure to find com.amazonaws:aws-java-sdk-s3:jar:1.11.+ in https://repo.spring.io/libs-release was cached in the local repository, resolution will not be reattempted until the update interval of spring-releases has elapsed or updates are forced -> [Help 1]

If I hard code in the dependecy like this, it works:

        <dependency>
            <groupId>com.amazonaws</groupId>
            <artifactId>aws-java-sdk-s3</artifactId>
            <version>1.11.336</version>
        </dependency>
$ mvn -v
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: /usr/local/Cellar/maven/3.5.0/libexec
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.4", arch: "x86_64", family: "mac"

Cheers,
Håvard

Hi Håvard,

This bug has been reported to us a few times and has been fixed for the 5.3.1 release. Hard-coding the dependency is the only workaround other than using Gradle instead of Maven, but that will only be necessary until 5.3.1.

1 Like