How to add a local lib to a maven project

Hi everyone!

If you need to add some local lib to you maver project add block below to pom.xml file inside the dependencies block.

<dependencies>
    ...
    <dependency>
	    <groupId>com.lib.local</groupId>
	    <artifactId>local_lib</artifactId>
	    <version>1.0</version>
	    <scope>system</scope>
	    <systemPath>${basedir}/src/test/resources/libs/local_lib.jar</systemPath>
    </dependency>
    ...
</dependencies>

Have a good day!

Enjoy!