4.0.0 com.bdp.jdbc first 1.0-SNAPSHOT //安装ojdbc驱动命令:mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.4.0 -Dpackaging=jar -Dfile={oracle_home}/ojdbc6.jarcom.oracle ojdbc6 11.2.0.4.0 src/main/java //将properties拷贝出来 **/*.properties src/main/resources org.apache.maven.plugins maven-compiler-plugin 2.3.2 //指定jdk的编译版本 maven-assembly-plugin //打入依赖包,mvn命令:mvn assembly:assembly //可执行jar文件的入口 com.bdp.jdbc.test_jdbc jar-with-dependencies