Skip to content

Commit

Permalink
Switch to uber-jar packaging
Browse files Browse the repository at this point in the history
fast-jar doesn't work well due to:
quarkusio/quarkus#32877 or
https://bugs.openjdk.org/browse/JDK-8265602. We cannot use
JDK 17 based AppCDS dump due to
quarkusio/quarkus#33069

Lets use static dump and uber jar for the demo.
  • Loading branch information
jerboaa committed Oct 23, 2023
1 parent 2ea2684 commit e5f5a43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions getting-started/.s2i/environment
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MAVEN_S2I_ARTIFACT_DIRS=target/quarkus-app
MAVEN_S2I_ARTIFACT_DIRS=target
MAVEN_OPTS=-XX:+UseCompressedOops -XX:+UseCompressedClassPointers
MAVEN_ARGS=-Dquarkus.platform.version=2.16.6.Final -Dquarkus.package.create-appcds=true -Dquarkus.package.type=fast-jar package
S2I_SOURCE_DEPLOYMENTS_FILTER=app lib quarkus app-cds.jsa quarkus-run.jar
MAVEN_ARGS=-Dquarkus.platform.version=2.16.6.Final -Dquarkus.package.create-appcds=true -Dquarkus.package.type=uber-jar package
S2I_SOURCE_DEPLOYMENTS_FILTER=app-cds.jsa getting-started*runner.jar
JAVA_OPTS_APPEND=-XX:+UseCompressedClassPointers -XX:+UseCompressedOops -Xshare:on -XX:SharedArchiveFile=/deployments/app-cds.jsa -Dquarkus.http.host=0.0.0.0
AB_JOLOKIA_OFF=true
JAVA_APP_JAR=/deployments/quarkus-run.jar
JAVA_APP_JAR=/deployments/getting-started-1.0.0-SNAPSHOT-runner.jar

0 comments on commit e5f5a43

Please sign in to comment.