diff --git a/CHANGELOG.md b/CHANGELOG.md index 61c12003..99dd5d87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Alfred API - Changelog -## 6.1.1 (2025-11-23) +## 6.1.1 (2025-11-04) ### Added * [ALFREDAPI-581](https://xenitsupport.jira.com/browse/ALFREDAPI-581): Support ElasticSearch (Alfresco Enterprise Search) diff --git a/build.gradle b/build.gradle index 35de2d5d..9e1a0e14 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,6 @@ plugins { id 'eu.xenit.alfresco' version '1.1.0' apply false id 'eu.xenit.docker-alfresco' version '5.5.0' apply false id 'eu.xenit.docker-compose' version '5.5.0' apply false - id 'eu.xenit.enterprise-conventions.oss' version '0.6.2' } def static getVersionQualifier(String branch_name) { @@ -22,6 +21,30 @@ ext { http_version = '4.5.13' // Used by integration tests } +// See https://jreleaser.org/guide/latest/reference/deploy/maven/maven-central.html for syntax +jreleaser { + deploy { + maven { + mavenCentral { + release { + // Add an override for each artifact we want to publish, because we want to + // disable requirements checking for each of them. + ['interface', '231', '232', '233', '234', '251'].each { suffix -> + artifactOverride { + // Match artifact by artifactId + artifactId = "alfred-api-${suffix}" + verifyPom = false + jar = false + sourceJar = false + javadocJar = false + } + } + } + } + } + } +} + allprojects { apply plugin: 'java' diff --git a/publish.gradle b/publish.gradle index 86d37f0a..b1baecae 100644 --- a/publish.gradle +++ b/publish.gradle @@ -1,6 +1,5 @@ apply plugin: 'maven-publish' apply plugin: 'signing' -apply plugin: 'eu.xenit.enterprise-conventions.oss' publishing { publications { diff --git a/settings.gradle b/settings.gradle index 0d76c6de..e84b5d8b 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,7 @@ +plugins { + id 'eu.xenit.enterprise-conventions.oss' version '0.6.2' +} + rootProject.name = 'alfred-api' include ':alfred-api-interface' @@ -9,7 +13,6 @@ include ':alfred-api-integrationtests-client:model-amp' include ':alfred-api-integrationtests-server' include ':docs' - for (String version : ['23.1', '23.2', '23.3', '23.4', '25.1']) { def shortVersion = version.replaceAll('\\.', '')