Skip to content

Commit

Permalink
chore: remove --enable-preview (fixes #1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
deki committed Sep 27, 2024
1 parent 2f2a93d commit 5d4a231
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/springboot3/pet-store-native/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN mv graalvm-community-openjdk-${GRAAL_VERSION}* /usr/lib/graalvm
ENV JAVA_HOME /usr/lib/graalvm

# Maven
ENV MVN_VERSION 3.9.6
ENV MVN_VERSION 3.9.9
ENV MVN_FOLDERNAME apache-maven-${MVN_VERSION}
ENV MVN_FILENAME apache-maven-${MVN_VERSION}-bin.tar.gz
RUN curl -4 -L https://archive.apache.org/dist/maven/maven-3/${MVN_VERSION}/binaries/${MVN_FILENAME} | tar -xvz
Expand Down
3 changes: 2 additions & 1 deletion samples/springboot3/pet-store-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
<artifactId>native-maven-plugin</artifactId>
<configuration>
<buildArgs>
<buildArg>--enable-url-protocols=http --enable-preview -march=compatibility</buildArg>
<buildArg>--enable-url-protocols=http</buildArg>
<buildArg>-march=compatibility</buildArg>
</buildArgs>
</configuration>
<executions>
Expand Down

0 comments on commit 5d4a231

Please sign in to comment.