From 8e00fbbb08dbc83e657cbe804c7cfab3db25855d Mon Sep 17 00:00:00 2001 From: "Ariel Shaqed (Scolnicov)" Date: Sun, 17 Nov 2024 15:18:17 +0200 Subject: [PATCH] Auto-release all clients when publishing with Maven This property is covered in [the docs](https://central.sonatype.org/publish/publish-maven/#nexus-staging-maven-plugin-for-deployment-and-release). It also allows for a manual review opportunity... but given that we don't do that, and that we test first, let's not go there. --- clients/pom.xml | 1 + pkg/config/config.go | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/clients/pom.xml b/clients/pom.xml index 1e86817dac0..3f02c935435 100644 --- a/clients/pom.xml +++ b/clients/pom.xml @@ -86,6 +86,7 @@ ossrh https://s01.oss.sonatype.org/ + true diff --git a/pkg/config/config.go b/pkg/config/config.go index 1cfe91bd5cf..31f07c2a040 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -388,6 +388,11 @@ type Config struct { Enabled bool `mapstructure:"enabled"` FlushInterval time.Duration `mapstructure:"flush_interval"` } `mapstructure:"usage_report"` + Plugins map[string]struct { + Name string + Path string + Config map[string]interface{} + } } func NewConfig(cfgType string) (*Config, error) {