jar包添加到本地maven库

来源:互联网 发布:手机视频慢放软件 编辑:程序博客网 时间:2024/05/22 10:25

比较好的maven库

http://mvnrepository.com/
http://search.maven.org/
http://repository.sonatype.org/content/groups/public/
http://people.apache.org/repo/m2-snapshot-repository/
http://people.apache.org/repo/m2-incubating-repository/




Maven 安装 JAR 包的命令是(cmd中):

mvn install:install-file -Dfile=jar包的位置 -DgroupId=上面的groupId -DartifactId=上面的artifactId -Dversion=上面的version -Dpackaging=jar



maven 引用jar包时  需要与自定义的jar 包 gav坐标保持一致




原创粉丝点击