diff --git a/pom.xml b/pom.xml index 9b601e7..f2f94ac 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>io.eigr</groupId> <artifactId>spawn-springboot-sdk</artifactId> - <version>0.1.8</version> + <version>0.1.9</version> <packaging>pom</packaging> <name>spawn-springboot-sdk</name> <url>https://eigr.io</url> @@ -36,4 +36,59 @@ <scope>test</scope> </dependency> </dependencies> + + + <build> + <extensions> + <extension> + <groupId>kr.motd.maven</groupId> + <artifactId>os-maven-plugin</artifactId> + <version>1.6.2</version> + </extension> + </extensions> + + <plugins> + <plugin> + <groupId>org.xolstice.maven.plugins</groupId> + <artifactId>protobuf-maven-plugin</artifactId> + <version>0.6.1</version> + <configuration> + <protocArtifact>com.google.protobuf:protoc:3.19.2:exe:${os.detected.classifier}</protocArtifact> + <pluginId>grpc-java</pluginId> + <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.47.0:exe:${os.detected.classifier}</pluginArtifact> + </configuration> + <executions> + <execution> + <goals> + <goal>compile</goal> + <goal>compile-custom</goal> + <goal>test-compile</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.2.0</version> + <executions> + <execution> + <id>add-test-sources</id> + <phase>generate-test-sources</phase> + <goals> + <goal>add-test-source</goal> + </goals> + <configuration> + <sources> + <source>${project.build.directory}/generated-test-sources/protobuf</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + + </project> diff --git a/spawn-springboot-examples/pom.xml b/spawn-springboot-examples/pom.xml index a1ead83..f2da00a 100644 --- a/spawn-springboot-examples/pom.xml +++ b/spawn-springboot-examples/pom.xml @@ -4,7 +4,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>io.eigr</groupId> <artifactId>spawn-springboot-examples</artifactId> - <version>0.1.8</version> + <version>0.1.9</version> <name>spawn-springboot-examples</name> <url>http://www.example.com</url> @@ -17,7 +17,7 @@ <parent> <groupId>io.eigr</groupId> <artifactId>spawn-springboot-sdk</artifactId> - <version>0.1.8</version> + <version>0.1.9</version> </parent> <dependencyManagement> @@ -43,7 +43,7 @@ <dependency> <groupId>io.eigr</groupId> <artifactId>spawn-springboot-starter</artifactId> - <version>0.1.8</version> + <version>0.1.9</version> </dependency> <dependency> diff --git a/spawn-springboot-starter/pom.xml b/spawn-springboot-starter/pom.xml index 97acfec..02b35cf 100644 --- a/spawn-springboot-starter/pom.xml +++ b/spawn-springboot-starter/pom.xml @@ -4,14 +4,14 @@ <modelVersion>4.0.0</modelVersion> <groupId>io.eigr</groupId> <artifactId>spawn-springboot-starter</artifactId> - <version>0.1.8</version> + <version>0.1.9</version> <name>spawn-springboot-starter</name> <url>https://eigr.io</url> <parent> <groupId>io.eigr</groupId> <artifactId>spawn-springboot-sdk</artifactId> - <version>0.1.8</version> + <version>0.1.9</version> </parent> <properties>