aws-maven icon indicating copy to clipboard operation
aws-maven copied to clipboard

Depend only on required parts of AWS SDK

Open lewisd32 opened this issue 8 years ago • 5 comments

This project depends on the entire AWS SDK: https://github.com/Yleisradio/aws-maven/blob/master/pom.xml#L43-L44 It's been modularized (I'm not sure which version that started, but probably between the version in the spring-projects/aws-maven and this one) so you can depend only on the part you need. Depending on the aws-java-sdk meta-package results in downloading a LOT of jars that presumably aws-maven doesn't actually need.

That dependency can be replaced by the dependencies within aws-java-sdk that are required by aws-maven, and it shouldn't affect functionality. ;)

(Thanks for the fork, by the way. I need the support for credentials from instance-profiles, and sts credentials.)

lewisd32 avatar Nov 16 '16 17:11 lewisd32

Thanks. We have just been lazy and not doing that earlier .-) Will put on todo-list.

huima avatar Nov 16 '16 17:11 huima

I'll submit a PR if I get a chance to try this before you. :)

lewisd32 avatar Nov 29 '16 22:11 lewisd32

Finally started to work on this. Will publish new versions soon.

huima avatar Apr 04 '17 13:04 huima

Did this already, not pushed into github yet. Problem is leiningen dependency to older jackson currently. Untill new release is done, current version is better to be used by clojure coders. https://github.com/technomancy/leiningen/issues/2215

huima avatar Apr 04 '17 19:04 huima

This is done and released with 1.4.1. For leiningen use, still need to wait next release https://github.com/technomancy/leiningen/issues/2269

huima avatar Apr 25 '17 14:04 huima