M
M
Mikhail Simonishvili2020-08-14 14:57:40
Java
Mikhail Simonishvili, 2020-08-14 14:57:40

How to connect classes and methods of one module to another?

I use a microservice architecture, inside the project it looks like division into modules, there is a basic functionality that is used in each microservice, I want to collect this functionality and put it in a separate module, but then a problem arises, I can’t connect it to other modules, I tried it through module export ..., it was possible to compile, but it is not possible to assemble into a jar. I also collected jar from this module and uploaded it to the lock. repository, but maven does not see it, it also fails via github. Are there better ways or can you explain what I could be doing wrong?
https://github.com/simonishviliM/WorkWithModules

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question