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. (#12009)

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

PiperOrigin-RevId: 511252224
pull/12030/head
deannagarcia 2 years ago committed by GitHub
parent 20c15bb5dd
commit 9ee7b565c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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