If I have this in my pom:

....
<build>
<resources>
      <resource>
        <directory>src/main/resources</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>/src/test/resources</directory>
      </testResource>
    </testResources>
</build>
....

If I have a file such as hibernate.cfg.xml in both locations, but with
different parameters... which one will take precedence during unit tests?
>From I can see, it seems like only the one in the src/main/resources takes
effect.

Do you have to do anything specific to make this work how I would expect?

Thanks.

Reply via email to