代码拉取完成,页面将自动刷新
#!/bin/sh
#
# This script creates and run the pf4j demo.
#
# create artifacts using maven
mvn clean package -DskipTests
# create demo-dist folder
rm -fr demo-dist
mkdir -p demo-dist/plugins
# copy artifacts to demo-dist folder
cp demo/app/target/pf4j-demo-*.zip demo-dist/
cp demo/plugins/plugin1/target/pf4j-demo-plugin1-*-all.jar demo-dist/plugins/
cp demo/plugins/plugin2/target/pf4j-demo-plugin2-*-all.jar demo-dist/plugins/
cp demo/plugins/enabled.txt demo-dist/plugins/
cp demo/plugins/disabled.txt demo-dist/plugins/
cd demo-dist
# unzip app
jar xf pf4j-demo-app-*.zip
rm pf4j-demo-app-*.zip
# run demo
mv pf4j-demo-app-*-SNAPSHOT.jar pf4j-demo.jar
java -jar pf4j-demo.jar
cd -
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。