|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | + contributor license agreements. See the NOTICE file distributed with |
| 5 | + this work for additional information regarding copyright ownership. |
| 6 | + The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 | + (the "License"); you may not use this file except in compliance with |
| 8 | + the License. You may obtain a copy of the License at |
| 9 | +
|
| 10 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +
|
| 12 | + Unless required by applicable law or agreed to in writing, software |
| 13 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + See the License for the specific language governing permissions and |
| 16 | + limitations under the License. |
| 17 | +--> |
| 18 | +<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"> |
| 19 | + <modelVersion>4.0.0</modelVersion> |
| 20 | + |
| 21 | + <parent> |
| 22 | + <groupId>io.roastedroot</groupId> |
| 23 | + <artifactId>proxy-wasm-java-host-parent</artifactId> |
| 24 | + <version>999-SNAPSHOT</version> |
| 25 | + <relativePath>../../pom.xml</relativePath> |
| 26 | + </parent> |
| 27 | + |
| 28 | + <artifactId>proxy-wasm-integration-tests-tomee</artifactId> |
| 29 | + <packaging>war</packaging> |
| 30 | + <name>${project.artifactId}</name> |
| 31 | + |
| 32 | + <properties> |
| 33 | + <tomee.version>10.0.0</tomee.version> |
| 34 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 35 | + <maven.compiler.target>17</maven.compiler.target> |
| 36 | + <maven.compiler.source>17</maven.compiler.source> |
| 37 | + </properties> |
| 38 | + |
| 39 | + <dependencies> |
| 40 | + <dependency> |
| 41 | + <groupId>com.google.code.gson</groupId> |
| 42 | + <artifactId>gson</artifactId> |
| 43 | + <version>2.13.1</version> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>io.roastedroot</groupId> |
| 47 | + <artifactId>proxy-wasm-jaxrs</artifactId> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>org.apache.tomee.bom</groupId> |
| 51 | + <artifactId>tomee-webprofile</artifactId> |
| 52 | + <version>${tomee.version}</version> |
| 53 | + <scope>provided</scope> |
| 54 | + <exclusions> |
| 55 | + <exclusion> |
| 56 | + <groupId>org.apache.tomee</groupId> |
| 57 | + <artifactId>tomee-webapp</artifactId> |
| 58 | + </exclusion> |
| 59 | + </exclusions> |
| 60 | + </dependency> |
| 61 | + |
| 62 | + <dependency> |
| 63 | + <groupId>org.apache.tomee.bom</groupId> |
| 64 | + <artifactId>tomee-webprofile-api</artifactId> |
| 65 | + <version>${tomee.version}</version> |
| 66 | + <scope>provided</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>junit</groupId> |
| 70 | + <artifactId>junit</artifactId> |
| 71 | + <version>4.13.2</version> |
| 72 | + <scope>test</scope> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>org.apache.tomee</groupId> |
| 76 | + <artifactId>arquillian-tomee-embedded</artifactId> |
| 77 | + <version>${tomee.version}</version> |
| 78 | + <scope>test</scope> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>org.jboss.shrinkwrap.resolver</groupId> |
| 82 | + <artifactId>shrinkwrap-resolver-impl-maven</artifactId> |
| 83 | + <version>3.3.1</version> |
| 84 | + <scope>test</scope> |
| 85 | + </dependency> |
| 86 | + </dependencies> |
| 87 | + |
| 88 | + <build> |
| 89 | + <plugins> |
| 90 | + <plugin> |
| 91 | + <groupId>com.dylibso.chicory</groupId> |
| 92 | + <artifactId>chicory-compiler-maven-plugin</artifactId> |
| 93 | + <version>${chicory.version}</version> |
| 94 | + <executions> |
| 95 | + <execution> |
| 96 | + <id>wasm-shim</id> |
| 97 | + <goals> |
| 98 | + <goal>compile</goal> |
| 99 | + </goals> |
| 100 | + <configuration> |
| 101 | + <name>io.roastedroot.proxywasm.jaxrs.it.internal.MainWasm</name> |
| 102 | + <wasmFile>../../proxy-wasm-java-host/src/test/go-examples/unit_tester/main.wasm</wasmFile> |
| 103 | + </configuration> |
| 104 | + </execution> |
| 105 | + </executions> |
| 106 | + </plugin> |
| 107 | + <plugin> |
| 108 | + <groupId>org.apache.maven.plugins</groupId> |
| 109 | + <artifactId>maven-surefire-plugin</artifactId> |
| 110 | + <version>3.2.5</version> |
| 111 | + <configuration> |
| 112 | + <systemPropertyVariables> |
| 113 | + <proxy.wasm.version>${project.version}</proxy.wasm.version> |
| 114 | + </systemPropertyVariables> |
| 115 | + </configuration> |
| 116 | + </plugin> |
| 117 | + <plugin> |
| 118 | + <groupId>org.apache.tomee.maven</groupId> |
| 119 | + <artifactId>tomee-maven-plugin</artifactId> |
| 120 | + <version>${tomee.version}</version> |
| 121 | + <configuration> |
| 122 | + <tomeeVersion>${tomee.version}</tomeeVersion> |
| 123 | + <tomeeClassifier>webprofile</tomeeClassifier> |
| 124 | + </configuration> |
| 125 | + </plugin> |
| 126 | + </plugins> |
| 127 | + </build> |
| 128 | +</project> |
0 commit comments