This is very easy to do. Open a terminal and enter the following command.
mvn install:install-file -Dfile=c:\customBuiltjar-{version}.jar -DgroupId=your.jar.groupid -DartifactId=customBuiltjar -Dversion={version} -Dpackaging=jar
Here the -Dfile parameter indicates the path to jar file. Also replace the -DgroupId with your group id for the dependency.
mvn install:install-file -Dfile=c:\customBuiltjar-{version}.jar -DgroupId=your.jar.groupid -DartifactId=customBuiltjar -Dversion={version} -Dpackaging=jar
Here the -Dfile parameter indicates the path to jar file. Also replace the -DgroupId with your group id for the dependency.
No comments:
Post a Comment