Add customized jar as Maven Dependency
Add customized jar as Maven Dependency
- This example used for creating new customized ReportNG jar as maven dependency.
 
- Go to jar file location.
 - Open cmd window in the jar located folder.
 - Run this CMD maven command:
 
      DartifactId=reportng-mobileODT -Dversion=1.0 -Dpackaging=jar
- After build success, go to pom.xml file in eclipse.
 - Click on Window => Show View => Other => Maven => Maven Repositiries.
 - Right click on Local Repositories => Rebuild Index.
 - Right-click on the project -> Maven -> Add Dependency.
 - Fill the groupid of jar and fill required fields.
 - Build project.
 
Notes:
Please make sure that you have maven installed in your local machine.
❤️
ReplyDelete