Import the jar package into the local maven repository

1. Prepare the jar package to be warehoused

2. Open cmd in the folder where the jar package is located.

3. Enter the following command to package

mvn install:install-file -DgroupId=com.netty.common -DartifactId=netty-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=netty-common-1.0-SNAPSHOT.jar

As shown below:
Insert image description here

Guess you like

Origin blog.csdn.net/dxjren/article/details/132057017