-
Notifications
You must be signed in to change notification settings - Fork 80
Adds maven publish task to notification #97
Adds maven publish task to notification #97
Conversation
@@ -15,6 +15,8 @@ | |||
|
|||
apply plugin: 'java' | |||
apply plugin: 'jacoco' | |||
apply plugin: 'maven-publish' |
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.
basing off this Job-Scheduler PR this change doesn't have signing
. Do we need to also add this?
@@ -24,3 +27,78 @@ dependencies { | |||
testImplementation "org.elasticsearch.test:framework:${es_version}" | |||
testImplementation "org.easymock:easymock:4.0.1" | |||
} | |||
|
|||
shadowJar { |
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.
this may not work when you have ISM and alerting both depending on notification. I would suggest to repackage at ES plugin level to avoid JarHell
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.
Tested and relocation/repackaging seems to happen during publish and not build. Alerting/ISM using notification should be fine for now, but we do need a long term solution for our collective plugins dependencies. Thanks for the help!
* Adds maven publish task to notification
Issue #, if available:
Description of changes:
Adds maven publish task to notification
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.