@echo off && chcp 65001
#call mvn clean package
for /f "delims=" %%i in ('dir target\*.jar /b ') do @set jarPath=%%i
call java -jar -Dfile.encoding=utf-8 -Dspring.profiles.active=dev -Xms1024m -Xmx1536m -XX:PermSize=128M -XX:MaxPermSize=256M target\%jarPath%
pause