On Tue, 2005-11-08 at 16:07 +0100, Dietrich Schulten wrote:
> Hi,
> 
> some dependencies are used as external tools for generation only, for
> instance junitdoclet. They are not needed in the distribution. The
> scopes compile, test, runtime do not suffice as it seems.
> 
> What is best-practice to use such tools with Mvn?

You would make a plug-in for junitdoclet which you would then use in
your project and plug-in depenencies are fully separate from your
project.

The use of tools is encapsulated in plug-ins. Generating sources of any
kind would be handled by a plug-in. The closest example we have is this:

http://maven.apache.org/guides/mini/guide-generating-sources.html

Your junitdoclet plug-in would look very similar to that.

> Regards,
> Dietrich
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to