Skip to content

Conversation

piotrrzysko
Copy link
Collaborator

@piotrrzysko piotrrzysko commented Oct 20, 2025

It looks like the release succeeded:

image image

I'm waiting for the packages to appear in Maven Central. If everything looks good, I'll update the README.

@piotrrzysko
Copy link
Collaborator Author

@lemire I realized that even though the release succeeded, the new artifact wasn’t published. After a couple of fixes, I think we’re close to finishing this. However, now I’m getting the following error:

image

Are you sure the Maven credentials are correct? A few months ago, for simdjson-java, I had to generate a new token because OSSRH was sunset. I believe I followed these instructions: https://central.sonatype.org/pages/ossrh-eol/#publishing-to-central-portal.

@lemire lemire marked this pull request as ready for review October 20, 2025 17:41
@lemire
Copy link
Member

lemire commented Oct 20, 2025

Let us try again

@lemire lemire merged commit f7480da into master Oct 20, 2025
2 checks passed
@lemire
Copy link
Member

lemire commented Oct 20, 2025

Ok. It does something, but it is not automated. From what I understand, I still have to manually login and request publication after waiting a really long time, and then... I don't know, hope that it works somehow?

@lemire
Copy link
Member

lemire commented Oct 20, 2025

Capture d’écran, le 2025-10-20 à 13 52 58

8 minutes. I am not kidding.

@lemire
Copy link
Member

lemire commented Oct 20, 2025

18 minutes.

Capture d’écran, le 2025-10-20 à 14 02 44

@lemire
Copy link
Member

lemire commented Oct 20, 2025

25 minutes.

Did it fail, did it succeed?

Capture d’écran, le 2025-10-20 à 14 09 53

@piotrrzysko
Copy link
Collaborator Author

My goal is to make it fully automated. Let’s give it a bit more time. If it doesn’t show up, I’ll investigate.

@lemire
Copy link
Member

lemire commented Oct 20, 2025

The primary reason I stopped using Maven Central is that releases could take days or weeks to appear and would sometimes be randomly dropped. It is poorly designed.

Over one hour:

Capture d’écran, le 2025-10-20 à 15 24 02

My goal is to make it fully automated

Currently, it is not automated. I had to go in the system, find the artifact and ask that it'd be published.

Notice how the system lacks any kind of feedback as to what is happening.

Clearly, my credentials are correct...

@piotrrzysko
Copy link
Collaborator Author

I agree with you.

My motivation for adding support for Maven Central is that some organizations are restrictive about which repositories can be used in their projects. They often have an internal proxy or cache for Maven Central; and that’s it.

In simdjson-java, I haven’t had any problems so far, and I don’t need to do anything manually, so it’s definitely possible to make this work. However, I’m using Gradle there, so I can’t easily copy the configuration here.

Anyway, I will figure this out.

@blacelle
Copy link
Collaborator

My motivation for adding support for Maven Central is that some organizations are restrictive about which repositories can be used in their projects. They often have an internal proxy or cache for Maven Central; and that’s it.

I agree with this.

[INFO] [INFO] Continue at https://central.sonatype.com/publishing/deployments to review and publish the deployment eb7c5be7-3fca-431b-ad4a-7131adb4064e

from Github CI indeed suggest current setup requires to complete the deployment manually.

Though, @lemire, the screenshots Sonatype process is on-going. I had to go in the system, find the artifact and ask that it'd be published. is the missing part.

I do not know njord, but my experience with maven+sonatype does not require any manual validation (through the publication may take hours to be fully completed). Though, I never fully automated it through CI. I looked through njord to enable automated publication, but it may be a lacking option.

I rely on configuration like:

	<!-- https://central.sonatype.org/publish/publish-portal-maven/#automatic-publishing -->
	<plugin>
		<groupId>org.sonatype.central</groupId>
		<artifactId>central-publishing-maven-plugin</artifactId>
		<version>0.9.0</version>
		<extensions>true</extensions>
		<configuration>
			<publishingServerId>central</publishingServerId>
			<autoPublish>true</autoPublish>
			<!-- `published` state can take hours to be reached-->
			<waitUntil>validated</waitUntil>
		</configuration>
	</plugin>

(https://github.com/solven-eu/adhoc/blob/master/pom.xml#L685-L696).

@lemire
Copy link
Member

lemire commented Oct 20, 2025

Three hours:

Capture d’écran, le 2025-10-20 à 17 09 15

Not an indication of what is happening.

@lemire
Copy link
Member

lemire commented Oct 20, 2025

Ok. So it only took EIGHT HOURS.

@lemire
Copy link
Member

lemire commented Oct 21, 2025

It works now, so I have entered some comments in a related RoaringBitmap issue: RoaringBitmap/RoaringBitmap#749

@piotrrzysko
Copy link
Collaborator Author

Did you need to click anything in Maven Central?

@lemire
Copy link
Member

lemire commented Oct 21, 2025

@piotrrzysko Not with the latest setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants