|
9 | 9 | <url>http://maven.apache.org</url> |
10 | 10 | <properties> |
11 | 11 | <graalvm.version>1.0.0-rc8</graalvm.version> |
| 12 | + <compiler.dir>${project.build.directory}/compiler</compiler.dir> |
12 | 13 | </properties> |
13 | 14 | <build> |
14 | 15 | <pluginManagement> |
|
25 | 26 | <artifactId>maven-surefire-plugin</artifactId> |
26 | 27 | <version>2.22.1</version> |
27 | 28 | <configuration> |
28 | | - <argLine>-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI --upgrade-module-path=${project.build.directory}/compiler-${graalvm.version}.jar</argLine> |
| 29 | + <argLine>-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI --module-path=${compiler.dir} --upgrade-module-path=${compiler.dir}/compiler.jar</argLine> |
29 | 30 | </configuration> |
30 | 31 | </plugin> |
31 | 32 | <plugin> |
|
47 | 48 | <version>${graalvm.version}</version> |
48 | 49 | <type>jar</type> |
49 | 50 | <overWrite>true</overWrite> |
50 | | - <destFileName>compiler-${graalvm.version}.jar</destFileName> |
| 51 | + <destFileName>compiler.jar</destFileName> |
| 52 | + </artifactItem> |
| 53 | + <artifactItem> |
| 54 | + <groupId>org.graalvm.truffle</groupId> |
| 55 | + <artifactId>truffle-api</artifactId> |
| 56 | + <version>${graalvm.version}</version> |
| 57 | + <type>jar</type> |
| 58 | + <overWrite>true</overWrite> |
| 59 | + <destFileName>truffle-api.jar</destFileName> |
| 60 | + </artifactItem> |
| 61 | + <artifactItem> |
| 62 | + <groupId>org.graalvm.sdk</groupId> |
| 63 | + <artifactId>graal-sdk</artifactId> |
| 64 | + <version>${graalvm.version}</version> |
| 65 | + <type>jar</type> |
| 66 | + <overWrite>true</overWrite> |
| 67 | + <destFileName>graal-sdk.jar</destFileName> |
51 | 68 | </artifactItem> |
52 | 69 | </artifactItems> |
53 | | - <outputDirectory>${project.build.directory}</outputDirectory> |
| 70 | + <outputDirectory>${compiler.dir}</outputDirectory> |
54 | 71 | </configuration> |
55 | 72 | </execution> |
56 | 73 | </executions> |
|
75 | 92 | <classpath/> |
76 | 93 | <argument>-XX:+UnlockExperimentalVMOptions</argument> |
77 | 94 | <argument>-XX:+EnableJVMCI</argument> |
78 | | - <argument>--upgrade-module-path=${project.build.directory}/compiler-${graalvm.version}.jar</argument> |
| 95 | + <argument>--upgrade-module-path=${compiler.dir}/compiler.jar</argument> |
79 | 96 | <argument>com.mycompany.app.App</argument> |
80 | 97 | </arguments> |
81 | 98 | </configuration> |
|
126 | 143 | <groupId>org.graalvm.truffle</groupId> |
127 | 144 | <artifactId>truffle-api</artifactId> |
128 | 145 | <version>${graalvm.version}</version> |
129 | | - <scope>compile</scope> |
| 146 | + <scope>runtime</scope> |
130 | 147 | </dependency> |
131 | 148 | <dependency> |
132 | 149 | <groupId>org.graalvm.js</groupId> |
|
0 commit comments