Skip to content

Integrating Gitflow Slim action + Gradle plugin - #15

Closed
jjzazuet wants to merge 11 commits into
EsotericSoftware:masterfrom
vaccovecrana:master
Closed

jjzazuet wants to merge 11 commits into
EsotericSoftware:masterfrom
vaccovecrana:master

Conversation

@jjzazuet

Copy link
Copy Markdown
Collaborator

Ok it's been a while, but now I have a good proposal for discussion.

This PR adds Gradle as the library's build system, while also integrating with this Github Action which will manage SNAPSHOT, MILESTONE and RELEASE artifact version publications for your project towards Sonatype OSS repositories (i.e. Maven Central).

I have listed and documented the costs/benefits of this framework here: https://vaccovecrana.github.io/gitflow-oss-java-slim/

Upon closer inspection of the PR, the most important part to look at is a JSON file which you must customize with your own developer metadata and credentials (sharing those with me is not required, nor encouraged).

So using the documentation above, you'll need to:

  1. Understand what the Github Action + Gradle plugin are doing.
  2. Customize the build file's Org config JSON with your own Sonatype credentials and Maven signing key, and store them as Github Secrets.
  3. Try out an initial SNAPSHOT and MILESTONE action execution in a development branch.
  4. Promote a new RELEASE version in Maven Central once the Org config is defined to your liking.

I have also provided a quick Org config bootstrap section in the Github pages site: https://vaccovecrana.github.io/gitflow-oss-java-slim/04-bootstrap/

Let me know if you have follow up questions or concerns. Thanks!

@jjzazuet jjzazuet mentioned this pull request Apr 12, 2021
@jjzazuet
jjzazuet requested a review from NathanSweet April 17, 2021 17:17
@jjzazuet

Copy link
Copy Markdown
Collaborator Author

@NathanSweet an initial private release (using my Org config, signing key and Maven coordinates) is now published to Maven Central, here: https://repo1.maven.org/maven2/io/vacco/jsonbeans/jsonbeans/

If you wish to have the publication under your namespace com.esotericsoftware, please follow the instructions above.

Alternatively, I can continue pulling your changes into my fork and releasing under my namespace. Let me know what you'd like to do.

Thanks!

@NathanSweet

Copy link
Copy Markdown
Member

I would like to make as few changes to the project as possible:

  • I would not like to remove Eclipse project files or settings.
  • I would not like to move the source files to main/java.
  • Changes to @author tags are not necessary.
    Everything else looks OK.

@jjzazuet jjzazuet closed this May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants