My project structure as below during the integration test.
Project-A
|_conf (contains the configuration files)
|_lib (Contains the all dependencies)
|_pom.xml
|_target
|_test (Contains the integration tests)
When I run the below maven command it download the dependencies from nexus and pointing to the local repositories instead of lib directory.
How Do I tell maven to check lib folder for dependencies instead of local maven repository?
Note : lib contains the all the dependencies which are required to test the project.
mvn surefire:test