maven - DynamoDBLocal in sbt dependencies -


i've added "com.amazonaws" % "dynamodb-titan100-storage-backend" % "1.0.0" dependencies , build broke because of com.amazonaws#dynamodblocal;[1.10.5.1, 2.0.0): not found. i've fixed adding mavenlocal resolver(i have built dynamodb-titan100-storage-backend localy earlier) not best solution, think.

dynamodb-titan100-storage-backend has additional repository called "aws dynamodb local release repository" in pom.xml pointing http://dynamodb-local.s3-website-us-west-2.amazonaws.com/release adding sbt resolver doesn't fix problem.

my question is: why repostiry works maven not sbt?

link pom.xml

part of sbt log:

[info] resolving com.amazonaws#dynamodblocal;[1.10.5.1, 2.0.0) ... [warn]  module not found: com.amazonaws#dynamodblocal;[1.10.5.1, 2.0.0) [warn] ==== local: tried [warn]   /home/wpitula/.ivy2/local/com.amazonaws/dynamodblocal/[revision]/ivys/ivy.xml [warn] ==== fedora: tried [warn]   file:/usr/share/sbt/ivy-local/com.amazonaws/dynamodblocal/[revision]/ivy.xml [warn] ==== public: tried [warn]   https://repo1.maven.org/maven2/com/amazonaws/dynamodblocal/[revision]/dynamodblocal-[revision].pom [warn] ==== sonatype-snapshots: tried [warn]   https://oss.sonatype.org/content/repositories/snapshots/com/amazonaws/dynamodblocal/[revision]/dynamodblocal-[revision].pom [warn] ==== dynamodblocal: tried [warn]   http://dynamodb-local.s3-website-us-west-2.amazonaws.com/release/com/amazonaws/dynamodblocal/[revision]/dynamodblocal-[revision].pom [info] resolving jline#jline;2.12.1 ... [warn]  :::::::::::::::::::::::::::::::::::::::::::::: [warn]  ::          unresolved dependencies         :: [warn]  :::::::::::::::::::::::::::::::::::::::::::::: [warn]  :: com.amazonaws#dynamodblocal;[1.10.5.1, 2.0.0): not found [warn]  :::::::::::::::::::::::::::::::::::::::::::::: 

the problem in wrong type of sbt resolver. should use maven-repository resolver this:

resolvers += "dynamodblocal" @ "https://s3-us-west-2.amazonaws.com/dynamodb-local/release" 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -