Skip to content

rongfengliang/spring-boot-external-jar-load

Repository files navigation

spring boot with seperate jar files

how to running

  • build

mvn clean package
  • copy files

mkdir -p demoapp/lib

cp firstjar/target/firstjar-0.0.1-SNAPSHOT.jar demo/lib
cp secondjar/target/secondjar-0.0.1-SNAPSHOT.jar demo/lib
cp thirdjar/target/thirdjar-0.0.1-SNAPSHOT.jar demo/lib
cp ui/target/ui-0.0.1-SNAPSHOT.jar demo/
cd demo
  • running
java -cp ui-0.0.1-SNAPSHOT.jar -Dloader.path=./lib org.springframework.boot.loader.PropertiesLauncher

config scan

  • command
java -cp ui-0.0.1-SNAPSHOT.jar -Dscan.thirdpackages=com.mydalong  -Dloader.path=./lib org.springframework.boot.loader.PropertiesLauncher

About

spring-boot-external-jar-load

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages