Skip to content

Commit b43ad0e

Browse files
committed
Add org.graalvm.js:js dependency is missing in the fat jar
1 parent 365f7c0 commit b43ad0e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

core/esmf-aspect-model-validator/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
<dependency>
4444
<groupId>org.graalvm.js</groupId>
4545
<artifactId>js</artifactId>
46-
<type>pom</type>
46+
<type>jar</type>
47+
<version>${graalvm-version}</version>
4748
</dependency>
4849
<dependency>
4950
<groupId>org.graalvm.js</groupId>

tools/samm-cli/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,14 @@
9999
<dependency>
100100
<groupId>org.graalvm.js</groupId>
101101
<artifactId>js</artifactId>
102-
<type>pom</type>
102+
<type>jar</type>
103+
<version>${graalvm-version}</version>
104+
</dependency>
105+
<dependency>
106+
<groupId>org.graalvm.js</groupId>
107+
<artifactId>js-scriptengine</artifactId>
108+
<type>jar</type>
109+
<version>${graalvm-version}</version>
103110
</dependency>
104111

105112
<!-- Test dependencies -->
@@ -286,6 +293,10 @@
286293
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
287294
</transformers>
288295
<artifactSet>
296+
<includes>
297+
<include>org.graalvm.js:js</include>
298+
<include>org.graalvm.js:js-scriptengine</include>
299+
</includes>
289300
<excludes>
290301
<!-- Duplicate annotations that are already contained in javax.annotation-api -->
291302
<exclude>javax.annotation:jsr250-api</exclude>

0 commit comments

Comments
 (0)