Skip to content

Commit

Permalink
Cleanup Parent POM
Browse files Browse the repository at this point in the history
This PR cleans up the Parent POM by removing GraalVM dependencies that are now longer needed and were carried over from previous versions.

This targets Platform 4.2.x
  • Loading branch information
alvarosanchez committed Sep 20, 2023
1 parent 5c33d4f commit 53e7751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
8 changes: 0 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
# that they will appear in the Micronaut BOM as <properties>
#
managed-junit5 = "5.10.0"
# be sure to update graal version in gradle.properties as well
# Intentionally pin to 22.0.0.2 see https://github.com/micronaut-projects/micronaut-kafka/pull/564 and https://github.com/micronaut-projects/micronaut-core/pull/7663
managed-graal-sdk = "23.0.1"
managed-graal = "22.3.0"
managed-graal-svm = "23.0.1"
managed-javax-annotation-api = "1.3.2"
managed-jna = "5.13.0"
managed-jsr305 = "3.0.2"
Expand Down Expand Up @@ -175,9 +170,6 @@ boms-testcontainers = { module = "org.testcontainers:testcontainers-bom", versio
# Libraries which start with managed- are managed by Micronaut in the sense
# that they will appear in the Micronaut BOM
#
managed-graal = { module = "org.graalvm.nativeimage:svm", version.ref = "managed-graal-svm" }
managed-graal-sdk = { module = "org.graalvm.sdk:graal-sdk", version.ref = "managed-graal-sdk" }

managed-javax-annotation-api = { module = "javax.annotation:javax.annotation-api", version.ref = "managed-javax-annotation-api" }

managed-jna = { module = "net.java.dev.jna:jna", version.ref = "managed-jna" }
Expand Down
17 changes: 2 additions & 15 deletions parent/src/pom-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,6 @@
<exists>${env.JAVA_HOME}/bin/native-image</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>org.graalvm.sdk</groupId>
<artifactId>graal-sdk</artifactId>
<version>${graal.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.graalvm.nativeimage</groupId>
<artifactId>svm</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -236,10 +223,10 @@
<artifactId>native-maven-plugin</artifactId>
<version>${maven.native.plugin.version}</version>
<extensions>true</extensions>
<configuration combine.self="override">
<configuration>
<imageName>${project.artifactId}</imageName>
<mainClass>${exec.mainClass}</mainClass>
<buildArgs>
<buildArgs combine.children="append">
<buildArg>--no-fallback</buildArg>
</buildArgs>
<metadataRepository>
Expand Down

0 comments on commit 53e7751

Please sign in to comment.