Generate Java code from GPB
This adds module for generating Java code from
Google Protocol Buffers files
Change-Id: Ie7d71ad0fb18854d98f50688c00034cc1699f0b4
Issue-ID: DCAEGEN2-1097
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
diff --git a/pom.xml b/pom.xml
index b52d203..fe2684e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,8 @@
<slf4j.version>1.7.25</slf4j.version>
<logback.version>1.2.3</logback.version>
<mockito.version>2.23.4</mockito.version>
+ <protobuf.version>3.6.1</protobuf.version>
+ <protoc-jar-maven-plugin.version>3.6.0.2</protoc-jar-maven-plugin.version>
</properties>
<modules>
@@ -80,6 +82,16 @@
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ </plugin>
+ <plugin>
+ <groupId>com.github.os72</groupId>
+ <artifactId>protoc-jar-maven-plugin</artifactId>
+ <version>${protoc-jar-maven-plugin.version}</version>
+ </plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -157,6 +169,11 @@
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
</dependency>
+ <dependency>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>${protobuf.version}</version>
+ </dependency>
<dependency>
<groupId>org.immutables</groupId>