In my gradle.build I referenced a KJAR (Kie Jar containing rules) with
“implementation ‘com.esalute:esalutebasic:1.0.0-SNAPSHOT’”. The package (JAR) and the associated POM was build with mvn install and is located in the directory C:\users\myUsername.m2\Repository\com\esalute\esalutebasic.
Make sure that there are no typos in the lib name and the version in the maven local is the same as you defined in the build.gradle. Jmix itself doesn’t prevent Mavel local usage as it’s gradle setting.
I reviewed every single factor of the settings but no typo of wrong reference was detected. So I am still stucked at that point.
This is the path to my maven repo including the JAR-/POM-files and maven-metadata.xml: “C:\Users\Michael Lutz.m2\repository\com\esalute\esalutebasic\1.0.0-SNAPSHOT”.
In the gradle.build settings I am referring to this as under ‘dependencies’ as:
implementation ‘com.esalute:esalutebasic:1.0.0-SNAPSHOT’
The only thing that is concerns me is the path C:\Users\Michael Lutz.m2\repository\...
The correct path must be C:\Users\Michael Lutz\.m2\repository\.. as .m2 is a folder in the users directory.
Unfortunately, I have no idea. Could you please try to create a small demo project and attach both project and esalutebasic from maven local? I’ll try to reproduce the problem on my PC.
Hi Gleb, just wan’t to inform you, that I found a workaround. So the original reason opening this thread still exists but no need to dig into it any further at this time. Thx for your help anyway.