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. |
Jens Geyer | 3e0e0cc | 2022-10-14 22:50:47 +0200 | [diff] [blame] | 19 | --> |
| 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"> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 21 | |
| 22 | <modelVersion>4.0.0</modelVersion> |
David Mollitor | 528c22f | 2020-05-11 10:57:00 -0400 | [diff] [blame] | 23 | <parent> |
| 24 | <groupId>org.apache</groupId> |
| 25 | <artifactId>apache</artifactId> |
| 26 | <version>23</version> |
| 27 | </parent> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 28 | <groupId>org.apache.thrift</groupId> |
| 29 | <artifactId>thrift-maven-plugin</artifactId> |
| 30 | <packaging>maven-plugin</packaging> |
| 31 | <name>thrift-maven-plugin</name> |
Jens Geyer | c75646a | 2022-08-30 22:54:32 +0200 | [diff] [blame] | 32 | <version>0.18.0</version> |
David Mollitor | 528c22f | 2020-05-11 10:57:00 -0400 | [diff] [blame] | 33 | |
| 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 | |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 42 | <build> |
| 43 | <plugins> |
| 44 | <plugin> |
| 45 | <groupId>org.apache.maven.plugins</groupId> |
| 46 | <artifactId>maven-compiler-plugin</artifactId> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 47 | </plugin> |
| 48 | <plugin> |
| 49 | <groupId>org.apache.maven.plugins</groupId> |
| 50 | <artifactId>maven-surefire-plugin</artifactId> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 51 | <configuration> |
| 52 | <systemPropertyVariables> |
| 53 | <thriftExecutable>${thrift.compiler}</thriftExecutable> |
| 54 | </systemPropertyVariables> |
| 55 | </configuration> |
| 56 | </plugin> |
James Z.M. Gao | 3711d90 | 2019-06-26 09:59:55 +0200 | [diff] [blame] | 57 | <plugin> |
| 58 | <groupId>org.apache.maven.plugins</groupId> |
| 59 | <artifactId>maven-antrun-plugin</artifactId> |
James Z.M. Gao | 3711d90 | 2019-06-26 09:59:55 +0200 | [diff] [blame] | 60 | <executions> |
| 61 | <execution> |
| 62 | <id>generate-jar-for-test</id> |
| 63 | <phase>generate-test-resources</phase> |
| 64 | <configuration> |
| 65 | <target> |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame] | 66 | <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] | 67 | </target> |
| 68 | </configuration> |
| 69 | <goals> |
| 70 | <goal>run</goal> |
| 71 | </goals> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | </plugin> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 75 | </plugins> |
| 76 | </build> |
| 77 | <dependencies> |
| 78 | <dependency> |
| 79 | <groupId>junit</groupId> |
| 80 | <artifactId>junit</artifactId> |
dependabot[bot] | 439778a | 2022-10-14 17:20:15 +0000 | [diff] [blame^] | 81 | <version>4.13.1</version> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 82 | <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> |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame] | 97 | <version>30.0-jre</version> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.codehaus.plexus</groupId> |
| 101 | <artifactId>plexus-utils</artifactId> |
dependabot[bot] | 1084061 | 2022-07-01 22:19:16 +0000 | [diff] [blame] | 102 | <version>3.0.16</version> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 103 | </dependency> |
Chris Osborn | f65db70 | 2016-04-07 12:20:02 -0400 | [diff] [blame] | 104 | <dependency> |
| 105 | <groupId>org.mockito</groupId> |
| 106 | <artifactId>mockito-all</artifactId> |
| 107 | <version>1.10.19</version> |
| 108 | <scope>test</scope> |
| 109 | </dependency> |
jfarrell | f98a67b | 2014-10-08 23:07:33 -0400 | [diff] [blame] | 110 | </dependencies> |
herocms | f57b8e7 | 2022-10-13 10:52:35 +0800 | [diff] [blame] | 111 | </project> |