Skip to content

Improvements to artifacts to support Maven artifacts for plugins.#5722

Merged
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:4931-improve-artifacts-for-maven
Jun 4, 2025
Merged

Improvements to artifacts to support Maven artifacts for plugins.#5722
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:4931-improve-artifacts-for-maven

Conversation

@dlvenable

Copy link
Copy Markdown
Member

Description

This PR helps improve our Maven artifacts to prepare to publish Data Prepper plugins to Maven Central:

  • Prepend the data-prepper- prefix to jar names, though they aren't used in the Maven coordinates.
  • Move some projects into .plugins or .core groupIds

Issues Resolved

Resolves #4931

Contributes toward: #5710

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… data-prepper prefix to jar names, though they aren't used in the Maven coordinates. Move some projects into plugins or core groupIds.

Signed-off-by: David Venable <dlv@amazon.com>

subprojects {
apply plugin: 'data-prepper.publish'
group = 'org.opensearch.dataprepper.plugins.source'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the plugins will be grouped under plugins?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I think this would be the cleanest way. Not all plugin projects have only one or the other. For example, Kafka and OpenSearch have both source and sink. And Kafka also has the buffer. So this simple group approach yields more flexibility.

@dlvenable dlvenable merged commit eed21ce into opensearch-project:main Jun 4, 2025
45 of 47 checks passed
jeffreyAaron pushed a commit to jeffreyAaron/data-prepper that referenced this pull request Jun 13, 2025
… data-prepper prefix to jar names, though they aren't used in the Maven coordinates. Move some projects into plugins or core groupIds. (opensearch-project#5722)

Signed-off-by: David Venable <dlv@amazon.com>
Signed-off-by: Jeffrey Aaron Jeyasingh <jeffreyaaron06@gmail.com>
@dlvenable dlvenable deleted the 4931-improve-artifacts-for-maven branch February 9, 2026 19:46
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.

Improve jar names for Data Prepper plugins

3 participants