This can be achieved in just simple 2 steps
1. Install file in maven local repository
mvn install:install-file -Dfile=/path/jarfile.jar -DgroupId=com.company -DartifactId=module-util -Dversion=1.0.0 -Dpackaging=jar
2. Add the entry in the pom.xml.
1. Install file in maven local repository
mvn install:install-file -Dfile=/path/jarfile.jar -DgroupId=com.company -DartifactId=module-util -Dversion=1.0.0 -Dpackaging=jar
2. Add the entry in the pom.xml.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn install:install-file -Dfile=/path/jarfile.jar -DgroupId=com.company -DartifactId=module-util -Dversion=1.0.0 -Dpackaging=jar | |
<dependencies> | |
<dependency> | |
<groupId>com.company</groupId> | |
<artifactId>module-util</artifactId> | |
<version>1.0.0</version> | |
</dependency> | |
</dependencies> |