user
04/29/2026, 1:19 PMjdaugherty
04/29/2026, 1:42 PMuser
04/29/2026, 1:44 PMjdaugherty
04/29/2026, 2:28 PMjdaugherty
04/29/2026, 2:28 PMsbglasius
04/30/2026, 7:29 AMsbglasius
04/30/2026, 7:35 AMuser
04/30/2026, 7:46 AMuser
04/30/2026, 10:27 AMjdaugherty
04/30/2026, 11:33 AMsbglasius
04/30/2026, 11:43 AMserver-timing runs on ubuntu-24.04 and elastisearch is on ubuntu-22.04, and then I saw that in https://github.com/grails-plugins/grails-elasticsearch/blob/5.0.x/.github/workflows/ci.yml#L114 it uses actions/setup-java@v4 vs actions/setup-java@v5
The publish`Publish Gradle Artifacts` are identicaljdaugherty
04/30/2026, 12:35 PMsbglasius
04/30/2026, 12:35 PMgrails-plugins orgs secrets 🤔jdaugherty
04/30/2026, 12:35 PMjdaugherty
04/30/2026, 12:35 PMjdaugherty
04/30/2026, 12:35 PMjdaugherty
04/30/2026, 12:35 PMjdaugherty
04/30/2026, 12:35 PMjdaugherty
04/30/2026, 12:36 PMsbglasius
04/30/2026, 12:36 PMjdaugherty
04/30/2026, 12:36 PMjdaugherty
04/30/2026, 12:41 PMjdaugherty
04/30/2026, 12:42 PMjdaugherty
04/30/2026, 12:42 PMjdaugherty
04/30/2026, 12:42 PMjdaugherty
04/30/2026, 12:42 PMsbglasius
04/30/2026, 12:43 PMsbglasius
04/30/2026, 12:43 PMsbglasius
04/30/2026, 12:44 PM- name: "📤 Publish Snapshot Artifacts"
env:
GRAILS_PUBLISH_RELEASE: 'false'
MAVEN_PUBLISH_URL: '<https://central.sonatype.com/repository/maven-snapshots/>'
MAVEN_PUBLISH_USERNAME: ${{ secrets.NEXUS_PUBLISH_USERNAME }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.NEXUS_PUBLISH_PASSWORD }}
run: >
./gradlew publish
--no-build-cache
--rerun-tasksjdaugherty
04/30/2026, 12:46 PMjdaugherty
04/30/2026, 12:46 PMjdaugherty
04/30/2026, 12:46 PMsbglasius
04/30/2026, 12:46 PMsbglasius
04/30/2026, 12:47 PMgrails-server-timingjdaugherty
04/30/2026, 12:49 PMjdaugherty
04/30/2026, 12:50 PMuser
04/30/2026, 1:58 PMuser
04/30/2026, 2:31 PM- name: "📤 Publish Gradle Snapshot Artifacts"
env:
GRAILS_PUBLISH_RELEASE: 'false'
MAVEN_PUBLISH_URL: '<https://central.sonatype.com/repository/maven-snapshots/>'
MAVEN_PUBLISH_USERNAME: ${{ secrets.MAVEN_PUBLISH_USERNAME }}
MAVEN_PUBLISH_PASSWORD: ${{ secrets.MAVEN_PUBLISH_PASSWORD }}
run: >
./gradlew publish
--no-build-cache
--rerun-tasks
still leads to 401, is the repo-url wrong or any other ideas? The error message is:
* What went wrong:
Execution failed for task ':grails-elasticsearch:publishMavenPublicationToMavenRepository'.
> Failed to publish publication 'maven' to repository 'maven'
> Could not PUT '<https://central.sonatype.com/repository/maven-snapshots/org/grails/plugins/grails-elasticsearch/5.0.0-SNAPSHOT/grails-elasticsearch-5.0.0-20260430.142620-1.jar>'. Received status code 401 from server: Unauthorizedjdaugherty
04/30/2026, 2:33 PM