blob: e6e43246381306b8f4e05f5a59e500f987cdb603 [file] [log] [blame]
jfarrellf98a67b2014-10-08 23:07:33 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
jfarrellb2a4d4a2016-04-04 14:25:03 -040010
jfarrellf98a67b2014-10-08 23:07:33 -040011 http://www.apache.org/licenses/LICENSE-2.0
jfarrellb2a4d4a2016-04-04 14:25:03 -040012
jfarrellf98a67b2014-10-08 23:07:33 -040013 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
Jens Geyer3e0e0cc2022-10-14 22:50:47 +020019 -->
20 <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/xsd/maven-4.0.0.xsd">
jfarrellf98a67b2014-10-08 23:07:33 -040021
22 <modelVersion>4.0.0</modelVersion>
David Mollitor528c22f2020-05-11 10:57:00 -040023 <parent>
24 <groupId>org.apache</groupId>
25 <artifactId>apache</artifactId>
26 <version>23</version>
27 </parent>
jfarrellf98a67b2014-10-08 23:07:33 -040028 <groupId>org.apache.thrift</groupId>
29 <artifactId>thrift-maven-plugin</artifactId>
30 <packaging>maven-plugin</packaging>
31 <name>thrift-maven-plugin</name>
Jens Geyer0d5b4f92023-07-08 12:49:11 +020032 <version>0.20.0</version>
David Mollitor528c22f2020-05-11 10:57:00 -040033
34 <properties>
35 <maven.compiler.source>1.8</maven.compiler.source>
36 <maven.compiler.target>1.8</maven.compiler.target>
37 <thrift.root>${basedir}/../..</thrift.root>
38 <thrift.compiler>${thrift.root}/compiler/cpp/thrift</thrift.compiler>
39 <thrift.test.home>${thrift.root}/test</thrift.test.home>
40 </properties>
41
jfarrellf98a67b2014-10-08 23:07:33 -040042 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-compiler-plugin</artifactId>
jfarrellf98a67b2014-10-08 23:07:33 -040047 </plugin>
48 <plugin>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-surefire-plugin</artifactId>
jfarrellf98a67b2014-10-08 23:07:33 -040051 <configuration>
52 <systemPropertyVariables>
53 <thriftExecutable>${thrift.compiler}</thriftExecutable>
54 </systemPropertyVariables>
55 </configuration>
56 </plugin>
James Z.M. Gao3711d902019-06-26 09:59:55 +020057 <plugin>
58 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-antrun-plugin</artifactId>
James Z.M. Gao3711d902019-06-26 09:59:55 +020060 <executions>
61 <execution>
62 <id>generate-jar-for-test</id>
63 <phase>generate-test-resources</phase>
64 <configuration>
65 <target>
herocmsf57b8e72022-10-13 10:52:35 +080066 <jar destfile="${project.build.directory}/SharedIdl.jar" basedir="${basedir}/src/test/resources" includes="**/*.thrift"/>
James Z.M. Gao3711d902019-06-26 09:59:55 +020067 </target>
68 </configuration>
69 <goals>
70 <goal>run</goal>
71 </goals>
72 </execution>
73 </executions>
74 </plugin>
jfarrellf98a67b2014-10-08 23:07:33 -040075 </plugins>
76 </build>
77 <dependencies>
78 <dependency>
79 <groupId>junit</groupId>
80 <artifactId>junit</artifactId>
dependabot[bot]439778a2022-10-14 17:20:15 +000081 <version>4.13.1</version>
jfarrellf98a67b2014-10-08 23:07:33 -040082 <scope>test</scope>
83 </dependency>
84 <dependency>
85 <groupId>org.apache.maven</groupId>
86 <artifactId>maven-plugin-api</artifactId>
87 <version>3.1.0</version>
88 </dependency>
89 <dependency>
90 <groupId>org.apache.maven</groupId>
91 <artifactId>maven-project</artifactId>
92 <version>2.2.1</version>
93 </dependency>
94 <dependency>
95 <groupId>com.google.guava</groupId>
96 <artifactId>guava</artifactId>
Jens Geyera3120882023-06-21 23:34:43 +020097 <version>32.0.1-jre</version>
jfarrellf98a67b2014-10-08 23:07:33 -040098 </dependency>
99 <dependency>
100 <groupId>org.codehaus.plexus</groupId>
101 <artifactId>plexus-utils</artifactId>
dependabot[bot]10840612022-07-01 22:19:16 +0000102 <version>3.0.16</version>
jfarrellf98a67b2014-10-08 23:07:33 -0400103 </dependency>
Chris Osbornf65db702016-04-07 12:20:02 -0400104 <dependency>
105 <groupId>org.mockito</groupId>
106 <artifactId>mockito-all</artifactId>
107 <version>1.10.19</version>
108 <scope>test</scope>
109 </dependency>
jfarrellf98a67b2014-10-08 23:07:33 -0400110 </dependencies>
herocmsf57b8e72022-10-13 10:52:35 +0800111</project>