I'm trying to create some tests for a web application that will be deployed in a WAR file.
I'd like to include several libraries that I have in my webapp/WEB-INF/lib folder to be available during the execution of these tests but I haven't achived it.
I have tried including:
        <testResources>
            <testResource>
                <filtering>false</filtering>
                <directory>src/main/webapp/WEB-INF/lib</directory>
<!--                <targetPath>${project.basedir}/src/test/webapp/WEB-INF/lib</targetPath> -->
            </testResource>
        </testResources>
And altough they seems to appear in the following location target\test-classes
I have the following error: LIB ABC is not available to the JVM.
