jpigpio icon indicating copy to clipboard operation
jpigpio copied to clipboard

Releasing to maven repository

Open computerlyrik opened this issue 7 years ago • 17 comments

Hi! For easier development i am trying to release the Build to Maven repository.

I will also update the Documentation about Build & Install some time in the future.

Ticket for requesting a repo at sonatype: https://issues.sonatype.org/browse/OSSRH-28498

I added @nkolban and @sovcik to the developers in metadata of the parent pom.xml.

If i can do something else, please tell me! Thank you very much for developing this project so far!

computerlyrik avatar Feb 26 '17 15:02 computerlyrik

PS: Due to currently working on master, i cannot guarantee a working base each second, but you may checkout https://github.com/computerlyrik/jpigpio/tree/8757603b34168f5fa677da7946eddb84d48be627 and type in mvn clean package after installing maven (and java jdk8). All relevant Files should be outputted inside the target/ Folder (.h .so and .jar).

I would be happy if you test this on your raspberry pi!

computerlyrik avatar Feb 26 '17 15:02 computerlyrik

I am no longer actively maintaining this project ... would you like to take ownership?

nkolban avatar Feb 26 '17 16:02 nkolban

@nkolban I can try keeping it alive :-) For my own selfish reasons :-) So, unless @computerlyrik is not willing to take ownership, then I can.

sovcik avatar Mar 08 '17 08:03 sovcik

Can I ask you @sovcik to chat with @computerlyrik and sort out between you who wants it? From there we'll transfer ownership.

nkolban avatar Mar 08 '17 14:03 nkolban

@sovcik You took ownership? Thank you! :)

computerlyrik avatar Mar 11 '17 15:03 computerlyrik

I don't think so ... once ownership is decided ... the repository will move to under the new owners domain in Github.

nkolban avatar Mar 11 '17 15:03 nkolban

@computerlyrik, as I said, if you do not want to take over, then I can try maintaining it further. So, would you like to maintain or shall I? I'm no Java professional - only started with Java some year ago, so I might be not the most competent :-) But the fact is, that I'm using this library in one of my live projects, so I've got real interest in keeping it alive.

sovcik avatar Mar 12 '17 21:03 sovcik

@sovcik I am still not sure, wether this lib makes it into one of my projects. Still in progress. I think you are more destined to take over the project.

And i do not have the time to maintain this project accordingly. I feel glad if i can just present some pull requests to you for possible integrations :)

computerlyrik avatar Mar 13 '17 10:03 computerlyrik

@computerlyrik OK, understand. @nkolban Neil, if it is fine for you, then I can take over. J

sovcik avatar Mar 13 '17 12:03 sovcik

@sovcik Perfect ... let us now study on what it takes to "move" a repository

nkolban avatar Mar 13 '17 14:03 nkolban

@computerlyrik will you still attempt to release this to a maven repo?

Xeli avatar Mar 21 '17 13:03 Xeli

tl;dr: No.

Long version:

@Xeli Since recently, i think it is the project maintainer who controls, which release, features etc. gets published. I may help @sovcik with release process if needed. Templates are available.

Personally, i am still investigating possible bugs in GPIO and Java-OSGI and trying to concentrate to solve these. As soon as possible i will step in with a helping hand.

computerlyrik avatar Mar 22 '17 14:03 computerlyrik

@computerlyrik that's a shame, but I understand it's better if the project maintainer has control over the maven repo.

I used your pom.xml's for compiling jpigpio though, perhaps you could add it to this repo for future use?

Xeli avatar Mar 23 '17 17:03 Xeli

Hi there! Something new?

nils-bauer avatar May 09 '17 17:05 nils-bauer

I have published this library (or more specifically my fork) to the maven central repo: https://mvnrepository.com/artifact/eu.xeli/jpigpio_2.12

It does not contain the native api and uses the namespace eu.xeli.jpigpio but otherwise is identical to this library.

Xeli avatar Jun 14 '17 16:06 Xeli

FYI I've developed something similar that supports both local and remote socket access using pigpio, see https://github.com/mattjlewis/pigpioj I am actively developing this as part of my diozero Java library at https://github.com/mattjlewis/diozero.

Matt

mattjlewis avatar Jul 05 '17 18:07 mattjlewis

Matt, New users should most likely go with your project. Great stuff.

nkolban avatar Jul 05 '17 19:07 nkolban