Make fat jar from the project with fat jar itself, using sbt assembly

Chris Kong

I am using sbt-assembly to make my scala project into a fat jar.

This project is using play-json, and AWS SDK.

In the meantime, it is also using DynamoDB Transaction Lib as a fat jar, which is using Jackson and AWS SDK of another version.

When I used sbt assembly to make jar, error came out because of same path of libs between jackson, joda-date and other dependence shared by the AWS SDKs that I used and the ones used by DynamoDB Transaction Lib.

Due to DynamoDB Transaction Lib its own issue, I must use these two versions of both jackson and AWS SDK.

Is there any way to solve it by using merge strategy?

THX in advance!

Eugene Yokota

A fat jar is for deployment only. Using it as a library is a really bad idea.

Due to DynamoDB Transaction Lib its own issue, I must use these two versions of both jackson and AWS SDK.

Are you saying you need to use two different versions of jackson simultaneously? I don't think sbt-assembly can help you with that. Merge strategy can pick one of them.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Make fat jar from the project with fat jar itself, using sbt assembly

From Dev

OutofMemoryErrory creating fat jar with sbt assembly

From Dev

Proper way to make a Spark Fat Jar using SBT

From Dev

How to make a "fat jar" of a Maven project?

From Dev

How to make a "fat jar" of a Maven project?

From Dev

Publishing my FAT Jar to local sbt repo

From Dev

How do I publish a fat JAR (JAR with dependencies) using sbt and sbt-release?

From Dev

How can I add unmanaged JARs in sbt-assembly to the final fat JAR?

From Java

How to build an Uber JAR (Fat JAR) using SBT within IntelliJ IDEA?

From Dev

Using maven assembly plugin to create ZIP file containing a fat jar (jar-with-dependencies)

From Java

What is a fat JAR?

From Dev

Deploy WAR or "fat" JAR?

From Dev

Renaming a fat jar with Maven

From Dev

Using resource in kotlin func - does not work with fat jar (one jar)

From Dev

How to add local jar to fat jar as a dependency using maven?

From Dev

Excluding aggregating project from SBT jar assembly production

From Dev

Make NON-FAT jar in Gradle on-demand

From Dev

How to make fat-jar with Embedded EJB container

From Dev

Creating a fat jar for Dropwizard application

From Dev

How to deal with fat jar dependency

From Dev

Fat jar is missing with junit dependency

From Dev

Dynamic load of fat jar's

From Dev

Deploying spring boot fat jar

From Dev

Optional jar inclusion in fat jar in maven plugin

From Dev

override config settings when using a fat jar for spark on EMR

From Dev

override config settings when using a fat jar for spark on EMR

From Dev

SBT assembly jar exclusion

From Dev

Multiple executable jar files with different external dependencies from a single project with sbt-assembly

From Java

Gradle fat jar does not contain libraries

Related Related

  1. 1

    Make fat jar from the project with fat jar itself, using sbt assembly

  2. 2

    OutofMemoryErrory creating fat jar with sbt assembly

  3. 3

    Proper way to make a Spark Fat Jar using SBT

  4. 4

    How to make a "fat jar" of a Maven project?

  5. 5

    How to make a "fat jar" of a Maven project?

  6. 6

    Publishing my FAT Jar to local sbt repo

  7. 7

    How do I publish a fat JAR (JAR with dependencies) using sbt and sbt-release?

  8. 8

    How can I add unmanaged JARs in sbt-assembly to the final fat JAR?

  9. 9

    How to build an Uber JAR (Fat JAR) using SBT within IntelliJ IDEA?

  10. 10

    Using maven assembly plugin to create ZIP file containing a fat jar (jar-with-dependencies)

  11. 11

    What is a fat JAR?

  12. 12

    Deploy WAR or "fat" JAR?

  13. 13

    Renaming a fat jar with Maven

  14. 14

    Using resource in kotlin func - does not work with fat jar (one jar)

  15. 15

    How to add local jar to fat jar as a dependency using maven?

  16. 16

    Excluding aggregating project from SBT jar assembly production

  17. 17

    Make NON-FAT jar in Gradle on-demand

  18. 18

    How to make fat-jar with Embedded EJB container

  19. 19

    Creating a fat jar for Dropwizard application

  20. 20

    How to deal with fat jar dependency

  21. 21

    Fat jar is missing with junit dependency

  22. 22

    Dynamic load of fat jar's

  23. 23

    Deploying spring boot fat jar

  24. 24

    Optional jar inclusion in fat jar in maven plugin

  25. 25

    override config settings when using a fat jar for spark on EMR

  26. 26

    override config settings when using a fat jar for spark on EMR

  27. 27

    SBT assembly jar exclusion

  28. 28

    Multiple executable jar files with different external dependencies from a single project with sbt-assembly

  29. 29

    Gradle fat jar does not contain libraries

HotTag

Archive