You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by fredand44 <fr...@hotmail.com> on 2010/08/19 19:07:04 UTC

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 an
class not found when the taglet is run.
This is because the common lib does not got dependency back to test.
In the taglet  in common we do like:
Class c = Class.forName(tags[0].text());

Do you guys see any solution to this problem?
Best regards
Fredrik 
-- 
View this message in context: http://maven.40175.n5.nabble.com/How-to-fix-this-dependency-for-mvn-javadoc-javadoc-tp2641253p2641253.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org