How to fix this dependency for mvn javadoc:javadoc?
Hello!We need to write an taglet for own generation of javadoc.
The idea is to produce a special javadoc for our code.
It should produce documentation for some annotations we use in a separate doc.
The taglet is parameterized with the name of the class.
When it runs it should use reflection to look inside the class and look for certain annotations.
We have put our taglet in a common lib.
Please se quick-sketch-dependency-diagram at:
http://fredand44.webs.com/bilder/javadoc_problem.jpg
As you can see our code in test got dependency to the common-lib but of course not vice versa.
But when we step into the test-project and run mvn javadoc:javadoc we get en class not found when the taglet is run.
This is because the common lib does not got dependency back to test.
In the taglet we do like:
Class c = Class.forName(tags[0].text());
Do you guys see any solution to this problem?
Best regards
Fredrik
