命令提示行将jar包导入本地maven仓库命令

示例:

mvn install:install-file -DgroupId=org.csource -DartifactId=fastdfs-client-java -Dversion=1.27-SNAPSHOT -Dpackaging=jar -Dfile=E:\zsxc\fastdfs-client-java-1.27-SNAPSHOT.jar

mvn install:install-file -DgroupId=Qrcode_swetake -DartifactId=Qrcode_swetake -Dversion=3.0 -Dpackaging=jar -Dfile=E:\zsxc\Qrcode_swetake-3.0.jar

mvn install:install-file -DgroupId=QRCode -DartifactId=QRCode -Dversion=3.0 -Dpackaging=jar -Dfile=E:\zsxc\QRCode-3.0.jar

mvn install:install-file -DgroupId=com.zscreate -DartifactId=pinyin4j -Dversion=2.5.0 -Dpackaging=jar -Dfile=E:\zsxc\pinyin4j-2.5.0.jar

注意:如果maven配置了全局系统变量,打开命令提示行直接可以运行命令,如果未配置,则要进入maven的bin目录下执行命令。

    com.alibaba   ——对应DgroupId

    fastjson    ——对应DartifactId

    1.2.47    ——对应Dversion

Dpackaging——文件类型;Dfile——需要导入文件地址

你可能感兴趣的:(MySQL)