You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/12/04 15:55:12 UTC

[REPOST] How to declare compile-time / run-time dependencies

Does anybody have a suggestion for this ?

> Hi,
>
> My project has some dependencies that are needed for test classes (compile/build-time) but not at runtime : junit,
> cactus, easymock ...
>
> How to set my project.xml so that they aren't visible in generated doc as dependencies, so that users can have a list
of
> runtime-dependencies (what they need if they want to use my tools) ?
>
> Nico.
>

Nico.


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


Re: [REPOST] How to declare compile-time / run-time dependencies

Posted by Jason van Zyl <jv...@maven.org>.
On Thu, 2003-12-04 at 09:55, Nicolas De Loof wrote:
> Does anybody have a suggestion for this ?

It is now handled here:

http://cvs.apache.org/viewcvs.cgi/maven-components/maven-model/

And will be integrated in 1.1.

For now the best you can do is added properties to your dependencies and
add custom processing to plugins if you need it that badly.

> > Hi,
> >
> > My project has some dependencies that are needed for test classes (compile/build-time) but not at runtime : junit,
> > cactus, easymock ...
> >
> > How to set my project.xml so that they aren't visible in generated doc as dependencies, so that users can have a list
> of
> > runtime-dependencies (what they need if they want to use my tools) ?
> >
> > Nico.
> >
> 
> Nico.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org