xref: /aosp_15_r20/external/flatbuffers/grpc/tests/pom.xml (revision 890232f25432b36107d06881e0a25aaa6b473652)
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3    <modelVersion>4.0.0</modelVersion>
4    <parent>
5        <groupId>com.google.flatbuffers</groupId>
6        <artifactId>flatbuffers-parent</artifactId>
7        <version>2.0.3</version>
8    </parent>
9    <artifactId>grpc-test</artifactId>
10    <description>Example/Test project demonstrating usage of flatbuffers with GRPC-Java instead of protobufs
11    </description>
12    <properties>
13        <gRPC.version>2.0.3</gRPC.version>
14    </properties>
15    <dependencies>
16        <dependency>
17            <groupId>com.google.flatbuffers</groupId>
18            <artifactId>flatbuffers-java</artifactId>
19            <version>${project.parent.version}</version>
20            <scope>test</scope>
21        </dependency>
22        <dependency>
23            <groupId>com.google.flatbuffers</groupId>
24            <artifactId>flatbuffers-java-grpc</artifactId>
25            <version>${project.parent.version}</version>
26            <scope>test</scope>
27        </dependency>
28        <dependency>
29            <groupId>io.grpc</groupId>
30            <artifactId>grpc-stub</artifactId>
31            <version>${gRPC.version}</version>
32            <scope>test</scope>
33        </dependency>
34        <dependency>
35            <groupId>io.grpc</groupId>
36            <artifactId>grpc-netty</artifactId>
37            <version>${gRPC.version}</version>
38            <scope>test</scope>
39        </dependency>
40        <dependency>
41            <groupId>junit</groupId>
42            <artifactId>junit</artifactId>
43            <version>4.13.1</version>
44            <scope>test</scope>
45        </dependency>
46    </dependencies>
47
48    <build>
49        <plugins>
50            <plugin>
51                <groupId>org.codehaus.mojo</groupId>
52                <artifactId>build-helper-maven-plugin</artifactId>
53                <executions>
54                    <execution>
55                        <id>add-source</id>
56                        <phase>generate-sources</phase>
57                        <goals>
58                            <goal>add-test-source</goal>
59                        </goals>
60                        <configuration>
61                            <sources>
62                                <source>${project.basedir}</source>
63				<source>${project.basedir}/../../tests</source>
64                            </sources>
65                        </configuration>
66                    </execution>
67                </executions>
68            </plugin>
69        </plugins>
70        <!--<testSourceDirectory>${project.basedir}</testSourceDirectory>-->
71    </build>
72</project>
73
74