From 77801cc19de4d800089b164e447b571ad8c75034 Mon Sep 17 00:00:00 2001 From: Tyler Hawkes Date: Thu, 18 Jan 2018 03:55:27 -0700 Subject: Changing packaging (#194) --- run-demo.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'run-demo.sh') diff --git a/run-demo.sh b/run-demo.sh index 724d68b..b8c5220 100755 --- a/run-demo.sh +++ b/run-demo.sh @@ -5,17 +5,15 @@ # # create artifacts using maven -mvn clean package +mvn clean package -DskipTests # create demo-dist folder rm -fr demo-dist -mkdir demo-dist -mkdir demo-dist/plugins +mkdir -p 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/ +cp demo/plugins/*/target/*plugin.jar demo-dist/plugins/ # run demo cd demo-dist -- cgit v1.2.3