Comments (3)
Good question... I hadn't realised that the dependency was pulling in all those extra libs.
I just had a look into this and I think that the dependency may be able to be modified to "aws-java-sdk-dynamodb" from the "aws-java-sdk" dependency as it is now.
The code compiles with this change, the tests pass, but I'm not in the position to try this out against a real dynamodb instance as I write this - perhaps you might be a position to give it a go and let me know if it works?
Thanks for raising this - will make dependency management much easier if this can be done.
Cheers,
Michael
from spring-data-dynamodb.
I have made the same change to a completely different codebase before and had no problems with a real database or a DynamoDB Local instance (via jcabi plugin). The AWS libraries are packaged correctly with all required dependencies as far as I can tell.
I don't suggest skipping the testing step, but I believe the change will work without issue.
from spring-data-dynamodb.
Also tested here with dedicated excludes
in my pom.xml
. Seems to work for our code paths.
from spring-data-dynamodb.
Related Issues (20)
- java.lang.ClassNotFoundException: org.springframework.data.repository.core.support.ReflectionEntityInformation HOT 1
- Confusion surrounding the 3 major forks. Turn Repo into an Organization? HOT 2
- Not compatible with Spring Boot 1.3 HOT 3
- spring-data-dynamodb:1.0.2.RELEASE does not work with spring boot 1.3.0.RELEASE. HOT 7
- the error ??? HOT 8
- DynamoDBRangeKey causes java.lang.IllegalArgumentException: No method or field annotated by @DynamoDBHashKey within type HOT 2
- Dynamically change value of DynamoDBTable HOT 1
- How to use DynamoDBIndexHashKey and filter
- DynamoDBRepositoryConfigExtension.java uses wrong DYNAMO_DB_MAPPER_CONFIG_REF value HOT 4
- Using Marshaller w/ Repository HOT 4
- How we can get maximum ragne key against the pratition key
- Usage of operators (GE, LE, GT, LT) on Range key HOT 1
- Same field as DynamoDBRangeKey and DynamoIndexDBRangeKey is causing issue
- Querying on Complex Object Attributes HOT 3
- http://repo.opensourceagility.com/release/ can't be reached HOT 1
- Table name prefix solution in spring-data-dynamodb HOT 1
- Jpa Hitting performance impact it internally uses scan operation HOT 1
- Apply pagination with a filter field HOT 1
- Could not resolve matching constructor HOT 3
- ProvisionedThroughputExceededException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-dynamodb.