Plugin Framework for Java (PF4J)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
497 B

#!/bin/sh
#
# This script creates and run the pf4j demo.
#
# create artifacts using maven
mvn clean package
# create demo-dist folder
rm -fr demo-dist
mkdir demo-dist
mkdir demo-dist/plugins
# copy artifacts to demo-dist folder
cp -r demo/app/target/pf4j-demo-*/* demo-dist/
cp demo/plugins/plugin1/target/pf4j-demo-plugin1-*.zip demo-dist/plugins/
cp demo/plugins/plugin2/target/pf4j-demo-plugin2-*.zip demo-dist/plugins/
# run demo
cd demo-dist
java -jar pf4j-demo-app-*-SNAPSHOT.jar
cd -