Hi Ryan,
To get web.xml on your test classpath, you should copy it to
/src/test/resources/web.xml.
-Original Message-
From: Ryan Cuprak [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2008 8:23 PM
To: Maven Users List
Subject: Re: Excluding a runtime dependency during testing
I suspect it will be by adding the file to some sub-folder of src/tes/resources
perhaps src/test/resources/WEB-INF/web.xml but you may need to play around a bit
-Stephen
2008/10/14 Ryan Cuprak <[EMAIL PROTECTED]>:
>
> Thanks,
> Below is the exception - I have come across two solutions on the we
Thanks,
Below is the exception - I have come across two solutions on the web:
1. remove RichFaces from the test classpath (from what you have said
and my own research this isn't possible - also not a good long term
solution)
2. add web.xml to the test classpath
I am not sure about how t
Hi Ryan,
I don't think it's possible. Maybe you could manually try removing the
dependency to understand what's the cause of your problem.
If RichFaces is doing something under the cover that causes the test to
fail, it seems to be a bad strategy not to try to tackle it directltly.
Trying to worka
Hello,
Does anyone know how to exclude a runtime dependency from the test
classpath? I am using RichFaces and TestNG. When I run my Seam TestNG
tests RichFaces tries to perform some operations which causes a test
to fail. I want RichFaces dependencies in my war file but I don't want
them