jar包部署到maven仓库
命令:
mvn install:install-file -Dfile=“C:\Users\PC0337\Desktop\ojdbc6.
jar” -DgroupId=com.custom.oracle -DartifactId=oracle6 -Dversion=6 -Dpackaging=jar
在相应的文件夹下即可看到jar包已成功部署到maven仓库中。
在maven项目中调用该jar包
命令:
mvn install:install-file -Dfile=“C:\Users\PC0337\Desktop\ojdbc6.
jar” -DgroupId=com.custom.oracle -DartifactId=oracle6 -Dversion=6 -Dpackaging=jar
在相应的文件夹下即可看到jar包已成功部署到maven仓库中。
在maven项目中调用该jar包