-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependencies inside of the JAR file #98
Comments
All messages about duplication in my app (I cut duplicated from long lists as google.guava):
|
@hasys thank you for your interest ! Processor is a shaded module and it contains all deps it needs, some of them could be presented in your application, but shading is nessesary for j2cl-m-p. As for backend/frontend, yes, they contain classes with the same names, but for different envs. Maybe it could be replaced with ServiceLoader, i need to think about it. For now, the best option is to exclude mapper deps from your maven-enforcer-plugin at , if i remember correctly. |
Compilation in my application failing due to duplicate classes including duplication inside of the mapper-xml dependencies as well, for an instance:
Looks like it is not possible to exclude duplicated dependencies because dependencies are included in the JAR files itself:
![image](https://user-images.githubusercontent.com/1477262/134504812-c995d6f0-367d-4378-8b83-6cdb31d9bee1.png)
Some modules have classes with same name:
I can use
-Denforcer.skip=true
due to work, but issues should be fixed before push to production.Is it possible to split dependencies from JAR files and have different names/packages for classes in different mapper-xml modules or it is some design requirement?
Thank you @treblereel!
The text was updated successfully, but these errors were encountered: