File tree Expand file tree Collapse file tree 5 files changed +18
-4
lines changed
Expand file tree Collapse file tree 5 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 2525
2626 - name : Build macOS Binary
2727 run : |
28- mvn clean package -DskipTests -pl tda,tda-macos-binary -am
28+ mvn clean package -Prelease - DskipTests -pl tda,tda-macos-binary -am
2929
3030 - name : Upload macOS Binary to Release
3131 uses : softprops/action-gh-release@v2
5454 cache : ' maven'
5555
5656 - name : Build with Maven
57- run : mvn clean package -DskipTests -pl !tda-macos-binary
57+ run : mvn clean package -DskipTests
5858
5959 - name : Create Release
6060 id : create_release
Original file line number Diff line number Diff line change @@ -175,6 +175,12 @@ This will build all components:
175175* The standalone TDA JAR (in ` tda/target/tda-x.x.jar ` ).
176176* The VisualVM plugins as NBM files (in the ` target/ ` directory of each ` visualvm-* ` module).
177177
178+ To build the macOS DMG package, use the ` release ` profile (requires macOS and JDK 17+):
179+
180+ ``` bash
181+ mvn clean package -Prelease
182+ ```
183+
178184The resulting standalone JAR will also be located in the ` tda/target/ ` directory.
179185
180186---
Original file line number Diff line number Diff line change 1515 <module >visualvm-lib-component</module >
1616 <module >visualvm-logfile-component</module >
1717 <module >visualvm-module</module >
18- <module >tda-macos-binary</module >
1918 </modules >
2019
20+ <profiles >
21+ <profile >
22+ <id >release</id >
23+ <modules >
24+ <module >tda-macos-binary</module >
25+ </modules >
26+ </profile >
27+ </profiles >
28+
2129 <repositories >
2230 <repository >
2331 <id >netbeans</id >
Original file line number Diff line number Diff line change 7474 </javaOptions >
7575 <macPackageIdentifier >de.grimmfrost.tda</macPackageIdentifier >
7676 <macPackageName >TDA</macPackageName >
77- <icon >src/main/resources/TDA.png </icon >
77+ <icon >src/main/resources/TDA.icns </icon >
7878 </configuration >
7979 </execution >
8080 </executions >
You can’t perform that action at this time.
0 commit comments