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: