jar package into the local maven

mvn install:install-file -Dfile=d:/licenseVerify-1.0.jar -DgroupId=com.licenseVerify -DartifactId=licenseVerify -Dversion=1.0 -Dpackaging=jar

d:/licenseVerify-1.0.jar indicates the path of the JAR package to be installed; com.licenseVerify , licenseVerify and indicate the Group ID, Artifact ID and version number of the JAR package 1.0respectively ; jarit specifies the packaging method as jar

introduce

        <dependency>
            <groupId>com.licenseVerify</groupId>
            <artifactId>licenseVerify</artifactId>
            <version>1.0</version>
        </dependency>

Guess you like

Origin blog.csdn.net/qq_43632987/article/details/130577056
Recommended