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
<dependency>
<groupId>customDefineGroupId</groupId>
<artifactId>customArtifactId</artifactId>
<version>customVersion</version>
</dependency>









网友评论