|
4 | 4 |
|
5 | 5 | <groupId>com.oracle</groupId>
|
6 | 6 | <artifactId>simpletool</artifactId>
|
7 |
| - <version>19.2.0</version> |
| 7 | + <version>19.3.0</version> |
8 | 8 |
|
9 | 9 | <name>simpletool</name>
|
10 | 10 |
|
11 | 11 | <properties>
|
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
13 | 13 | <maven.compiler.source>1.8</maven.compiler.source>
|
14 | 14 | <maven.compiler.target>1.8</maven.compiler.target>
|
15 |
| - <graalvm.version>19.2.0</graalvm.version> |
| 15 | + <graalvm.version>19.3.0</graalvm.version> |
16 | 16 | </properties>
|
17 |
| - |
| 17 | + <profiles> |
| 18 | + <profile> |
| 19 | + <id>jdk11-graalvm</id> |
| 20 | + <activation> |
| 21 | + <jdk>[11,</jdk> |
| 22 | + </activation> |
| 23 | + <properties> |
| 24 | + <jar.dir>${project.build.directory}/jars</jar.dir> |
| 25 | + <test.argLine>--upgrade-module-path=${jar.dir}/truffle-api.jar</test.argLine> |
| 26 | + </properties> |
| 27 | + <build> |
| 28 | + <plugins> |
| 29 | + <plugin> |
| 30 | + <groupId>org.apache.maven.plugins</groupId> |
| 31 | + <artifactId>maven-dependency-plugin</artifactId> |
| 32 | + <version>2.10</version> |
| 33 | + <executions> |
| 34 | + <execution> |
| 35 | + <id>copy</id> |
| 36 | + <phase>process-test-classes</phase> |
| 37 | + <goals> |
| 38 | + <goal>copy</goal> |
| 39 | + </goals> |
| 40 | + <configuration> |
| 41 | + <artifactItems> |
| 42 | + <artifactItem> |
| 43 | + <groupId>org.graalvm.truffle</groupId> |
| 44 | + <artifactId>truffle-api</artifactId> |
| 45 | + <version>${graalvm.version}</version> |
| 46 | + <type>jar</type> |
| 47 | + <overWrite>true</overWrite> |
| 48 | + <destFileName>truffle-api.jar</destFileName> |
| 49 | + </artifactItem> |
| 50 | + </artifactItems> |
| 51 | + <outputDirectory>${jar.dir}</outputDirectory> |
| 52 | + </configuration> |
| 53 | + </execution> |
| 54 | + </executions> |
| 55 | + </plugin> |
| 56 | + </plugins> |
| 57 | + </build> |
| 58 | + </profile> |
| 59 | + <profile> |
| 60 | + <id>jdk8-graalvm</id> |
| 61 | + <activation> |
| 62 | + <jdk>1.8</jdk> |
| 63 | + </activation> |
| 64 | + <properties> |
| 65 | + <test.argLine>-XX:-UseJVMCIClassLoader</test.argLine> |
| 66 | + </properties> |
| 67 | + </profile> |
| 68 | + </profiles> |
18 | 69 | <dependencies>
|
19 | 70 | <dependency>
|
20 | 71 | <groupId>junit</groupId>
|
|
32 | 83 | <artifactId>truffle-dsl-processor</artifactId>
|
33 | 84 | <version>${graalvm.version}</version>
|
34 | 85 | </dependency>
|
| 86 | + <dependency> |
| 87 | + <groupId>org.graalvm.js</groupId> |
| 88 | + <artifactId>js</artifactId> |
| 89 | + <version>${graalvm.version}</version> |
| 90 | + <scope>test</scope> |
| 91 | + </dependency> |
35 | 92 | </dependencies>
|
36 | 93 |
|
37 | 94 | <build>
|
|
47 | 104 | <version>2.9</version>
|
48 | 105 | <configuration>
|
49 | 106 | <!--Disables classpath issolation making testing simpler, not for use in production scenarios -->
|
50 |
| - <argLine>-XX:-UseJVMCIClassLoader</argLine> |
| 107 | + <argLine>-Dgraalvm.locatorDisabled=true ${test.argLine}</argLine> |
51 | 108 | </configuration>
|
52 | 109 | </plugin>
|
53 | 110 | </plugins>
|
|
0 commit comments