From 4f8ffe07367f55d804215a7ace5e655096bdb457 Mon Sep 17 00:00:00 2001
From: 0xb00bface <0xboobface@gmail.com>
Date: Fri, 9 Apr 2021 18:46:35 +0200
Subject: [PATCH] Set version to 4.1.2

---
 client/pom.xml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++--
 common/pom.xml |  2 +-
 master/pom.xml |  2 +-
 server/pom.xml |  2 +-
 4 files changed, 60 insertions(+), 5 deletions(-)

diff --git a/client/pom.xml b/client/pom.xml
index d4603df6..fcf345f1 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -8,7 +8,7 @@
 	<parent>
 		<groupId>ctbrec</groupId>
 		<artifactId>master</artifactId>
-		<version>4.1.1</version>
+		<version>4.1.2</version>
 		<relativePath>../master</relativePath>
 	</parent>
 
@@ -221,7 +221,62 @@
 			</activation>
 			<build>
 				<plugins>
+				<!-- 
 					<plugin>
+						<groupId>de.perdian.maven.plugins</groupId>
+						<artifactId>macosappbundler-maven-plugin</artifactId>
+						<version>1.10.1</version>
+						<configuration>
+							<plist>
+								<CFBundleIconFile>src/main/resources/icon.icns</CFBundleIconFile>
+								<CFBundleDisplayName>CTB Recorder</CFBundleDisplayName>
+								<CFBundleDevelopmentRegion>English</CFBundleDevelopmentRegion>
+								<CFBundleName>ctbrec</CFBundleName>
+								<CFBundleURLTypes>
+									<string>msa</string>
+								</CFBundleURLTypes>
+								<JVMMainClassName>ctbrec.ui.Launcher</JVMMainClassName>
+								<JVMVersion>11+</JVMVersion>
+								<JVMOptions>
+									<string>-Dfile.encoding=utf-8</string>
+								</JVMOptions>
+								<JVMRuntimePath>Contents/Java/jdk/Contents/Home</JVMRuntimePath>
+							</plist>
+							<jdk>
+								<include>true</include>
+								<location>jre/jdk_macos</location>
+							</jdk>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>package</phase>
+								<goals>
+									<goal>bundle</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+					<plugin>
+						<artifactId>maven-assembly-plugin</artifactId>
+						<version>3.1.0</version>
+						<executions>
+							<execution>
+								<id>zip</id>
+								<phase>verify</phase>
+								<goals>
+									<goal>single</goal>
+								</goals>
+								<configuration>
+									<finalName>ctbrec-${project.version}</finalName>
+									<descriptors>
+										<descriptor>src/assembly/macos-bundle.xml</descriptor>
+									</descriptors>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
+				 -->
+				 					<plugin>
 						<artifactId>maven-assembly-plugin</artifactId>
 						<version>3.1.0</version>
 						<executions>
@@ -244,4 +299,4 @@
 			</build>
 		</profile>
 	</profiles>
-</project>
+</project>
\ No newline at end of file
diff --git a/common/pom.xml b/common/pom.xml
index 2194d0a6..bb51f5b4 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -8,7 +8,7 @@
 	<parent>
 		<groupId>ctbrec</groupId>
 		<artifactId>master</artifactId>
-		<version>4.1.1</version>
+		<version>4.1.2</version>
 		<relativePath>../master</relativePath>
 	</parent>
 
diff --git a/master/pom.xml b/master/pom.xml
index 3c247382..64f4125c 100644
--- a/master/pom.xml
+++ b/master/pom.xml
@@ -6,7 +6,7 @@
 	<groupId>ctbrec</groupId>
 	<artifactId>master</artifactId>
 	<packaging>pom</packaging>
-	<version>4.1.1</version>
+	<version>4.1.2</version>
 
 	<modules>
 		<module>../common</module>
diff --git a/server/pom.xml b/server/pom.xml
index 4a080f1d..14cc400d 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -8,7 +8,7 @@
 	<parent>
         <groupId>ctbrec</groupId>
         <artifactId>master</artifactId>
-        <version>4.1.1</version>
+        <version>4.1.2</version>
         <relativePath>../master</relativePath>
     </parent>