Skip to content
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

Custom Converter not found through transitive add-on dependency #314

Open
mariodavid opened this issue Feb 4, 2022 · 0 comments
Open

Custom Converter not found through transitive add-on dependency #314

mariodavid opened this issue Feb 4, 2022 · 0 comments

Comments

@mariodavid
Copy link
Contributor

When creating a custom converter in an addon and have a hierarchy like this:

  1. add-on 1 (with custom converter)
  2. add-on 2 (uses add-on 1; uses custom converter)
  3. app (uses add-on 2; uses custom converter implicitly through add-on 1, not explicitly!)

Doing a ./gradlew compileJava in the app results in:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> javassist.NotFoundException: de.diedavids.jmix.softreference.entity.SoftReferenceConverter

Adding an explicit dependency in the app to add-on 1 resolves the error.

This would mean that it would require every user e.g. of open-source add-ons to also add the transitive dependencies of the add-on.

see also: https://forum.jmix.io/t/custom-converter-not-found-through-transitive-add-on-dependency/1064

@dtaimanov dtaimanov transferred this issue from jmix-projects/jmix-gradle-plugin Mar 19, 2022
@gorbunkov gorbunkov added this to Backlog in Release 1.3 via automation Mar 25, 2022
@gorbunkov gorbunkov removed this from Backlog in Release 1.3 Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants