ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 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 | <groupId>io.grpc</groupId> |
| 5 | <artifactId>example-tls</artifactId> |
| 6 | <packaging>jar</packaging> |
| 7 | <!-- Feel free to delete the comment at the end of these lines. It is just |
| 8 | for safely updating the version in our release process. --> |
Sergii Tkachenko | 558b5b0 | 2023-06-13 15:39:30 -0700 | [diff] [blame] | 9 | <version>1.56.1-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION --> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 10 | <name>example-tls</name> |
Jihun Cho | 4039847 | 2019-01-02 09:56:22 -0800 | [diff] [blame] | 11 | <url>https://github.com/grpc/grpc-java</url> |
Jihun Cho | ef6b616 | 2019-02-01 14:00:05 -0800 | [diff] [blame] | 12 | |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 13 | <properties> |
| 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Sergii Tkachenko | 558b5b0 | 2023-06-13 15:39:30 -0700 | [diff] [blame] | 15 | <grpc.version>1.56.1-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION --> |
Eric Anderson | 1551cc7 | 2023-04-13 08:52:20 -0700 | [diff] [blame] | 16 | <protoc.version>3.22.3</protoc.version> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 17 | <!-- required for jdk9 --> |
Larry Safran | 19eab29 | 2023-02-15 18:33:44 +0000 | [diff] [blame] | 18 | <maven.compiler.source>1.8</maven.compiler.source> |
| 19 | <maven.compiler.target>1.8</maven.compiler.target> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 20 | </properties> |
Jihun Cho | ef6b616 | 2019-02-01 14:00:05 -0800 | [diff] [blame] | 21 | |
| 22 | <dependencyManagement> |
| 23 | <dependencies> |
| 24 | <dependency> |
| 25 | <groupId>io.grpc</groupId> |
| 26 | <artifactId>grpc-bom</artifactId> |
| 27 | <version>${grpc.version}</version> |
| 28 | <type>pom</type> |
| 29 | <scope>import</scope> |
| 30 | </dependency> |
| 31 | </dependencies> |
| 32 | </dependencyManagement> |
| 33 | |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>io.grpc</groupId> |
| 37 | <artifactId>grpc-protobuf</artifactId> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 38 | </dependency> |
| 39 | <dependency> |
| 40 | <groupId>io.grpc</groupId> |
| 41 | <artifactId>grpc-stub</artifactId> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 42 | </dependency> |
| 43 | <dependency> |
Eric Anderson | 6a50a63 | 2020-04-29 16:46:00 -0700 | [diff] [blame] | 44 | <groupId>org.apache.tomcat</groupId> |
| 45 | <artifactId>annotations-api</artifactId> |
| 46 | <version>6.0.53</version> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 47 | <scope>provided</scope> <!-- not needed at runtime --> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>io.grpc</groupId> |
Terry Wilson | 7bd0797 | 2022-06-24 10:47:27 -0700 | [diff] [blame] | 51 | <artifactId>grpc-netty-shaded</artifactId> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 52 | </dependency> |
| 53 | </dependencies> |
Jihun Cho | ef6b616 | 2019-02-01 14:00:05 -0800 | [diff] [blame] | 54 | |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 55 | <build> |
| 56 | <extensions> |
| 57 | <extension> |
| 58 | <groupId>kr.motd.maven</groupId> |
| 59 | <artifactId>os-maven-plugin</artifactId> |
Eric Anderson | 51913f6 | 2023-02-02 14:35:54 -0800 | [diff] [blame] | 60 | <version>1.7.1</version> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 61 | </extension> |
| 62 | </extensions> |
| 63 | <plugins> |
| 64 | <plugin> |
| 65 | <groupId>org.xolstice.maven.plugins</groupId> |
| 66 | <artifactId>protobuf-maven-plugin</artifactId> |
ST-DDT | d5b63e9 | 2019-08-20 23:35:03 +0200 | [diff] [blame] | 67 | <version>0.6.1</version> |
ZHANG Dapeng | 3202fcc | 2018-12-06 12:03:25 -0800 | [diff] [blame] | 68 | <configuration> |
| 69 | <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact> |
| 70 | <pluginId>grpc-java</pluginId> |
| 71 | <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
| 72 | </configuration> |
| 73 | <executions> |
| 74 | <execution> |
| 75 | <goals> |
| 76 | <goal>compile</goal> |
| 77 | <goal>compile-custom</goal> |
| 78 | </goals> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
| 84 | <artifactId>maven-enforcer-plugin</artifactId> |
| 85 | <version>1.4.1</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>enforce</id> |
| 89 | <goals> |
| 90 | <goal>enforce</goal> |
| 91 | </goals> |
| 92 | <configuration> |
| 93 | <rules> |
| 94 | <requireUpperBoundDeps/> |
| 95 | </rules> |
| 96 | </configuration> |
| 97 | </execution> |
| 98 | </executions> |
| 99 | </plugin> |
| 100 | </plugins> |
| 101 | </build> |
| 102 | </project> |