To import custom libraries you have to define the dependency containing your custom library path in your pom.xml file. Refer to the dependency code shared below:
Code Block | ||
---|---|---|
| ||
<dependencies> <dependency> <groupId>${group Id}</groupId> <artifactId>${artifact Id}</artifactId> <scope>system</scope> <version>${version}</version> <systemPath>${basedir}\src\lib\ldapjdk.jar</systemPath> </dependency> </dependencies> |
For example, refer below screenshot. The custom library path needs to be provided in between the '<systemPath>' tags.
...