| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.teaclave.javasdk</groupId> |
| <artifactId>JavaEnclave</artifactId> |
| <version>0.1.0</version> |
| </parent> |
| <artifactId>optimizationDetector</artifactId> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <compilerArgs> |
| <arg>--add-modules</arg> |
| <arg>jdk.internal.vm.ci,jdk.internal.vm.compiler</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.options=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.hotspot=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.nodes=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.printer=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.nodes.graphbuilderconf=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.phases=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.java=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.graph.iterators=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.graph=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.core.common=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.nodes.java=ALL-UNNAMED</arg> |
| <arg>--add-exports</arg> |
| <arg>jdk.internal.vm.compiler/org.graalvm.compiler.nodes.cfg=ALL-UNNAMED</arg> |
| </compilerArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI |
| --add-modules jdk.internal.vm.ci |
| --add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.hotspot=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.nodes=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.nodes.graphbuilderconf=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.phases=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.java=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.graph.iterators=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.options=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.graph=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.core.common=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.nodes.java=ALL-UNNAMED |
| --add-exports=jdk.internal.vm.compiler/org.graalvm.compiler.nodes.cfg=ALL-UNNAMED |
| </argLine> |
| </configuration> |
| |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.teaclave.javasdk</groupId> |
| <artifactId>common</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |