Junit run not picking file src/test/resources. For file required by some dependency jar
Posted
by saddy-dj
on Stack Overflow
See other posts from Stack Overflow
or by saddy-dj
Published on 2010-05-04T11:13:46Z
Indexed on
2010/05/04
11:18 UTC
Read the original article
Hit count: 224
Hi, I m facing a issue where test/resource is not picked,but instead jar's main/resource is picked
Scenario is like : Myproject src/test/resources--- have config.xml w which should be needed by abc.jar which is a dependecy in Myproject.
When running test case for Myproject its loading config.xml of abc.jar instead of Myproject test/resources. - I need to know order in which maven pick resources. - Or wat im trying is not possible.
Thanks.
© Stack Overflow or respective owner