maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bredesen <cbrede...@redhat.com>
Subject Re: Unit test project depending on WAR project code
Date Wed, 07 Oct 2009 14:41:27 GMT
Why stop there?  I'll just not write ANY code.  Stress-free life! :) :)

On 10/07/2009 10:13 AM, Roland Asmann wrote:
> Personally, I don't put ANY code in the WAR. That will definitely solve your
> problem! :-)
>
>
> On Wednesday 07 October 2009 16:03, Chris Bredesen wrote:
>> All,
>>
>> I have split my unit tests out into a separate project which will
>> eventually become a module (not there yet).  I've got it mostly sorted
>> but I'm getting compile errors on classes that are part of the main
>> project which uses war packaging.
>>
>> Maven doesn't seem to add the WAR's code into the test module's test
>> classpath correctly.  Is this a known issue?  Any idea how to get around
>> it?  Maven is definitely finding the artifact in my repository; it's
>> just not contributing the WAR's code (I think).
>>
>> Any help is appreciated.
>>
>> -Chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>

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


Mime
View raw message