|
1 | 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.eigr.spawn</groupId> |
5 | | - <artifactId>spawn-java-std-sdk</artifactId> |
6 | | - <packaging>jar</packaging> |
7 | | - <version>0.5.0</version> |
8 | | - <name>spawn-java-std-sdk</name> |
9 | | - <url>http://maven.apache.org</url> |
10 | | - |
11 | | - <dependencies> |
12 | | - <dependency> |
13 | | - <groupId>junit</groupId> |
14 | | - <artifactId>junit</artifactId> |
15 | | - <version>3.8.1</version> |
16 | | - <scope>test</scope> |
17 | | - </dependency> |
18 | | - </dependencies> |
| 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.eigr.spawn</groupId> |
| 5 | + <artifactId>spawn-java-std-sdk</artifactId> |
| 6 | + <packaging>jar</packaging> |
| 7 | + <version>0.5.0</version> |
| 8 | + <name>spawn-java-std-sdk</name> |
| 9 | + <url>http://maven.apache.org</url> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <maven.compiler.source>11</maven.compiler.source> |
| 13 | + <maven.compiler.target>11</maven.compiler.target> |
| 14 | + <project.encoding>UTF-8</project.encoding> |
| 15 | + <protobuf.version>3.22.2</protobuf.version> |
| 16 | + </properties> |
| 17 | + |
| 18 | + <dependencies> |
| 19 | + <dependency> |
| 20 | + <groupId>org.projectlombok</groupId> |
| 21 | + <artifactId>lombok</artifactId> |
| 22 | + <version>1.18.26</version> |
| 23 | + </dependency> |
| 24 | + |
| 25 | + <dependency> |
| 26 | + <groupId>com.google.protobuf</groupId> |
| 27 | + <artifactId>protobuf-java</artifactId> |
| 28 | + <version>${protobuf.version}</version> |
| 29 | + </dependency> |
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>com.squareup.okhttp3</groupId> |
| 33 | + <artifactId>okhttp</artifactId> |
| 34 | + <version>4.10.0</version> |
| 35 | + </dependency> |
| 36 | + |
| 37 | + <dependency> |
| 38 | + <groupId>junit</groupId> |
| 39 | + <artifactId>junit</artifactId> |
| 40 | + <version>4.13.2</version> |
| 41 | + <scope>test</scope> |
| 42 | + </dependency> |
| 43 | + |
| 44 | + <dependency> |
| 45 | + <groupId>org.testcontainers</groupId> |
| 46 | + <artifactId>testcontainers</artifactId> |
| 47 | + <version>1.17.6</version> |
| 48 | + <scope>test</scope> |
| 49 | + </dependency> |
| 50 | + |
| 51 | + <dependency> |
| 52 | + <groupId>org.testcontainers</groupId> |
| 53 | + <artifactId>mysql</artifactId> |
| 54 | + <version>1.17.6</version> |
| 55 | + <scope>test</scope> |
| 56 | + </dependency> |
| 57 | + |
| 58 | + <dependency> |
| 59 | + <groupId>com.mysql</groupId> |
| 60 | + <artifactId>mysql-connector-j</artifactId> |
| 61 | + <version>8.0.33</version> |
| 62 | + <scope>test</scope> |
| 63 | + </dependency> |
| 64 | + </dependencies> |
| 65 | + |
| 66 | + <build> |
| 67 | + <extensions> |
| 68 | + <extension> |
| 69 | + <groupId>kr.motd.maven</groupId> |
| 70 | + <artifactId>os-maven-plugin</artifactId> |
| 71 | + <version>1.6.2</version> |
| 72 | + </extension> |
| 73 | + </extensions> |
| 74 | + |
| 75 | + <plugins> |
| 76 | + <plugin> |
| 77 | + <groupId>org.xolstice.maven.plugins</groupId> |
| 78 | + <artifactId>protobuf-maven-plugin</artifactId> |
| 79 | + <version>0.6.1</version> |
| 80 | + <configuration> |
| 81 | + <protocArtifact>com.google.protobuf:protoc:3.19.2:exe:${os.detected.classifier}</protocArtifact> |
| 82 | + <pluginId>grpc-java</pluginId> |
| 83 | + <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.47.0:exe:${os.detected.classifier}</pluginArtifact> |
| 84 | + </configuration> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <goals> |
| 88 | + <goal>compile</goal> |
| 89 | + <goal>compile-custom</goal> |
| 90 | + <goal>test-compile</goal> |
| 91 | + </goals> |
| 92 | + </execution> |
| 93 | + </executions> |
| 94 | + </plugin> |
| 95 | + |
| 96 | + <plugin> |
| 97 | + <groupId>org.codehaus.mojo</groupId> |
| 98 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 99 | + <version>3.2.0</version> |
| 100 | + <executions> |
| 101 | + <execution> |
| 102 | + <id>add-test-sources</id> |
| 103 | + <phase>generate-test-sources</phase> |
| 104 | + <goals> |
| 105 | + <goal>add-test-source</goal> |
| 106 | + </goals> |
| 107 | + <configuration> |
| 108 | + <sources> |
| 109 | + <source>${project.build.directory}/generated-test-sources/protobuf</source> |
| 110 | + </sources> |
| 111 | + </configuration> |
| 112 | + </execution> |
| 113 | + </executions> |
| 114 | + </plugin> |
| 115 | + </plugins> |
| 116 | + </build> |
19 | 117 | </project> |
0 commit comments