-
Notifications
You must be signed in to change notification settings - Fork 30
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
[Backport 2.x] Change job-scheduler plugin group to point to correct location #60
Conversation
* Change job-scheduler plguin group to point to correct localtion Signed-off-by: zane-neo <[email protected]> * Add publish task Signed-off-by: zane-neo <[email protected]> * add dependency task to publishToStagingRepo Signed-off-by: zane-neo <[email protected]> * Fix publishAllPublicationsToStagingRepository failure issue Signed-off-by: zane-neo <[email protected]> * add comment to JS plugin path Signed-off-by: zane-neo <[email protected]> --------- Signed-off-by: zane-neo <[email protected]> (cherry picked from commit 37bbd3b) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #60 +/- ##
=========================================
Coverage 45.17% 45.17%
Complexity 30 30
=========================================
Files 6 6
Lines 352 352
Branches 42 42
=========================================
Hits 159 159
Misses 172 172
Partials 21 21 ☔ View full report in Codecov by Sentry. |
@@ -119,7 +119,8 @@ dependencies { | |||
|
|||
// ZipArchive dependencies used for integration tests | |||
zipArchive group: 'org.opensearch.plugin', name:'opensearch-ml-plugin', version: "${version}" | |||
zipArchive group: 'org.opensearch.plugin', name:'opensearch-job-scheduler', version: "${version}" | |||
//JS plugin is published to `org/opensearch` instead of `org/opensearch/plugin` under local maven repo: https://mvnrepository.com/artifact/org.opensearch/opensearch-job-scheduler. | |||
zipArchive group: 'org.opensearch', name:'opensearch-job-scheduler', version: "${version}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we also have https://mvnrepository.com/artifact/org.opensearch.plugin/opensearch-job-scheduler
And the groupId is org.opensearch.plugin
defined here https://github.com/opensearch-project/job-scheduler/blob/main/build.gradle#L131
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Job-scheduler is not publishing plugin zip in publishToMavenLocal
task so can't find plugin in local repo, changing this makes it points to jar file directly, but I checked again and found we'd better directly depend on jars instead of zip for both job-scheduler and anomaly-detection. I've created this PR to fix this: #74. We can merge this one and then backport that PR after merged to main.
…earch-project#56) (opensearch-project#60) * Change job-scheduler plguin group to point to correct localtion * Add publish task * add dependency task to publishToStagingRepo * Fix publishAllPublicationsToStagingRepository failure issue * add comment to JS plugin path --------- (cherry picked from commit 37bbd3b) Signed-off-by: zane-neo <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: yuye-aws <[email protected]>
Backport 37bbd3b from #56.