Fix pom_template dependencies. All pom files need a dependency section and kotlin + util need to depend on protobuf-java and kotlin-lite should depend on protobuf-javalite.

This fixes https://github.com/protocolbuffers/protobuf/issues/11976

PiperOrigin-RevId: 511252224
pull/11959/head
Deanna Garcia 2 years ago committed by Copybara-Service
parent 47b5f81c7f
commit 9b5a2c6f6f
  1. 3
      java/core/pom_template.xml
  2. 7
      java/kotlin-lite/pom_template.xml
  3. 7
      java/kotlin/pom_template.xml
  4. 3
      java/lite/pom_template.xml
  5. 4
      java/util/pom_template.xml

@ -15,4 +15,7 @@
Core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an
efficient yet extensible format.
</description>
<dependencies>
{dependencies}
</dependencies>
</project>

@ -15,6 +15,13 @@
Kotlin lite Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an
efficient yet extensible format.
</description>
<dependencies>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>protobuf-javalite</artifactId>
</dependency>
{dependencies}
</dependencies>
<properties>
<kotlin.version>1.6.0</kotlin.version>

@ -15,6 +15,13 @@
Kotlin core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an
efficient yet extensible format.
</description>
<dependencies>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
{dependencies}
</dependencies>
<properties>
<kotlin.version>1.6.0</kotlin.version>

@ -15,5 +15,8 @@
Lite version of Protocol Buffers library. This version is optimized for code size, but does
not guarantee API/ABI stability.
</description>
<dependencies>
{dependencies}
</dependencies>
</project>

@ -13,6 +13,10 @@
<name>Protocol Buffers [Util]</name>
<description>Utilities for Protocol Buffers</description>
<dependencies>
<dependency>
<groupId>${groupId}</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
{dependencies}
</dependencies>

Loading…
Cancel
Save