@@ -758,25 +758,40 @@ func (l *LicenseId) UnmarshalJSON(data []byte) error {
758758 return nil
759759}
760760
761+ type MavenCentralSignature struct {
762+ KeyId string `json:"keyId"`
763+ Password string `json:"password"`
764+ SecretKey string `json:"secretKey"`
765+ }
766+
767+ type MavenCentralSignatureGithubInfo struct {
768+ KeyIdEnvironmentVariable EnvironmentVariable `json:"keyIdEnvironmentVariable"`
769+ PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
770+ SecretKeyEnvironmentVariable EnvironmentVariable `json:"secretKeyEnvironmentVariable"`
771+ }
772+
761773type MavenGithubPublishInfo struct {
762- RegistryUrl string `json:"registryUrl"`
763- Coordinate string `json:"coordinate"`
764- UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
765- PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
774+ RegistryUrl string `json:"registryUrl"`
775+ Coordinate string `json:"coordinate"`
776+ UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
777+ PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
778+ Signature * MavenCentralSignatureGithubInfo `json:"signature,omitempty"`
766779}
767780
768781type MavenRegistryConfig struct {
769- RegistryUrl string `json:"registryUrl"`
770- Username string `json:"username"`
771- Password string `json:"password"`
772- Group string `json:"group"`
782+ RegistryUrl string `json:"registryUrl"`
783+ Username string `json:"username"`
784+ Password string `json:"password"`
785+ Group string `json:"group"`
786+ Signature * MavenCentralSignature `json:"signature,omitempty"`
773787}
774788
775789type MavenRegistryConfigV2 struct {
776- RegistryUrl string `json:"registryUrl"`
777- Username string `json:"username"`
778- Password string `json:"password"`
779- Coordinate string `json:"coordinate"`
790+ RegistryUrl string `json:"registryUrl"`
791+ Username string `json:"username"`
792+ Password string `json:"password"`
793+ Coordinate string `json:"coordinate"`
794+ Signature * MavenCentralSignature `json:"signature,omitempty"`
780795}
781796
782797type NpmGithubPublishInfo struct {
0 commit comments