在项目中有时需要添加第三方jar到maven项目中,这时就可以使用mvn命令将jar添加到本地库中。 12345678 mvn install:install-file-Dfile=<path-to-file>-DgroupId=<group-id>-DartifactId=<artifact-id>-Dversion=<version>-Dpackaging=<packaging>-DgeneratePom=true 在你的项目pom.xml中添加依赖 12345 <> <groupId> group-id</groupId> <artifactId>artifact-id</artifactId> <version>version</version></> 赞微海报分享
近期评论