maven 中 jar管理

慢慢补充

 

将本地jar添加到maven的仓库中

mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-swing -Dversion=15.4 -Dfile=C:\Users\231\Downloads\geotools-15.4-bin\geotools-15.4\gt-swing-15.4.jar -Dpackaging=jar

 不成功可以试试: 

mvn install:install-file "-Dfile=E:\java\repository\org\projectlombok\lombok\lombok.jar" "-DgroupId=o
rg.projectlombok" "-DartifactId=lombok" "-Dversion=1.16.21" "-Dpackaging=jar" "-DgeneratePom=true"

https://stackoverflow.com/questions/16348459/error-the-goal-you-specified-requires-a-project-to-execute-but-there-is-no-pom

posted @ 2017-02-13 17:07  bronk  阅读(332)  评论(0编辑  收藏  举报