You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Moretti, Luciano (MED)" <Lu...@med.ge.com> on 2003/07/22 16:20:53 UTC

Dependencies- Separating Test from Compile

Hello-

Is there a way to separate Compile Dependencies from test Dependencies?

We use Hansel to run coverage testing, so I have the following in my
project.xml

<dependency>
  <groupId>hansel</groupId>
  <artifactId>hansel</artifactId>
  <version>1.0</version>
  <url>http://hansel.sourceforge.org</url>
</dependency>

But this is only required for testing, not for actual use of the
resulting JAR artifact of this project.

Is there a way to have separate sections on the dependencies page so
that we can separate our dependencies needed for our tests from the
dependencies needed for the actual resulting JAR for our end users?

Thanks,
Luciano

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


Re: Dependencies- Separating Test from Compile

Posted by di...@multitask.com.au.
Every time I hear the cry of separating dependencies, I think of creating 
a new project....
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Paul Libbrecht <pa...@activemath.org> wrote on 23/07/2003 06:29:33 AM:

> Jason van Zyl wrote:
> > On Tue, 2003-07-22 at 10:30, Dave Ford wrote:
> > 
> >>>Is there a way to separate Compile Dependencies from test 
Dependencies?
> >>
> >>I was wondering the same thing.
> > It's coming, it's noted in JIRA.
> 
> Maybe it's a good approach for now to add schema-compliant properties 
> that mark this ? <properties name="test" value="true"/> ??
> 
> Paul
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Re: Dependencies- Separating Test from Compile

Posted by Paul Libbrecht <pa...@activemath.org>.
Jason van Zyl wrote:
> On Tue, 2003-07-22 at 10:30, Dave Ford wrote:
> 
>>>Is there a way to separate Compile Dependencies from test Dependencies?
>>
>>I was wondering the same thing.
> It's coming, it's noted in JIRA.

Maybe it's a good approach for now to add schema-compliant properties 
that mark this ? <properties name="test" value="true"/> ??

Paul


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


Re: Dependencies- Separating Test from Compile

Posted by Jason van Zyl <ja...@zenplex.com>.
On Tue, 2003-07-22 at 10:30, Dave Ford wrote:
> > Is there a way to separate Compile Dependencies from test Dependencies?
> I was wondering the same thing.

It's coming, it's noted in JIRA.

> Dave Ford
> Smart Soft - The Developer Training Company
> http://www.smart-soft.com
> 
> 
> 
> ---------------------------------------------------------------------
> 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


Re: Dependencies- Separating Test from Compile

Posted by Dave Ford <df...@smart-soft.com>.
> Is there a way to separate Compile Dependencies from test Dependencies?
I was wondering the same thing.

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



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