This commit is contained in:
miSter 2023-01-20 23:45:36 +08:00
commit 9e58a9d11e
19 changed files with 219 additions and 0 deletions

24
.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
# ---> Java
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

56
README.md Normal file
View File

@ -0,0 +1,56 @@
# deploy_conf
平台部署配置文件和工具类
mvn install:install-file -DgroupId=com.sinobpo.www.common -DartifactId=platform_system_server_business_common -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_common-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.log -DartifactId=platform_system_server_business_log -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_log-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.data_permission -DartifactId=platform_system_server_business_data_permission -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_data_permission-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.dynamic.druid -DartifactId=platform_system_server_business_dynamic_druid -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_dynamic_druid-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.license_client -DartifactId=platform_system_server_business_license_client -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_license_client-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.business_websocket -DartifactId=platform_system_server_business_websocket -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_websocket-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.threadtaskpool -DartifactId=platform_system_server_business_threadtaskpool -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_threadtaskpool-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.email -DartifactId=platform_system_server_business_email -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_email-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.upload_common -DartifactId=platform_system_server_business_upload_common -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_upload_common-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.lucene -DartifactId=platform_system_server_business_lucene -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_lucene-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.business_ofd -DartifactId=platform_system_server_business_ofd -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_ofd-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.oss -DartifactId=platform_system_server_business_oss -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_oss-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=com.sinobpo.www.qn -DartifactId=platform_system_server_business_qn -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=platform_system_server_business_qn-0.0.1-RELEASE.jar
mvn install:install-file -DgroupId=dm -DartifactId=dm.jdbc.driver -Dversion=1.7.0 -Dpackaging=jar -Dfile=dm.jdbc.driver-1.7.0.jar
mvn install:install-file -DgroupId=com.microsoft.sqlserver.jdbc -DartifactId=sqljdbc -Dversion=4.0 -Dpackaging=jar -Dfile=sqljdbc4.jar
mvn install:install-file -DgroupId=oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -Dfile=ojdbc6-11.2.0.3.jar

BIN
dm.jdbc.driver-1.7.0.jar Normal file

Binary file not shown.

139
mvn_install.bat Normal file
View File

@ -0,0 +1,139 @@
@ECHO OFF
TITLE 飞利信jar包批量安装
%1 %2
ver|find "5.">nul&&goto :Admin
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :Admin","","runas",1)(window.close)&goto :eof
:Admin
echo 已获取管理员权限
echo=
set localdir=%~dp0
echo 安装jar包路径: %localdir%
echo=
echo -----------开始安装jar包-----------
echo=
echo 安装platform_system_server_business_common-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.common -DartifactId=platform_system_server_business_common -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_common-0.0.1-RELEASE.jar
echo platform_system_server_business_common-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_log-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.log -DartifactId=platform_system_server_business_log -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_log-0.0.1-RELEASE.jar
echo platform_system_server_business_log-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_data_permission-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.data_permission -DartifactId=platform_system_server_business_data_permission -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_data_permission-0.0.1-RELEASE.jar
echo platform_system_server_business_data_permission-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_dynamic_druid-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.dynamic.druid -DartifactId=platform_system_server_business_dynamic_druid -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_dynamic_druid-0.0.1-RELEASE.jar
echo platform_system_server_business_dynamic_druid-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_license_client-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.license_client -DartifactId=platform_system_server_business_license_client -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_license_client-0.0.1-RELEASE.jar
echo platform_system_server_business_license_client-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_websocket-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.business_websocket -DartifactId=platform_system_server_business_websocket -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_websocket-0.0.1-RELEASE.jar
echo platform_system_server_business_websocket-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_threadtaskpool-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.threadtaskpool -DartifactId=platform_system_server_business_threadtaskpool -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_threadtaskpool-0.0.1-RELEASE.jar
echo platform_system_server_business_threadtaskpool-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_lucene-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.lucene -DartifactId=platform_system_server_business_lucene -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_lucene-0.0.1-RELEASE.jar
echo platform_system_server_business_lucene-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_ofd-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.business_ofd -DartifactId=platform_system_server_business_ofd -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_ofd-0.0.1-RELEASE.jar
echo platform_system_server_business_ofd-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_oss-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.oss -DartifactId=platform_system_server_business_oss -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_oss-0.0.1-RELEASE.jar
echo platform_system_server_business_oss-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_qn-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.qn -DartifactId=platform_system_server_business_qn -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_qn-0.0.1-RELEASE.jar
echo platform_system_server_business_qn-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_email-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.email -DartifactId=platform_system_server_business_email -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_email-0.0.1-RELEASE.jar
echo platform_system_server_business_email-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_upload_common-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.upload_common -DartifactId=platform_system_server_business_upload_common -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_upload_common-0.0.1-RELEASE.jar
echo platform_system_server_business_upload_common-0.0.1-RELEASE完成
echo=
echo 安装platform_system_server_business_lucene-0.0.1-RELEASE.jar
call mvn install:install-file -DgroupId=com.sinobpo.www.lucene -DartifactId=platform_system_server_business_lucene -Dversion=0.0.1-RELEASE -Dpackaging=jar -Dfile=%localdir%platform_system_server_business_lucene-0.0.1-RELEASE.jar
echo platform_system_server_business_lucene-0.0.1-RELEASE完成
echo=
echo -----------jar包安装成功-----------
echo=
echo -----------选择安装jar包开始-----------
echo=
echo 0.跳过不安装
echo 1.全安装
echo 2.ojdbc6 (ojdbc6-11.2.0.3)
echo 3.sqljdbc (sqljdbc4)
echo 4.dm (dm.jdbc.driver-1.7.0)
echo.
echo 请选择安装的服务序号(如安装多个空格分割,如: 1 2)
set /p var=请选择安装序号:
if "%var%"=="1" (
set var= 2 3 4
)
set t=%var%
:loop
for /f "tokens=1* delims= " %%a in ("%t%") do (
rem 将截取剩下的部分赋给t其实这里可以使用延迟变量开关
if %%a EQU 2 (
echo 安装序号%%aojdbc6-11.2.0.3.jar
call mvn install:install-file -DgroupId=oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -Dfile=%localdir%ojdbc6-11.2.0.3.jar
echo ojdbc6-11.2.0.3完成
echo=
) else if %%a EQU 3 (
echo 安装序号%%asqljdbc4.jar
call mvn install:install-file -DgroupId=com.microsoft.sqlserver.jdbc -DartifactId=sqljdbc -Dversion=4.0 -Dpackaging=jar -Dfile=%localdir%sqljdbc4.jar
echo sqljdbc4完成
echo=
)else if %%a EQU 4 (
echo 安装序号%%adm.jdbc.driver-1.7.0.jar
call mvn install:install-file -DgroupId=dm -DartifactId=dm.jdbc.driver -Dversion=1.7.0 -Dpackaging=jar -Dfile=%localdir%dm.jdbc.driver-1.7.0.jar
echo dm.jdbc.driver-1.7.0完成
echo=
)
set t=%%b
)
if defined t goto:loop
if "%var%"=="0" (
echo -----------已跳过选择安装jar包-----------
echo=
)else (
echo -----------选择安装jar包成功-----------
echo=
)
PAUSE

BIN
ojdbc6-11.2.0.3.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
sqljdbc4.jar Normal file

Binary file not shown.