From c6366ee565a4c24e4ccc718f72647c7ba7280097 Mon Sep 17 00:00:00 2001 From: Jeremiah Zucker Date: Fri, 26 Jan 2024 00:18:01 -0500 Subject: [PATCH] pom with minimal oss requirements --- jvm/BUILD | 4 ++++ jvm/build.bzl | 3 +++ jvm/pom.tpl | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 jvm/pom.tpl diff --git a/jvm/BUILD b/jvm/BUILD index 074eb1362..c8efe7840 100644 --- a/jvm/BUILD +++ b/jvm/BUILD @@ -3,6 +3,10 @@ load("@io_bazel_rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library") load("@io_bazel_rules_kotlin//kotlin:lint.bzl", "ktlint_config") load("//jvm/dependencies:versions.bzl", "versions") +exports_files([ + "pom.tpl", +]) + kt_compiler_plugin( name = "serialization_plugin", compile_phase = True, diff --git a/jvm/build.bzl b/jvm/build.bzl index f5a529e61..33f39112d 100644 --- a/jvm/build.bzl +++ b/jvm/build.bzl @@ -53,6 +53,7 @@ def kt_player_module( version = VERSION, deploy_env = deploy_env, excluded_workspaces = excluded_workspaces, + pom_template = "//jvm:pom.tpl", module_name = module_name, main_opts = "//jvm:main_options", main_srcs = main_srcs, @@ -79,10 +80,12 @@ def distribution( name, maven_coordinates, lib_name = None, + pom_template = "//jvm:pom.tpl", **kwargs): _distribution( name = name, maven_coordinates = maven_coordinates, lib_name = lib_name, + pom_template = pom_template, **kwargs ) diff --git a/jvm/pom.tpl b/jvm/pom.tpl new file mode 100644 index 000000000..555726cf3 --- /dev/null +++ b/jvm/pom.tpl @@ -0,0 +1,42 @@ + + + 4.0.0 + + Player - {artifactId} + A cross-platform semantic rendering engine + https://player-ui.github.io + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + + + + brocollie08 + Tony Lin + sentony93@gmail.com + + + sugarmanz + Jeremiah Zucker + zucker.jeremiah@gmail.com + + + + https://github.com/player-ui/player-ui.git + https://github.com/player-ui/player-ui.git + v{version} + https://github.com/player-ui/player-ui.git + + + {groupId} + {artifactId} + {version} + {type} + + +{dependencies} + +