Powered by Blogger.

Friday 6 October 2023

How to add External Jar file in Pom.xml file

1 comment :
Add Externals Jar file in Pom.xml
There are many ways to configure external jar file but we are telling you an easy way, for this you should have whatever jar file you want to add, after that you know the .m2/repository folder.
Add dependencies in pom.xml and after saving the file, a folder is auto created inside the .m2/repository which is named after the groupId in dependency, such a groupId name is a143mkJar.
For Example : I have two Jar file one is EncryptDecryptA143mk-2.7.7.jar and Ldap-a143mkJar-2.7.7.jar
groupId is a143mkJar
artifactId is EncryptDecryptA143mk 
version is 2.7.7 

Add dependences in pom.xml:

Put the Jar file in maven repository Directory like this.
.m2/repository/a143mkJar/EncryptDecryptA143mk/2.7.7/EncryptDecryptA143mk-2.7.7.jar
.m2/repository/a143mkJar/Ldap-a143mkJar/2.7.7/Ldap-a143mkJar-2.7.7.jar

1 comment :

Please Write a Message for Programming or something Related issues.