Code Monkey home page Code Monkey logo

Comments (5)

ibaca avatar ibaca commented on May 26, 2024

Ups! hehe we (both projects) really need to shade this dependency (as auto-common suggest) hehe 👍 we'll fix it in the next release in both projects.

from elemento.

hpehl avatar hpehl commented on May 26, 2024

It's already shaded in Elemento. I'll leave this open as a reminder and will close it once intendia-oss/autorest#5 has been fixed.

from elemento.

ibaca avatar ibaca commented on May 26, 2024

Uhm, but you applied the shade plugin 4month ago, then... what is this conflict? should be something wrong. Maybe the final pom still includes the dependency? shaded dependencies should be removed from the pom. Not sure... but something is wrong or the conflict will not appear.

from elemento.

ibaca avatar ibaca commented on May 26, 2024

Ok, I think I have found the problem. You are applying the shade plugin but the plugin by default just copy all your dependencies into the jar to create an uber-jar which is NOT what you want. You have actually partially configured the exclusion (aka. the lib-not-to-be-shaded) but or it is obsolete or it has not been correctly configured to match the group:artifact coordinates of the not-to-be-shaded packages. And finally, which is the actual problem here, it needs to relocate the conflicting packages, in this case, auto-service and auto-common classes. If you do not do that you are just copying the class file in your jar so it ends up conflicting anyway.

AutorREST fix here intendia-oss/autorest@993d9f0.

from elemento.

hpehl avatar hpehl commented on May 26, 2024

Yes that's right, my bad. I'm going to re-configure the shade plugin for Elemento.

from elemento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.