|
33 | 33 | <groupId>org.graalvm.js</groupId> |
34 | 34 | <artifactId>js-scriptengine</artifactId> |
35 | 35 | <version>${graalvm.version}</version> |
36 | | - <scope>runtime</scope> |
37 | 36 | </dependency> |
38 | 37 | <dependency> |
39 | 38 | <groupId>org.graalvm.tools</groupId> |
|
47 | 46 | <version>${graalvm.version}</version> |
48 | 47 | <scope>runtime</scope> |
49 | 48 | </dependency> |
50 | | - <dependency> |
51 | | - <groupId>org.graalvm.truffle</groupId> |
52 | | - <artifactId>truffle-api</artifactId> |
53 | | - <version>${graalvm.version}</version> |
54 | | - <scope>runtime</scope> |
55 | | - </dependency> |
56 | 49 | </dependencies> |
57 | 50 | <build> |
58 | 51 | <pluginManagement> |
|
187 | 180 | <artifactId>maven-surefire-plugin</artifactId> |
188 | 181 | <version>2.22.1</version> |
189 | 182 | </plugin> |
190 | | - <plugin> |
191 | | - <groupId>org.apache.maven.plugins</groupId> |
192 | | - <artifactId>maven-dependency-plugin</artifactId> |
193 | | - <version>2.10</version> |
194 | | - <executions> |
195 | | - <execution> |
196 | | - <id>copy</id> |
197 | | - <phase>process-test-classes</phase> |
198 | | - <goals> |
199 | | - <goal>copy</goal> |
200 | | - </goals> |
201 | | - <configuration> |
202 | | - <artifactItems> |
203 | | - <artifactItem> |
204 | | - <groupId>org.graalvm.compiler</groupId> |
205 | | - <artifactId>compiler</artifactId> |
206 | | - <version>${graalvm.version}</version> |
207 | | - <type>jar</type> |
208 | | - <overWrite>true</overWrite> |
209 | | - <destFileName>compiler.jar</destFileName> |
210 | | - </artifactItem> |
211 | | - <artifactItem> |
212 | | - <groupId>org.graalvm.truffle</groupId> |
213 | | - <artifactId>truffle-api</artifactId> |
214 | | - <version>${graalvm.version}</version> |
215 | | - <type>jar</type> |
216 | | - <overWrite>true</overWrite> |
217 | | - <destFileName>truffle-api.jar</destFileName> |
218 | | - </artifactItem> |
219 | | - <artifactItem> |
220 | | - <groupId>org.graalvm.sdk</groupId> |
221 | | - <artifactId>graal-sdk</artifactId> |
222 | | - <version>${graalvm.version}</version> |
223 | | - <type>jar</type> |
224 | | - <overWrite>true</overWrite> |
225 | | - <destFileName>graal-sdk.jar</destFileName> |
226 | | - </artifactItem> |
227 | | - </artifactItems> |
228 | | - <outputDirectory>${compiler.dir}</outputDirectory> |
229 | | - </configuration> |
230 | | - </execution> |
231 | | - </executions> |
232 | | - </plugin> |
233 | 183 | <plugin> |
234 | 184 | <groupId>org.codehaus.mojo</groupId> |
235 | 185 | <artifactId>exec-maven-plugin</artifactId> |
|
247 | 197 | <argument>-classpath</argument> |
248 | 198 | <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
249 | 199 | <classpath/> |
250 | | - <argument>-XX:+UnlockExperimentalVMOptions</argument> |
251 | | - <argument>-XX:+EnableJVMCI</argument> |
252 | | - <argument>--upgrade-module-path=${compiler.dir}/compiler.jar</argument> |
253 | | - <argument>com.mycompany.app.App</argument> |
254 | | - </arguments> |
255 | | - </configuration> |
256 | | - </execution> |
257 | | - <execution> |
258 | | - <id>nograal</id> |
259 | | - <goals> |
260 | | - <goal>exec</goal> |
261 | | - </goals> |
262 | | - <configuration> |
263 | | - <arguments> |
264 | | - <argument>--module-path</argument> |
265 | | - <!-- automatically creates the modulepath using all project dependencies, also adding the project build directory --> |
266 | | - <modulepath/> |
267 | | - <argument>-classpath</argument> |
268 | | - <!-- automatically creates the classpath using all project dependencies, also adding the project build directory --> |
269 | | - <classpath/> |
270 | | - <argument>com.mycompany.app.App</argument> |
271 | 200 | </arguments> |
272 | 201 | </configuration> |
273 | 202 | </execution> |
|
0 commit comments