You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Durham David R Jr Contr 805 CSPTS/SCE <Da...@scott.af.mil> on 2005/04/01 19:03:52 UTC

seperate src and test directories

I'd like to have normal class sources in:

/src
	/package/SomeClass.java

And tests in:

/tests
	/package/SomeClassTest.java

But I don't see a way to specify the source attribute for your tests.
Is there a way to do this for the 'test' plugin?

Thanks,


- Dave

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


Re: seperate src and test directories

Posted by Steve Molloy <sm...@convera.com>.
You need to add the tests in your POM, see
http://maven.apache.org/start/ten-minute-test.html

Steve

On Fri, 2005-01-04 at 11:03 -0600, Durham David R Jr Contr 805 CSPTS/SCE
wrote:

> I'd like to have normal class sources in:
> 
> /src
> 	/package/SomeClass.java
> 
> And tests in:
> 
> /tests
> 	/package/SomeClassTest.java
> 
> But I don't see a way to specify the source attribute for your tests.
> Is there a way to do this for the 'test' plugin?
> 
> Thanks,
> 
> 
> - Dave
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>