I have two modules, A and B, and A depends on B. They are completely separate, and B is deployed and used in an internal repository.
You want to use the maven-javadoc-plugin for documentation in A, but you also want to include the contents of B's dependent modules. For example, you might have something like this
RespostDTO testMethod(int a) { // blabla }
Assuming we have the above method in A's module, RespostDTO
is B's module code. In this case, we want to see the JavaDoc corresponding to RespostDTO
in the documentation created in A. How can we do this?
What should I do for A and B modules?