- 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
- command
java -cp ui-0.0.1-SNAPSHOT.jar -Dscan.thirdpackages=com.mydalong -Dloader.path=./lib org.springframework.boot.loader.PropertiesLauncher