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

Use the project.group value for Zip POM groupId value #4156

Merged

Commits on Aug 29, 2022

  1. ZIP publication groupId value is configurable

    When publishing Zip POM the groupId value was hard-coded to `org.opensearch.plugin` value which worked fine for existing core plugins but is not convenient for other plugins (such as community plugins maintained in independent repositories).
    
    This PR changes the sources of the ZIP publishing groupId value.
    
    Specifically, there are two ways to set the value:
    1) It is automatically inherited from the Gradle "project.group"
    2) It can be manually specified in the ZIP publication POM object
    
    This PR also brings a major rework of tests in PublishTests class. Individual testing scenarios are driven by "real" gradle building scripts (utilizing `java-gradle-plugin` gradle plugin).
    
    Closes opensearch-project#3692
    
    Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
    lukas-vlcek committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    5ba43ac View commit details
    Browse the repository at this point in the history