I wanted to test the latest Smack 4.4.4-SNAPSHOT after the open pull requests were merged today (thanks for that!). Unfortunately the -SNAPSHOT versions/builds are no longer published to oss.sonatype.org, the last builds are from sometime in 2020. Is this intentional? The readme still has a link to the snapshots repository.
It would be great if they were available again (also for jxmpp and minidns, they stopped at about the same time). I can help with a draft-PR for jxmpp to build on GitHub Actions, but that would obviously need refinement from a developer with access to the credentials.
The snapshots on oss.sonatype.org are manually uploaded by me. I usually do it once in a while. Besides that our Bamboo instance performes nightly builds and pushes those to our Archiva instance at Apache Archiva (see Collection: /org/igniterealtime/smack). I know it’s confusing and should be better documented in Smack’s README.
I assume you are mostly interested in the OSGi functionality that you recently added. Bamboo only builds Smack as of now. For those, I’ve just uploaded snapshot releases to oss.sonatype.org. But note that Smack will not automatically use those releases. You have to explicitly modify your build system to pin those versions.
Hm, okay. Let me rephrase the question then: could you please add automated uploading to oss.sonatype.org?
In case you’re worried about security, you could create one or multiple distinct Sonatype-account(s), and, if necessary, restrict them to uploading snapshots only.
I’ll see what I can do with the Archiva repo in the meantime.
Then create a JIRA ticket to request that user to be added to the org.igniterealtime group-id. Preferably create this ticket with your personal account, since that shows you already have access. Ask to allow for -SNAPSHOT uploads only. Here’s the ticket I created for Jitsi back then: Log in - Sonatype JIRA
But since it is time for a Smack release, I may perform the release first. Unless you wheren’t able to test your changes, especially the OSGi ones, without the snapshots published to OSS sonatype. Is this the case? Or do I get a green light from Jitsi’s sides that the changes are tested and that there is nothing preventing a round of stable jXMPP, MiniDNS, and Smack releases?
I wasn’t really sure on Tuesday when I last did some changes if all projects had their snapshots published to Sonatype. I’ll check it (late) this evening, making sure to clean all local caches, and report back here.
I finally found the time to setup the publication of Smack’s snapshot artifacts on OSS Sonatype (besides the already existing publication on Ignite Realtime’s Archiva instance). Please give it a try and report back if it works for you or not.