Maven项目使用本地Jar

mvn install:install-file -Dfile=mySelfFilePath -DgroupId=customDefineGroupId -DartifactId=customArtifactId -Dversion=customVersion -Dpackaging=jar

mySelfFilePath: Jar包本地地址
customDefineGroupId: 给Jar定义的GroupId
customArtifactId: 给Jar定义的ArtifactId
customVersion: 给Jar定义的Version


    customDefineGroupId
    customArtifactId
    customVersion

你可能感兴趣的:(Maven项目使用本地Jar)