diff --git a/build/icon.icns b/build/icon.icns new file mode 100644 index 0000000000000000000000000000000000000000..9309fae7c125b2d91e41dfc370d22175e77b76c3 Binary files /dev/null and b/build/icon.icns differ diff --git a/pom.xml b/pom.xml index 7f6a9608ddc1b394801c99887208ce177bcc8763..be7e06dd03e82cc9c2f4044fff726e3d26c0de6f 100644 --- a/pom.xml +++ b/pom.xml @@ -77,6 +77,24 @@ </execution> </executions> </plugin> + <plugin> + <groupId>sh.tak.appbundler</groupId> + <artifactId>appbundle-maven-plugin</artifactId> + <version>1.2.0</version> + <configuration> + <mainClass>de.deadlocker8.smarttime.main.Main</mainClass> + <iconFile>build/icon.icns</iconFile> + <buildDirectory>build/${project.version}</buildDirectory> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>bundle</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build>