代码拉取完成,页面将自动刷新
同步操作将从 StarBlues/spring-brick-example 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
REM windows package
REM package
::如果不需要进行maven打包, 则使用 REM 注释掉该行
::
::call mvn clean install -Dmaven.test.skip=true -P prod
REM del dist
rmdir dist /s /q
REM create dist
mkdir dist
mkdir dist\plugins
REM copy main program and config
xcopy example-main\target\example-main-*-repackage.jar dist /s /i
xcopy example-main\src\main\resources\application-prod.yml dist /s
xcopy example-main\target\lib\* dist\lib /y /e /i /q
REM copy plugin and config
xcopy example-plugins-basic\example-basic-1\target\*-repackage.jar dist\plugins /s
xcopy example-plugins-basic\example-basic-2\target\example-basic-2-1.0.0-SNAPSHOT-repackage dist\plugins\example-basic-2-1.0.0-SNAPSHOT-repackage /e /i /q
xcopy example-plugins-db\example-jpa\target\jpa-example-plugin-1.0.0-repackage dist\plugins\jpa-example-plugin-1.0.0-repackage /e /i /q
xcopy example-plugins-db\example-mybatis-plus\target\*-repackage.zip dist\plugins /s
::xcopy example-plugins-cloud\example-plugin-cloud-nacos\target\*-repackage.jar dist\plugins /s
REM copy bin
xcopy bin\* dist\ /s
cd dist
REM run main
rename example-main-*-repackage.jar example.jar
rename application-prod.yml application.yml
start explorer .
:: 运行命令为: java -jar example.jar --spring.config.location=application.yml
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。