Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform the first Maven release #6

Open
ppalaga opened this issue Jul 21, 2015 · 22 comments
Open

Perform the first Maven release #6

ppalaga opened this issue Jul 21, 2015 · 22 comments

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Jul 21, 2015

Not being sure at all how deep is the Maven knowledge here in editorconfig-core-java community, I am listing the steps necessary to perform the first Maven release.

(0) We should decide who will be the release engineer. Some of the project owners seems to be the most natural choice. I am ready to take the role too. Ideally, at least two community members should be able to release.

(1) Initial setup of our OSSRH Maven repository: http://central.sonatype.org/pages/ossrh-guide.html

(1.1) The release engineer needs to create a Jira account on Sonatype Jira: https://issues.sonatype.org/secure/Signup!default.jspa

(1.2) The release engineer needs to create a new project ticket that will be processed manually at Sonatype: https://issues.sonatype.org/secure/CreateIssue.jspa?issuetype=21&pid=10134

(2) Our project needs to comply with Maven Central Requirements http://central.sonatype.org/pages/requirements.html such as GPG/PGP signing, supplying Javadoc and Sources, etc.

(3) The release engineer needs to release.

@ppalaga
Copy link
Contributor Author

ppalaga commented Jul 21, 2015

I volunteer to take care for the step (2).

@paulvi
Copy link

paulvi commented Sep 2, 2015

👍

@ppalaga
Copy link
Contributor Author

ppalaga commented Sep 2, 2015

@paulvi nice to see your 👍 but I wonder how to interpret it? I suppose you are interested in the change, but you are not an owner of the editorconfig-core-java GitHub repository so that you can help with some of the tasks, right?

@paulvi
Copy link

paulvi commented Sep 2, 2015

👍 is imoji for code :+1: plus one,
I usually use it in a sense "I second this bug/request"

It also lets me follow the issue conversations.

consuming Maven published artifacts is more stable way than gitmodules, see ncjones/editorconfig-eclipse#12

@paulvi
Copy link

paulvi commented Sep 2, 2015

@mickaelistria
Copy link

Having editorconfig-core-java published somewhere with Maven is important for Java-based tools that want to support editorconfig (such as the editorconfig-eclipse plugin). Is there any way to make it happen soon?

@xuhdev
Copy link
Member

xuhdev commented May 25, 2016

@denofevil Can you look into this please? Thanks!

@denofevil
Copy link
Contributor

@xuhdev I'm looking at it. Would it be ok if I publish that under JetBrains account to simplify things?

@jbaruch
Copy link

jbaruch commented May 25, 2016

Ping me if you need help with JFrog Bintray/JCenter or syncing to Maven Central from there.

@ppalaga
Copy link
Contributor Author

ppalaga commented May 25, 2016

Gentlemen, thanks a lot that the things started to move :)

Would it be ok if I publish that under JetBrains account to simplify things?

@denofevil account where? At Sonatype or Bintray? I prefer releasing directly to Sonatype. There is no point in depending on Bintray. Releasing to Sonatype is simpler and faster.

BTW, does your question mean that mean that several JetBrains employees share one account?

@jbaruch
Copy link

jbaruch commented May 25, 2016

@ppalaga can you please elaborate why you think releasing to Bintray is not a good idea and how releasing to Sonatype is simpler? It's your project, you'll do what's right for it, but I am dying to hear the argument. Because for example, if you use Bintray, you don't need the "release engineer" (does that role sounds like 1990 for me only?). After all, you don't need a "source code engineer" to check in your code to GitHub, do you? Why the release should be different? Bintray supports organizations much like GitHub.

@ppalaga
Copy link
Contributor Author

ppalaga commented May 25, 2016

@jbaruch when I released via Bintray last time, (1) I had to register at Sonatype anyway (2) I had to enter my Sonatype creds on Bintray UI and (3) releases via Bintray simply cannot appear faster on Central compared to releases via Bintray, because releases via Bintray go via Sontatype. To sum up, I see Bintray as a useless level of indirection.

@jbaruch
Copy link

jbaruch commented May 25, 2016

I am not sure you know what Bintray is. It is by all means not a gateway to Maven Central. If you only used it as such, there are two options – keep releasing to Sonatype directly, or give it another look to see what it gives except of the sync to legacy platforms like Maven Central.

@ppalaga
Copy link
Contributor Author

ppalaga commented May 25, 2016

@jbaruch indeed, having editorconfig-core-java on Maven Central is my sole wish here.

@jbaruch
Copy link

jbaruch commented May 25, 2016

In this case, absolutely, there is no need to drive a nail with a scientific microscope, if you get my analogy here.

@ppalaga
Copy link
Contributor Author

ppalaga commented May 25, 2016

@jbaruch neither with galactic telescope :)

@jbaruch
Copy link

jbaruch commented May 25, 2016

True that. When you'll get to the need of a real universal distribution platform (either for editorconfig or anything else) let's talk :)

@mickaelistria
Copy link

Note that for editorconfig-eclipse, the artifact "only" needs on whatever Maven repo available publicly. However, as Maven central is available by default and has retention policies that have worked well so far, it would be my favorite too. But a 1st iteration on a dedicated Maven repo would already be great, and editorconfig-eclipse would most likely consume it as it.

@xuhdev
Copy link
Member

xuhdev commented May 27, 2016

@denofevil No problem!

@stempler
Copy link

Did this ever happen? In the README it seems like it should be published to Maven Central, but the search comes up empty.
I'm about to create a Gradle plugin where I would like to make use of the library. And things would be much easier if the library is available on Maven Central / JCenter.

@ppalaga
Copy link
Contributor Author

ppalaga commented Aug 21, 2016

@stempler say it louder!

@ppalaga
Copy link
Contributor Author

ppalaga commented Dec 22, 2017

Together with @angelozerr we created a new independent Java EditorConfig parser ec4j [1]
and our first release is available on Maven Central [2].

[1] https://github.com/ec4j/ec4j
[2] http://central.maven.org/maven2/org/ec4j/core/ec4j-core/

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

No branches or pull requests

7 participants