-
Notifications
You must be signed in to change notification settings - Fork 61
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
[BUG] Use snapshots from distribution/maven for dependencies #274
Comments
we have addressed this in this PR: #296 but keeping this issue open as original intent is to use distribution builds from maven to use in CI workflow. |
why was this closed? it's not yet using opensearch-security from maven: cross-cluster-replication/.github/workflows/security-tests.yml Lines 26 to 36 in a3d0bf0
=> this ticket should IMHO be re-opened as it isn't resolved. |
Hey @ankitkala @rursprung just to connect the dots once the issue is resolved opensearch-project/security#1801, the required zip files can be fetched from maven, if then can this issue be resolved? |
you shouldn't have to manually run |
Hey @rursprung, I have just added as an example, but yes its should be fetched as dependency in gradle. |
Hey Starting with release 2.1.0, we now have plugin zips in maven repo |
@prudhvigodithi: see my comment here: opensearch-project/index-management#403 (comment) i think what's still missing to resolve this is the publishing of the ZIP files to the snapshot maven repo during snapshot builds. unless i was looking in the wrong place...? but then the solution for index-management is IMHO still wrong. |
Hey @rursprung, official release zips are part of maven repo, snapshots can be fetched from nexus maven repo Quick test:
|
@saikaranam-amazon @ankitkala whats the next step here? |
We'll take this up in upcoming 1-2 weeks. @bbarani Are there any timelines you're looking at? |
Closing the issue now. |
there's no need to manually construct a URL and try to fetch the artefact from there. the plugin is published on maven and we can directly use the gradle/maven dependency to fetch it. in order to more easily identify it, a new configuration type has been added: `opensearchPlugin`. for reference see the discussions on the following issues/PRs: - #274 - #455 Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com> Signed-off-by: Ralph Ursprung <Ralph.Ursprung@avaloq.com>
Describe the bug
There are -SNAPSHOT builds checked into https://github.com/opensearch-project/cross-cluster-replication/tree/main/src/test/resources/security/plugin. This is error prone at the very least, use a distribution build.
The text was updated successfully, but these errors were encountered: