Skip to content

Conversation

svor
Copy link
Contributor

@svor svor commented Jun 24, 2025

This pull request introduces changes to the Gradle build configuration to enable Maven publishing and support Red Hat's Project Manipulation Extension (PME).

Gradle Build Configuration Enhancements:

  • Added the maven-publish plugin to the plugins block to enable Maven publishing.
  • Added a publishing block to configure Maven publications, including publishing the bootJar artifact and a script (scripts/run-server.sh).

Gradle Properties Update:

  • Added a group property (org.eclipse.openvsx) to support Red Hat's Project Manipulation Extension (PME) work.

How to test

These changes should not impact the existing OpenVSX server build process.
To verify, you can run the following command:

cd server && gradle --no-daemon assemble publish -Pversion=3.22

Signed-off-by: Valeriy Svydenko <vsvydenk@redhat.com>
@svor
Copy link
Contributor Author

svor commented Jun 24, 2025

@amvanbaren thank you for merging my previous PR!
When you have a moment, could you please review this one as well?
It's also required for Red Hat's internal OpenVSX build process.

@amvanbaren amvanbaren self-assigned this Jun 25, 2025
@amvanbaren
Copy link
Contributor

@svor Where does it publish to? When I run ./gradlew --no-daemon assemble publish -Pversion=3.22 I don't see any output.

@svor
Copy link
Contributor Author

svor commented Jun 25, 2025

@svor Where does it publish to? When I run ./gradlew --no-daemon assemble publish -Pversion=3.22 I don't see any output.

@amvanbaren openvsx-server-3.22.jar should be created in openvsx/server/build/libs folder

@svor
Copy link
Contributor Author

svor commented Jul 1, 2025

@amvanbaren Do you have any concerns about these changes?

@amvanbaren amvanbaren merged commit 6f78505 into eclipse:master Jul 4, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants