jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 1 | <?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 |
jfarrell | b2a4d4a | 2016-04-04 14:25:03 -0400 | [diff] [blame] | 10 | |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 11 | http://www.apache.org/licenses/LICENSE-2.0 |
jfarrell | b2a4d4a | 2016-04-04 14:25:03 -0400 | [diff] [blame] | 12 | |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 13 | 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. |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame^] | 19 | --><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"> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 20 | |
| 21 | <modelVersion>4.0.0</modelVersion> |
David Mollitor | 528c22f | 2020-05-11 10:57:00 -0400 | [diff] [blame] | 22 | <parent> |
| 23 | <groupId>org.apache</groupId> |
| 24 | <artifactId>apache</artifactId> |
| 25 | <version>23</version> |
| 26 | </parent> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 27 | <groupId>org.apache.thrift</groupId> |
| 28 | <artifactId>thrift-maven-plugin</artifactId> |
| 29 | <packaging>maven-plugin</packaging> |
| 30 | <name>thrift-maven-plugin</name> |
Jens Geyer | c75646a | 2022-08-30 22:54:32 +0200 | [diff] [blame] | 31 | <version>0.18.0</version> |
David Mollitor | 528c22f | 2020-05-11 10:57:00 -0400 | [diff] [blame] | 32 | |
| 33 | <properties> |
| 34 | <maven.compiler.source>1.8</maven.compiler.source> |
| 35 | <maven.compiler.target>1.8</maven.compiler.target> |
| 36 | <thrift.root>${basedir}/../..</thrift.root> |
| 37 | <thrift.compiler>${thrift.root}/compiler/cpp/thrift</thrift.compiler> |
| 38 | <thrift.test.home>${thrift.root}/test</thrift.test.home> |
| 39 | </properties> |
| 40 | |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 41 | <build> |
| 42 | <plugins> |
| 43 | <plugin> |
| 44 | <groupId>org.apache.maven.plugins</groupId> |
| 45 | <artifactId>maven-compiler-plugin</artifactId> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 46 | </plugin> |
| 47 | <plugin> |
| 48 | <groupId>org.apache.maven.plugins</groupId> |
| 49 | <artifactId>maven-surefire-plugin</artifactId> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 50 | <configuration> |
| 51 | <systemPropertyVariables> |
| 52 | <thriftExecutable>${thrift.compiler}</thriftExecutable> |
| 53 | </systemPropertyVariables> |
| 54 | </configuration> |
| 55 | </plugin> |
James Z.M. Gao | 3711d90 | 2019-06-26 09:59:55 +0200 | [diff] [blame] | 56 | <plugin> |
| 57 | <groupId>org.apache.maven.plugins</groupId> |
| 58 | <artifactId>maven-antrun-plugin</artifactId> |
James Z.M. Gao | 3711d90 | 2019-06-26 09:59:55 +0200 | [diff] [blame] | 59 | <executions> |
| 60 | <execution> |
| 61 | <id>generate-jar-for-test</id> |
| 62 | <phase>generate-test-resources</phase> |
| 63 | <configuration> |
| 64 | <target> |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame^] | 65 | <jar destfile="${project.build.directory}/SharedIdl.jar" basedir="${basedir}/src/test/resources" includes="**/*.thrift"/> |
James Z.M. Gao | 3711d90 | 2019-06-26 09:59:55 +0200 | [diff] [blame] | 66 | </target> |
| 67 | </configuration> |
| 68 | <goals> |
| 69 | <goal>run</goal> |
| 70 | </goals> |
| 71 | </execution> |
| 72 | </executions> |
| 73 | </plugin> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 74 | </plugins> |
| 75 | </build> |
| 76 | <dependencies> |
| 77 | <dependency> |
| 78 | <groupId>junit</groupId> |
| 79 | <artifactId>junit</artifactId> |
| 80 | <version>4.11</version> |
| 81 | <scope>test</scope> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.apache.maven</groupId> |
| 85 | <artifactId>maven-plugin-api</artifactId> |
| 86 | <version>3.1.0</version> |
| 87 | </dependency> |
| 88 | <dependency> |
| 89 | <groupId>org.apache.maven</groupId> |
| 90 | <artifactId>maven-project</artifactId> |
| 91 | <version>2.2.1</version> |
| 92 | </dependency> |
| 93 | <dependency> |
| 94 | <groupId>com.google.guava</groupId> |
| 95 | <artifactId>guava</artifactId> |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame^] | 96 | <version>30.0-jre</version> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>org.codehaus.plexus</groupId> |
| 100 | <artifactId>plexus-utils</artifactId> |
dependabot[bot] | 1084061 | 2022-07-01 22:19:16 +0000 | [diff] [blame] | 101 | <version>3.0.16</version> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 102 | </dependency> |
Chris Osborn | f65db70 | 2016-04-07 12:20:02 -0400 | [diff] [blame] | 103 | <dependency> |
| 104 | <groupId>org.mockito</groupId> |
| 105 | <artifactId>mockito-all</artifactId> |
| 106 | <version>1.10.19</version> |
| 107 | <scope>test</scope> |
| 108 | </dependency> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 109 | </dependencies> |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame^] | 110 | </project> |