diff --git a/G-Earth/assembly/linux.xml b/G-Earth/assembly/linux.xml new file mode 100644 index 0000000..d3f0ac2 --- /dev/null +++ b/G-Earth/assembly/linux.xml @@ -0,0 +1,17 @@ + + zip + + zip + + false + + + ../Build/Linux/ + true + ../G-Earth/ + + + \ No newline at end of file diff --git a/G-Earth/assembly/mac.xml b/G-Earth/assembly/mac.xml new file mode 100644 index 0000000..fffbb20 --- /dev/null +++ b/G-Earth/assembly/mac.xml @@ -0,0 +1,17 @@ + + zip + + zip + + false + + + ../Build/Mac/ + true + ../G-Earth/ + + + \ No newline at end of file diff --git a/G-Earth/assembly/windows_32bit.xml b/G-Earth/assembly/windows_32bit.xml new file mode 100644 index 0000000..19fb493 --- /dev/null +++ b/G-Earth/assembly/windows_32bit.xml @@ -0,0 +1,17 @@ + + zip + + zip + + false + + + ../Build/Windows_32bit/ + true + ../G-Earth/ + + + \ No newline at end of file diff --git a/G-Earth/assembly/windows_64bit.xml b/G-Earth/assembly/windows_64bit.xml new file mode 100644 index 0000000..a666316 --- /dev/null +++ b/G-Earth/assembly/windows_64bit.xml @@ -0,0 +1,17 @@ + + zip + + zip + + false + + + ../Build/Windows_64bit/ + true + ../G-Earth/ + + + \ No newline at end of file diff --git a/G-Earth/pom.xml b/G-Earth/pom.xml index f403a49..ec8ca65 100644 --- a/G-Earth/pom.xml +++ b/G-Earth/pom.xml @@ -22,55 +22,48 @@ + G-Earth - + + + org.apache.maven.plugins + maven-dependency-plugin + 3.2.0 + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.build.directory}/bin/Dependencies + false + false + true + + + + org.apache.maven.plugins maven-jar-plugin - 3.1.2 + 3.2.2 ${project.build.directory}/bin - true true - lib/ + Dependencies/ gearth.Main - false - - maven-assembly-plugin - 3.1.1 - - - package - - single - - - - - ${project.build.directory}/bin - - - gearth.Main - - - - jar-with-dependencies - - - G-Earth - false - - - + maven-antrun-plugin 3.0.0 @@ -80,41 +73,26 @@ package - - - - - - - - - - + + + + + - + + + - - - - - - - - - - - - - - - + + + @@ -139,6 +117,75 @@ + + + maven-assembly-plugin + 3.3.0 + + + ziprelease-mac + package + + single + + + false + ../Build + G-Earth-${project.version}-Mac + + ${basedir}/assembly/mac.xml + + + + + ziprelease-linux + package + + single + + + false + ../Build + G-Earth-${project.version}-Linux + + ${basedir}/assembly/linux.xml + + + + + ziprelease-windows_32bit + package + + single + + + false + ../Build + G-Earth-${project.version}-Windows_32bit + + ${basedir}/assembly/windows_32bit.xml + + + + + ziprelease-windows_64bit + package + + single + + + false + ../Build + G-Earth-${project.version}-Windows_64bit + + ${basedir}/assembly/windows_64bit.xml + + + + + + + diff --git a/G-Earth/src/main/resources/build/cache/cache.json b/G-Earth/src/main/resources/build/common/Cache/cache.json similarity index 100% rename from G-Earth/src/main/resources/build/cache/cache.json rename to G-Earth/src/main/resources/build/common/Cache/cache.json diff --git a/G-Earth/src/main/resources/build/messages.json b/G-Earth/src/main/resources/build/common/messages.json similarity index 100% rename from G-Earth/src/main/resources/build/messages.json rename to G-Earth/src/main/resources/build/common/messages.json