diff --git a/build.sh b/build.sh
index 829d2c6..266b2fb 100755
--- a/build.sh
+++ b/build.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-mvn clean package
+mvn clean jfx:jar
diff --git a/package.sh b/package.sh
index 28949ec..831cb28 100755
--- a/package.sh
+++ b/package.sh
@@ -7,8 +7,13 @@ PACKAGETAR=$PACKAGENAME.tar.gz
PACKAGEZIP=$PACKAGENAME.zip
TARGET=$PWD/target
-cd target/build/
+#Packaging Jar Distributable
+cd target/jfx/app/
echo "creating $PACKAGETAR in $TARGET"
tar -zcvf $TARGET/$PACKAGETAR .
echo "creating $PACKAGEZIP in $TARGET"
zip -r $TARGET/$PACKAGEZIP ./*
+#Removing prebuilt jar in target
+rm $TARGET/*.jar
+#Copying Jar to target for archiving
+cp ./*.jar $TARGET
diff --git a/pom.xml b/pom.xml
index 32a5a40..1ef70bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -176,39 +176,6 @@
- org.apache.maven.plugins
- maven-jar-plugin
- 2.4
-
- ${project.build.directory}/build/
-
-
- true
- com.sothr.imagetools.App
- lib
-
-
-
-
-
- org.apache.maven.plugins
- maven-dependency-plugin
- 2.5.1
-
-
- copy-dependencies
- package
-
- copy-dependencies
-
-
- ${project.build.directory}/build/lib
-
-
-
-
-
- org.apache.maven.plugins
maven-resources-plugin
2.6
@@ -235,7 +202,7 @@
copy-resources
- ${project.build.directory}/build
+ ${project.build.directory}/jfx/app
src/includes