Skip to content

Commit

Permalink
🐛 Fix js-language dependency in native profile
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Jul 22, 2024
1 parent 9fdd1b7 commit 196c039
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@
</http>
<time>60000</time>
</wait>
<autoRemove>true</autoRemove>
</run>
</image>
</images>
Expand Down Expand Up @@ -514,6 +515,11 @@
<groupId>org.restheart</groupId>
<artifactId>restheart-mongoclient-provider</artifactId>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId> <!-- required to override test dependency declared to fix karate test hanging due to conflict in GraalVM releases -->
<artifactId>js-language</artifactId>
<scope>runtime</scope>
</dependency>
<!-- uncomment to add test plugins to the native image -->
<!-- <dependency>
<groupId>org.restheart</groupId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
-->
<mongodb.version>7.0</mongodb.version>
<jdk.version>21</jdk.version>
<graalvm.version>23.1.3</graalvm.version>
<graalvm.version>23.1.2</graalvm.version>
<truffle.version>24.0.1</truffle.version> <!-- Truffle and Graal languages are compatible with the latest version of the GraalVM JDK as well as the latest LTS release.-->
<!--
mvn compile -DskipUpdateLicense=false add missing license headers
Expand Down Expand Up @@ -360,7 +360,7 @@
<groupId>org.graalvm.js</groupId> <!-- note: avoid dependecy to org.graalvm.polyglot:js-community:pom due to https://github.com/SoftInstigate/restheart/issues/510 -->
<artifactId>js-language</artifactId>
<version>${truffle.version}</version>
<scope>runtime</scope>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.graalvm.truffle</groupId>
Expand Down

0 comments on commit 196c039

Please sign in to comment.