-
Notifications
You must be signed in to change notification settings - Fork 13
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
Current release is readily available to developers without needing to build locally #6
Comments
Do we have a repository manager (Nexus etc.) that we're working with? |
Is there a completely public repository to which we can publish this? |
I didn't look for one online as I first wanted to see if we already have one. I'm guessing we don't have. |
Not ours. A public one |
I think for our own development purposes it's probably sufficient to download to the local repository. |
We an set up Artifactory to do this for internal test releases. https://maven.apache.org/repository/ seems fine for a public publish. |
+1 for this, we are using this and I just wanted to be able to add the dependency in my pom.xml, the central maven repository would be a great place to push this so then we could consume it easily. |
@h-artzi can you please add some info to this issue description with the work remaining to be done to get this project published in maven? we might take on this work soon, so I want to be sure we have all of the required info. |
Tutorial used:
OSSRH@garymoon and I were able to create an OSSRH account. We secured the groupId Pushing up to Maven repository:The goal was to push snapshots (which can change) nightly and released versions (permanent) to the maven repository. In the branch (linked above) we have a script There are several credentials that need to be passed on to whoever is tackling this ticket, ping me and I will pass them on securely! |
For updates on my work, I will be using the following branch: Due to significant work in this repository since the last progress on this story, I'm going to create a new branch for this project, borrowing from Hadar's work as needed. To start, I will focus on only publishing releases, while publishing snapshots can be a separate story we can focus on afterward, if it seems too large. It should be simple enough to separate them using the triggers for being on master branch (for snapshots) or on tagged versions (for releases), but I am going to prioritize having a stable workflow for releases first.
Based off the work Hadar has already done, we have secured a namespace,
What I need:
cc @garymoon @hughsaunders for assistance / feedback on the two credential sections |
👍 from me though I would like to see the @cyberark/conjur-infra-team create and manage the GPG keys, not just provide the password for it. This may be already in the proposal but it should be cleared up. |
Follow up work:
|
@BradleyBoutcher Makes sense. That will be a big change and we should make sure we bump at least the minor semver for it (probably the major version should be the changed one given that nothing will work after the change). |
Infra will indeed be generating the key. I agree a major version bump is in order, though for anyone unfamiliar the group ID change will break any and all code in existence using this library. |
@alexkalish fyi ^ I'd be glad to get your 👍 on this that the next version of this project will include a major version bump (and of course, the docs on proper usage with Maven, issue link TBA) |
I'm excited to announce that our latest release of the Conjur Java API is now available to download from Maven Central simply by including the dependency in your pom.xml. For instructions on updating your project to use the latest Maven build, or update your project that will continue to build latest locally, please refer to the UPGRADING.md in the top level directory for the project. Additionally, I've created a PR in dap-intro that implements these upgrading instructions for a project that previously cloned and built the project locally each time. Feel free to check it out here! All future tagged releases will also be made available in Maven Central as part of our build pipeline, as well as nightly master builds which are published as snapshots. You can view all of these releases and snapshots in the Nexus Repository Manager, which manages hosting for this project. |
All releases should publicly available so a developer only needs to use Maven/Gradle to pull this library into their project.
The text was updated successfully, but these errors were encountered: