局长信箱-后台服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
1.8 KiB

@echo off
setlocal
set "CURRENT_DIR=%cd%"
if not "%EMBED_HOME%" == "" goto gotHome
set "EMBED_HOME=%CURRENT_DIR%"
:gotHome
if exist "%EMBED_HOME%\installMavenJar.bat" goto OK_HOME
echo current dir [%EMBED_HOME%] is not correct.
echo Please enter the directory containing the specified command [installMavenJar.bat].
goto end
:OK_HOME
call mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-core-3.x -Dversion=7.0.E.6_P6 -Dfile="%EMBED_HOME%/lib/tongweb-embed-core-3.x-7.0.E.6_P6.jar" -Dpackaging=jar
call mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-el-3.x -Dversion=7.0.E.6_P6 -Dfile="%EMBED_HOME%/lib/tongweb-embed-el-3.x-7.0.E.6_P6.jar" -Dpackaging=jar
call mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-jsp-3.x -Dversion=7.0.E.6_P6 -Dfile="%EMBED_HOME%/lib/tongweb-embed-jsp-3.x-7.0.E.6_P6.jar" -Dpackaging=jar
call mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-embed-websocket-3.x -Dversion=7.0.E.6_P6 -Dfile="%EMBED_HOME%/lib/tongweb-embed-websocket-3.x-7.0.E.6_P6.jar" -Dpackaging=jar
call mvn install:install-file -DpomFile="%EMBED_HOME%/lib/tongweb-starter3.x.pom" -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-starter-3.x -Dversion=7.0.E.6_P6 -Dfile="%EMBED_HOME%/lib/tongweb-spring-boot-starter-3.x-7.0.E.6_P6.jar" -Dpackaging=jar
call mvn install:install-file -DpomFile="%EMBED_HOME%/lib/tongweb-websocket-starter3.x.pom" -DgroupId=com.tongweb.springboot -DartifactId=tongweb-spring-boot-websocket-3.x -Dversion=7.0.E.6_P6 -Dfile="%EMBED_HOME%/lib/tongweb-spring-boot-websocket-3.x-7.0.E.6_P6.jar" -Dpackaging=jar
call mvn install:install-file -DgroupId=com.tongweb -DartifactId=tongweb-lic-sdk -Dversion=4.5.0.0 -Dfile="%EMBED_HOME%/lib/tongweb-lic-sdk-4.5.0.0.jar" -Dpackaging=jar
pause
:end