relaxng / jing-trang

Schema validation and conversion based on RELAX NG
http://www.thaiopensource.com/relaxng/
Other
228 stars 69 forks source link

Automate publishing to Central Repo and GitHub #232

Closed sideshowbarker closed 5 years ago

sideshowbarker commented 6 years ago

This change adds a Python script and Ant build files for automating publication of Maven jing and trang artifacts to the Central Repo — along with adding a new lib/maven-ant-tasks-2.1.3.jar file which is a dependency that Ant needs to do the actual packaging/publishing steps.

The Python script added in this change also fully automates publishing of GitHub releases of the zipped jing.jar and trang.jar distributions.

Fixes https://github.com/relaxng/jing-trang/issues/98 Supersedes https://github.com/relaxng/jing-trang/pull/203

sideshowbarker commented 6 years ago

The patch here currently uses io.github.relaxng as the Maven group ID, but @ndw is working on getting relaxng.org admin/hosting set up such that we’ll be able to use org.relaxng instead.

So, once that happens I’ll update the group ID in the patch here.

In the mean time, I have already published test artifacts to the Central-Repo snapshots repo:

https://oss.sonatype.org/content/repositories/snapshots/io/github/relaxng/

ndw commented 5 years ago

I believe that the Sonatype folks have approved our authority to publish as relaxng.org.

sideshowbarker commented 5 years ago

I believe that the Sonatype folks have approved our authority to publish as relaxng.org.

Yup, I’ll do the release to the Central Repo and GitHub shortly