You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Existing all maven publications target the jar files to publish to maven, but not the generated distribution zips.
Expected Behavior
Along with plugin jars, plugin zips should also be published to maven repo with right maven coordinates, so user can download these plugins using dependancy model.
Steps To Reproduce
Run the gradle assemble task that outputs jar and zips.
Using build setup the jars are published to local staging maven repo.
Zip's are just added to distribution's folder during build runtime.
Finally once build is done, just the jar files are added to local maven repo and updates to the manifest file, but not the zips.
Proposed solution
A custom gradle plugin solution that can create the publication task for the zips to get published to local staging maven repo with right maven coordinates.
Add/Configure the custom gradle plugin openseearch.pluginzip to the gradle project and test the generated plugin zip's to upload to local maven repo.
More details on how to use the Plugin: https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md#opensearchpluginzip
The text was updated successfully, but these errors were encountered:
Hey @kkhatua@sgup432, just following up to see if opensearch.pluginzip is integrated, if not please make the necessary changes to add opensearch.pluginzip to support publishing your zips to Maven.
Description
With existing setup the plugin jars are only published to maven repo, but not the generated plugin zips.
Related META issue
opensearch-project/opensearch-build#1916
Current Behavior
Existing all maven publications target the jar files to publish to maven, but not the generated distribution zips.
Expected Behavior
Along with plugin jars, plugin zips should also be published to maven repo with right maven coordinates, so user can download these plugins using dependancy model.
Steps To Reproduce
Proposed solution
A custom gradle plugin solution that can create the publication task for the zips to get published to local staging maven repo with right maven coordinates.
Add/Configure the custom gradle plugin openseearch.pluginzip to the gradle project and test the generated plugin zip's to upload to local maven repo.
More details on how to use the Plugin:
https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md#opensearchpluginzip
The text was updated successfully, but these errors were encountered: