|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <artifactId>spring-boot-grpc</artifactId> |
| 7 | + <name>spring-boot-grpc</name> |
| 8 | + <packaging>war</packaging> |
| 9 | + |
| 10 | + <parent> |
| 11 | + <groupId>com.baeldung</groupId> |
| 12 | + <artifactId>parent-boot-3</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <relativePath>../../parent-boot-3</relativePath> |
| 15 | + </parent> |
| 16 | + |
| 17 | + <build> |
| 18 | + <extensions> |
| 19 | + <extension> |
| 20 | + <groupId>kr.motd.maven</groupId> |
| 21 | + <artifactId>os-maven-plugin</artifactId> |
| 22 | + <version>${os-maven-plugin.version}</version> |
| 23 | + </extension> |
| 24 | + </extensions> |
| 25 | + <plugins> |
| 26 | + <plugin> |
| 27 | + <groupId>org.xolstice.maven.plugins</groupId> |
| 28 | + <artifactId>protobuf-maven-plugin</artifactId> |
| 29 | + <version>${protobuf-plugin.version}</version> |
| 30 | + <configuration> |
| 31 | + <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact> |
| 32 | + <pluginId>grpc-java</pluginId> |
| 33 | + <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> |
| 34 | + </configuration> |
| 35 | + <executions> |
| 36 | + <execution> |
| 37 | + <goals> |
| 38 | + <goal>compile</goal> |
| 39 | + <goal>compile-custom</goal> |
| 40 | + </goals> |
| 41 | + </execution> |
| 42 | + </executions> |
| 43 | + </plugin> |
| 44 | + </plugins> |
| 45 | + </build> |
| 46 | + |
| 47 | + <dependencies> |
| 48 | + <dependency> |
| 49 | + <groupId>org.springframework.boot</groupId> |
| 50 | + <artifactId>spring-boot-starter-web</artifactId> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.springframework.boot</groupId> |
| 54 | + <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>org.springframework.boot</groupId> |
| 58 | + <artifactId>spring-boot-starter-graphql</artifactId> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>org.projectlombok</groupId> |
| 62 | + <artifactId>lombok</artifactId> |
| 63 | + <version>${lombok.version}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>com.h2database</groupId> |
| 67 | + <artifactId>h2</artifactId> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>io.grpc</groupId> |
| 71 | + <artifactId>grpc-stub</artifactId> |
| 72 | + <version>${grpc.version}</version> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>io.grpc</groupId> |
| 76 | + <artifactId>grpc-protobuf</artifactId> |
| 77 | + <version>${grpc.version}</version> |
| 78 | + </dependency> |
| 79 | + <dependency> |
| 80 | + <groupId>jakarta.annotation</groupId> |
| 81 | + <artifactId>jakarta.annotation-api</artifactId> |
| 82 | + <version>${jakarta.annotation-api.version}</version> |
| 83 | + <optional>true</optional> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>net.devh</groupId> |
| 87 | + <artifactId>grpc-spring-boot-starter</artifactId> |
| 88 | + <version>${grpc.spring.version}</version> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>javax.annotation</groupId> |
| 92 | + <artifactId>javax.annotation-api</artifactId> |
| 93 | + <version>${javax.annotation-api.version}</version> |
| 94 | + </dependency> |
| 95 | + <dependency> |
| 96 | + <groupId>org.springframework.boot</groupId> |
| 97 | + <artifactId>spring-boot-starter-test</artifactId> |
| 98 | + <scope>test</scope> |
| 99 | + </dependency> |
| 100 | + <dependency> |
| 101 | + <groupId>org.springframework.boot</groupId> |
| 102 | + <artifactId>spring-boot-starter-webflux</artifactId> |
| 103 | + <scope>test</scope> |
| 104 | + </dependency> |
| 105 | + <dependency> |
| 106 | + <groupId>org.springframework.graphql</groupId> |
| 107 | + <artifactId>spring-graphql-test</artifactId> |
| 108 | + <scope>test</scope> |
| 109 | + </dependency> |
| 110 | + <dependency> |
| 111 | + <groupId>org.skyscreamer</groupId> |
| 112 | + <artifactId>jsonassert</artifactId> |
| 113 | + <version>${jsonassert.version}</version> |
| 114 | + <scope>test</scope> |
| 115 | + </dependency> |
| 116 | + </dependencies> |
| 117 | + |
| 118 | + <properties> |
| 119 | + <protobuf.version>3.19.2</protobuf.version> |
| 120 | + <protobuf-plugin.version>0.6.1</protobuf-plugin.version> |
| 121 | + <grpc.version>1.63.0</grpc.version> |
| 122 | + <grpc.spring.version>3.1.0.RELEASE</grpc.spring.version> |
| 123 | + <jsonassert.version>1.5.1</jsonassert.version> |
| 124 | + <jakarta.annotation-api.version>3.0.0</jakarta.annotation-api.version> |
| 125 | + <os-maven-plugin.version>1.6.2</os-maven-plugin.version> |
| 126 | + <maven-war-plugin.version>3.3.2</maven-war-plugin.version> |
| 127 | + <os-maven-plugin.version>1.7.0</os-maven-plugin.version> |
| 128 | + <start-class>com.baeldung.chooseapi.ChooseApiApp</start-class> |
| 129 | + <javax.annotation-api.version>1.3.2</javax.annotation-api.version> |
| 130 | + </properties> |
| 131 | + |
| 132 | +</project> |
0 commit comments