Skip to content

Commit f9bd26c

Browse files
committed
Fix presto-function-server jar file missing when building presto image
1 parent 826adcb commit f9bd26c

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/presto-release-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ jobs:
290290
./presto-cli/target/presto-cli-*-executable.jar
291291
./presto-benchmark-driver/target/presto-benchmark-driver-*-executable.jar
292292
./presto-testing-server-launcher/target/presto-testing-server-launcher-*-executable.jar
293+
./presto-function-server/target/presto-function-server-*-executable.jar
293294
294295
publish-docker-image:
295296
needs: publish-maven-artifacts
@@ -334,6 +335,7 @@ jobs:
334335
run: |
335336
mv ./presto-server/target/presto-server-*.tar.gz docker/
336337
mv ./presto-cli/target/presto-cli-*-executable.jar docker/
338+
mv ./presto-function-server/target/presto-function-server-*-executable.jar docker/
337339
338340
- name: Build docker image and publish
339341
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0

presto-function-server/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,22 @@
212212
</execution>
213213
</executions>
214214
</plugin>
215+
<plugin>
216+
<groupId>org.skife.maven</groupId>
217+
<artifactId>really-executable-jar-maven-plugin</artifactId>
218+
<configuration>
219+
<flags>-Xms128m</flags>
220+
<classifier>executable</classifier>
221+
</configuration>
222+
<executions>
223+
<execution>
224+
<phase>package</phase>
225+
<goals>
226+
<goal>really-executable-jar</goal>
227+
</goals>
228+
</execution>
229+
</executions>
230+
</plugin>
215231
</plugins>
216232
</build>
217233
</profile>

0 commit comments

Comments
 (0)