shannah / Java-Objective-C-Bridge

A thin bridge that allows for two-way communication from Java to Objective-C.
123 stars 25 forks source link

Deploy to maven central #17

Open mojo2012 opened 5 years ago

mojo2012 commented 5 years ago

We should deploy the lib to maven-central. I have an account and can setup a proper build toolchain, if you want

shannah commented 5 years ago

I have an older version deployed to maven central.

<dependency>
  <groupId>ca.weblite</groupId>
  <artifactId>java-objc-bridge</artifactId>
  <version>1.0.0</version>
</dependency>

I should be able to add your sonatype username to the allowed users so that you can publish to this yet. (Don't know how to do this yet, probably need to file an issue with Sonatype).

mojo2012 commented 5 years ago

Yes you have to file an issue and hope someones ever gonna look at it :-D Did you create this artifact manually or how did you do it in the first place?

Btw, I updated the maven coordinates to 1.1-SNAPSHOT so we can deploy version 1.1 when ready.

shannah commented 5 years ago

I had it built into the pom file. The mvn release (if I recall) automatically submitted to the staging repo. Then I had to log into their web ui, and close the staging repo, then release it.

The maven branch is still there, but stale. https://github.com/shannah/Java-Objective-C-Bridge/tree/maven

I never actually used it (the maven build) in a real project, so it was more of an experiment than anything.

mojo2012 commented 4 years ago

Could you have a look at the maven build and merge the PR? I think we should be good to go to push to nexus