Skip to content

Commit 85487ce

Browse files
committed
mac override skip upx
1 parent 876e3e8 commit 85487ce

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

toolkit-app/pom.xml

+21-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<assembly-suffix />
3737
<executable-suffix />
3838
<directory>${project.basedir}/target</directory>
39-
<skipCompress>true</skipCompress>
39+
<skipCompress>false</skipCompress>
4040
<maven.compiler.source>21</maven.compiler.source>
4141
<maven.compiler.target>21</maven.compiler.target>
4242
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
@@ -294,6 +294,26 @@
294294
</properties>
295295
<build>
296296
<plugins>
297+
<plugin>
298+
<groupId>org.codehaus.mojo</groupId>
299+
<artifactId>exec-maven-plugin</artifactId>
300+
<executions>
301+
<execution>
302+
<id>compress-binary</id>
303+
<goals>
304+
<goal>exec</goal>
305+
</goals>
306+
<phase>package</phase>
307+
<configuration combine.self="override">
308+
<executable>upx</executable>
309+
<skip>true</skip>
310+
<arguments>
311+
<argument>${project.build.directory}/toolkit${executable-suffix}</argument>
312+
</arguments>
313+
</configuration>
314+
</execution>
315+
</executions>
316+
</plugin>
297317
<plugin>
298318
<groupId>org.codehaus.mojo</groupId>
299319
<artifactId>exec-maven-plugin</artifactId>

0 commit comments

Comments
 (0)