Skip to content

Commit

Permalink
mac override skip upx
Browse files Browse the repository at this point in the history
  • Loading branch information
sanshengshui committed Jan 11, 2025
1 parent 876e3e8 commit 85487ce
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion toolkit-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<assembly-suffix />
<executable-suffix />
<directory>${project.basedir}/target</directory>
<skipCompress>true</skipCompress>
<skipCompress>false</skipCompress>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -294,6 +294,26 @@
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>compress-binary</id>
<goals>
<goal>exec</goal>
</goals>
<phase>package</phase>
<configuration combine.self="override">
<executable>upx</executable>
<skip>true</skip>
<arguments>
<argument>${project.build.directory}/toolkit${executable-suffix}</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand Down

0 comments on commit 85487ce

Please sign in to comment.