(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{687:function(a,s,t){"use strict";t.r(s);var r=t(12),e=Object(r.a)({},(function(){var a=this,s=a._self._c;return s("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[s("h1",{attrs:{id:"发布基础包"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#发布基础包"}},[a._v("#")]),a._v(" 发布基础包")]),a._v(" "),s("h2",{attrs:{id:"一、下载基础包"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#一、下载基础包"}},[a._v("#")]),a._v(" 一、下载基础包")]),a._v(" "),s("p",[a._v("通过git下载基础包")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("git")]),a._v(" clone http://taixingyiji.synology.me:1010/common-frame/common-base.git\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"二、发布数据库驱动"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#二、发布数据库驱动"}},[a._v("#")]),a._v(" 二、发布数据库驱动")]),a._v(" "),s("p",[a._v("通过终端进入当前基础包的文件夹")]),a._v(" "),s("ol",[s("li",[a._v("将 "),s("code",[a._v("oracle")]),a._v("数据库驱动发布到 "),s("strong",[a._v("本地")]),a._v(" "),s("code",[a._v("maven")]),a._v("仓库")])]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[a._v("mvn install:install-file "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Dfile")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("lib/ojdbc6.jar "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-DgroupId")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("com.oracle "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-DartifactId")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("ojdbc6 "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Dversion")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),s("span",{pre:!0,attrs:{class:"token number"}},[a._v("11.2")]),a._v(".0.4 "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Dpackaging")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("jar\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("ol",{attrs:{start:"2"}},[s("li",[a._v("将达梦数据库驱动发布到 "),s("strong",[a._v("本地")]),a._v(" "),s("code",[a._v("maven")]),a._v("仓库")])]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[a._v("mvn install:install-file "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Dfile")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("lib/Dm7JdbcDriver18.jar "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-DgroupId")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("com.dm "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-DartifactId")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("Dm7JdbcDriver "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Dversion")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),s("span",{pre:!0,attrs:{class:"token number"}},[a._v("1.8")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token parameter variable"}},[a._v("-Dpackaging")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("jar \n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("div",{staticClass:"custom-block warning"},[s("p",{staticClass:"custom-block-title"},[a._v("注意")]),a._v(" "),s("p",[a._v("若终端提示错误，请检查")]),a._v(" "),s("p",[a._v("maven仓库在系统的环境变量是否正确")])]),a._v(" "),s("h2",{attrs:{id:"三、发布基础包"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#三、发布基础包"}},[a._v("#")]),a._v(" 三、发布基础包")]),a._v(" "),s("p",[a._v("执行命令")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[a._v("mvn "),s("span",{pre:!0,attrs:{class:"token function"}},[a._v("install")]),a._v("\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("p",[a._v("此时基础包已经发布到本地的maven仓库中")])])}),[],!1,null,null,null);s.default=e.exports}}]);