|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Copyright (c) 2000, 2024, Oracle and/or its affiliates. |
| 4 | +
|
| 5 | + Licensed under the Universal Permissive License v 1.0 as shown at |
| 6 | + https://oss.oracle.com/licenses/upl. |
| 7 | + --> |
| 8 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 9 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 11 | + <modelVersion>4.0.0</modelVersion> |
| 12 | + |
| 13 | + <parent> |
| 14 | + <groupId>com.oracle.coherence.ce.tests</groupId> |
| 15 | + <artifactId>coherence-functional-tests</artifactId> |
| 16 | + <version>${revision}</version> |
| 17 | + <relativePath>../pom.xml</relativePath> |
| 18 | + </parent> |
| 19 | + |
| 20 | + <artifactId>grpc-client-tck-21</artifactId> |
| 21 | + <name>Coherence gRPC Java 21+ Client Tests (TCK)</name> |
| 22 | + |
| 23 | + <properties> |
| 24 | + <module.name>grpc.client.java21.testing</module.name> |
| 25 | + <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
| 26 | + <test.server.classpath>${project.build.directory}/server</test.server.classpath> |
| 27 | + |
| 28 | + <java.version>21</java.version> |
| 29 | + <java.version.release>21</java.version.release> |
| 30 | + </properties> |
| 31 | + |
| 32 | + <dependencies> |
| 33 | + <dependency> |
| 34 | + <groupId>${coherence.group.id}</groupId> |
| 35 | + <artifactId>coherence-java-client</artifactId> |
| 36 | + <version>${project.version}</version> |
| 37 | + <scope>provided</scope> |
| 38 | + <optional>true</optional> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>${coherence.group.id}</groupId> |
| 42 | + <artifactId>coherence-grpc-proxy</artifactId> |
| 43 | + <version>${project.version}</version> |
| 44 | + <scope>provided</scope> |
| 45 | + <optional>true</optional> |
| 46 | + </dependency> |
| 47 | + |
| 48 | + <dependency> |
| 49 | + <groupId>${coherence.group.id}</groupId> |
| 50 | + <artifactId>coherence-json</artifactId> |
| 51 | + <version>${project.version}</version> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + <dependency> |
| 55 | + <groupId>${coherence.group.id}.tests</groupId> |
| 56 | + <artifactId>grpc-client-tck</artifactId> |
| 57 | + <version>${project.version}</version> |
| 58 | + </dependency> |
| 59 | + |
| 60 | + <dependency> |
| 61 | + <groupId>${coherence.group.id}.tests</groupId> |
| 62 | + <artifactId>ai</artifactId> |
| 63 | + <version>${project.version}</version> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <dependency> |
| 67 | + <groupId>org.junit.jupiter</groupId> |
| 68 | + <artifactId>junit-jupiter-api</artifactId> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>org.junit.jupiter</groupId> |
| 72 | + <artifactId>junit-jupiter-params</artifactId> |
| 73 | + </dependency> |
| 74 | + |
| 75 | + <dependency> |
| 76 | + <groupId>io.reactivex.rxjava3</groupId> |
| 77 | + <artifactId>rxjava</artifactId> |
| 78 | + </dependency> |
| 79 | + </dependencies> |
| 80 | + |
| 81 | + <build> |
| 82 | + <extensions> |
| 83 | + <extension> |
| 84 | + <groupId>kr.motd.maven</groupId> |
| 85 | + <artifactId>os-maven-plugin</artifactId> |
| 86 | + <version>1.6.0</version> |
| 87 | + </extension> |
| 88 | + </extensions> |
| 89 | + |
| 90 | + <plugins> |
| 91 | + <plugin> |
| 92 | + <groupId>org.xolstice.maven.plugins</groupId> |
| 93 | + <artifactId>protobuf-maven-plugin</artifactId> |
| 94 | + <version>${maven.protobuf.plugin.version}</version> |
| 95 | + <executions> |
| 96 | + <execution> |
| 97 | + <id>compile</id> |
| 98 | + <goals> |
| 99 | + <goal>compile</goal> |
| 100 | + <goal>compile-custom</goal> |
| 101 | + </goals> |
| 102 | + </execution> |
| 103 | + </executions> |
| 104 | + <configuration> |
| 105 | + <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> |
| 106 | + <pluginId>grpc-java</pluginId> |
| 107 | + <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
| 108 | + </configuration> |
| 109 | + </plugin> |
| 110 | + |
| 111 | + <plugin> |
| 112 | + <groupId>com.oracle.coherence.moditect</groupId> |
| 113 | + <artifactId>moditect-maven-plugin</artifactId> |
| 114 | + </plugin> |
| 115 | + |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-surefire-plugin</artifactId> |
| 119 | + <configuration> |
| 120 | + <!-- |
| 121 | + Tests are run by other modules |
| 122 | + grpc-proxy-helidon |
| 123 | + grpc-proxy-netty |
| 124 | + --> |
| 125 | + <skip>true</skip> |
| 126 | + <systemProperties> |
| 127 | + <test.server.classpath>${test.server.classpath}</test.server.classpath> |
| 128 | + </systemProperties> |
| 129 | + </configuration> |
| 130 | + </plugin> |
| 131 | + |
| 132 | + <plugin> |
| 133 | + <groupId>org.apache.maven.plugins</groupId> |
| 134 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 135 | + <configuration> |
| 136 | + <!-- |
| 137 | + Tests are run by other modules |
| 138 | + grpc-client-helidon |
| 139 | + grpc-client-netty |
| 140 | + --> |
| 141 | + <skip>true</skip> |
| 142 | + <systemProperties> |
| 143 | + <test.server.classpath>${test.server.classpath}</test.server.classpath> |
| 144 | + </systemProperties> |
| 145 | + </configuration> |
| 146 | + </plugin> |
| 147 | + |
| 148 | + <plugin> |
| 149 | + <groupId>org.apache.maven.plugins</groupId> |
| 150 | + <artifactId>maven-dependency-plugin</artifactId> |
| 151 | + <executions> |
| 152 | + <execution> |
| 153 | + <id>get-dependencies</id> |
| 154 | + <goals> |
| 155 | + <goal>copy-dependencies</goal> |
| 156 | + </goals> |
| 157 | + <phase>prepare-package</phase> |
| 158 | + <configuration> |
| 159 | + <outputDirectory>${test.server.classpath}</outputDirectory> |
| 160 | + </configuration> |
| 161 | + </execution> |
| 162 | + </executions> |
| 163 | + </plugin> |
| 164 | + </plugins> |
| 165 | + </build> |
| 166 | +</project> |
0 commit comments