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

Consider publishing jar artifacts to Maven Central #7

Open
heuermh opened this issue Aug 11, 2024 · 3 comments
Open

Consider publishing jar artifacts to Maven Central #7

heuermh opened this issue Aug 11, 2024 · 3 comments

Comments

@heuermh
Copy link

heuermh commented Aug 11, 2024

For downstream projects, it would be nice if the jar artifacts from this repository and the upstream graph repository were published to Maven Central.

See e.g.
https://github.com/armin-reichert/mazes/blob/master/settings.gradle#L4

I could give a hand if that would be considered helpful.

Then I know this is kinda silly but it made me happy:

 ---------------   ---------------   ---------------   ---------------   ---------------   ---------------   ---------------   ---------------
|               | |               | |               | |               | |               | |               | |               | |               |
|               | |               - -               - -               | |               - -               - -               - -               |
|       0       | |       1                 2                 3       | |       4                 5                 6                 7       |
|               | |               - -               - -               | |               - -               - -               - -               |
|               | |               | |               | |               | |               | |               | |               | |               |
 -----|   |-----   -----|   |-----   ---------------   -----|   |-----   -----|   |-----   ---------------   ---------------   -----|   |-----

 -----|   |-----   -----|   |-----   ---------------   -----|   |-----   -----|   |-----   ---------------   ---------------   -----|   |-----
|               | |               | |               | |               | |               | |               | |               | |               |
|               - -               | |               - -               | |               - -               - -               | |               |
|       8                 9       | |      10                11       | |      12                13                14       | |      15       |
|               - -               | |               - -               | |               - -               - -               | |               |
|               | |               | |               | |               | |               | |               | |               | |               |
 -----|   |-----   ---------------   -----|   |-----   ---------------   ---------------   ---------------   -----|   |-----   -----|   |-----

 -----|   |-----   ---------------   -----|   |-----   ---------------   ---------------   ---------------   -----|   |-----   -----|   |-----
|               | |               | |               | |               | |               | |               | |               | |               |
|               | |               - -               - -               - -               - -               | |               | |               |
|      16       | |      17                18                19                20                21       | |      22       | |      23       |
|               | |               - -               - -               - -               - -               | |               | |               |
|               | |               | |               | |               | |               | |               | |               | |               |
 -----|   |-----   ---------------   ---------------   ---------------   ---------------   -----|   |-----   ---------------   -----|   |-----

 -----|   |-----   ---------------   ---------------   ---------------   ---------------   -----|   |-----   ---------------   -----|   |-----
|               | |               | |               | |               | |               | |               | |               | |               |
|               - -               - -               - -               - -               | |               - -               - -               |
|      24                25                26                27                28       | |      29                30                31       |
|               - -               - -               - -               - -               | |               - -               - -               |
|               | |               | |               | |               | |               | |               | |               | |               |
 ---------------   ---------------   ---------------   ---------------   ---------------   ---------------   ---------------   ---------------

Cheers!

@armin-reichert
Copy link
Owner

Hello Michael,

honestly, I have no no idea how to publish artifacts to Maven central and I am not sure if my projects are worth it.

Nevertheless. I appreciate any help in doing it.

Regards
Armin

@heuermh
Copy link
Author

heuermh commented Aug 11, 2024

Hello, Armin, thank you for the quick reply! I have published via maven before but not with gradle; I will look into it and post some docs and/or pull request the necessary changes.

@armin-reichert
Copy link
Owner

armin-reichert commented Aug 12, 2024

Just looked over the projects, updated them to Java 21 and cleaned up some dependencies (logging).

They all have Maven support (Gradle is not relevant yet). Currently, It is sufficient to synch them fro Git and call mvn clean install in the right order. Not sure if the effort to publishing to Maven central is worth it.

I have added a section to the README on how to build the library and the Swing demo app.

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

2 participants