-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Gradle custom java zippublish plugin #2988
Gradle custom java zippublish plugin #2988
Conversation
Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com>
❌ Gradle Check failure 5bd117f950a0e5a2e5c56e39fe37d01f5079fb89 |
if (project.getPluginManager().hasPlugin("opensearch.java")) { | ||
publication.artifact(project.getTasks().getByName("sourcesJar")); | ||
publication.artifact(project.getTasks().getByName("javadocJar")); | ||
String search = "zip"; |
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.
Hi @prudhvigodithi,
A bit confused.
Can we have a better naming for this var?
search
does not tell me anything on it.
And the logic seems to find whether these is any zips, before attempting the publish of java later.
Thanks.
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.
Hi @peterzhuamazon
Fixed some access modifiers and var strings in my latest commit.
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Will gladly review once you think this is ready! |
Thanks @dblock , |
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
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.
Something looks odd about introducing a second kind of publication while that wasn't the case for bin or source JARs.
buildSrc/src/main/groovy/org/opensearch/gradle/test/TestWithSslPlugin.java
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/org/opensearch/gradle/PublishPlugin.java
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/org/opensearch/gradle/zipplugin/ZipPublish.java
Outdated
Show resolved
Hide resolved
Signed-off-by: pgodithi <pgodithi@amazon.com>
Task javaDocJarTask = project.getTasks().findByName("javadocJar"); | ||
if (javaDocJarTask != null) { | ||
javaDocJarTask.setEnabled(false); | ||
} |
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.
I don't see this change here, am I missing something?
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Hey @reta and @dblock I have done some code cleanup as per feedback and modified the following.
|
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.
I am good with these changes if @reta is good with this. I don't see any problems. Good job on the tests, too.
I do want to discuss naming one more time, once we merge this it will be difficult to rename all over the place. The proposed publishMavenzipPublicationToZipstagingRepository
does not match the current pattern.
These are the current publish tasks:
publish - Publishes all publications produced by this project.
publishAllPublicationsToSnapshotsRepository - Publishes all Maven publications produced by this project to the Snapshots repository.
publishAllPublicationsToTestRepository - Publishes all Maven publications produced by this project to the test repository.
publishNebulaPublicationToMavenLocal - Publishes Maven publication 'nebula' to the local Maven repository.
publishNebulaPublicationToSnapshotsRepository - Publishes Maven publication 'nebula' to Maven repository 'Snapshots'.
publishNebulaPublicationToTestRepository - Publishes Maven publication 'nebula' to Maven repository 'test'.
publishPluginMavenPublicationToMavenLocal - Publishes Maven publication 'pluginMaven' to the local Maven repository.
publishPluginMavenPublicationToSnapshotsRepository - Publishes Maven publication 'pluginMaven' to Maven repository 'Snapshots'.
publishPluginMavenPublicationToTestRepository - Publishes Maven publication 'pluginMaven' to Maven repository 'test'.
publishShadowPublicationToMavenLocal - Publishes Maven publication 'shadow' to the local Maven repository.
publishShadowPublicationToSnapshotsRepository - Publishes Maven publication 'shadow' to Maven repository 'Snapshots'.
publishShadowPublicationToTestRepository - Publishes Maven publication 'shadow' to Maven repository 'test'.
publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache.
I think what would make sense given this pattern is publishPluginZipPublicationTo*
or publishZipPublicationTo*
, because:
- We are not publishing a maven zip, we're publishing the plugin zip.
- CamelCase should match.
Similarly, the name of the plugin org.opensearch.gradle.zipplugin.ZipPublish
would then be org.opensearch.gradle.pluginzip.Publish
, no need for a double zip.
@prudhvigodithi WDYT? Possible?
yes @dblock possible, but how about the META-INF, is the existing one ( This would be better too |
Signed-off-by: pgodithi <pgodithi@amazon.com>
Signed-off-by: pgodithi <pgodithi@amazon.com>
Hey @dblock just pushed with new naming conventions, the task name will now be |
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.
LGTM, @reta?
* Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> * fixed failure checks Signed-off-by: pgodithi <pgodithi@amazon.com> * fixed failure checks Signed-off-by: pgodithi <pgodithi@amazon.com> * ref String to null Signed-off-by: pgodithi <pgodithi@amazon.com> * Added gradlePlugin config Signed-off-by: pgodithi <pgodithi@amazon.com> * Added gradlePlugin config Signed-off-by: pgodithi <pgodithi@amazon.com> * Added gradlePlugin config Signed-off-by: pgodithi <pgodithi@amazon.com> * Added zipFilePath injection Signed-off-by: pgodithi <pgodithi@amazon.com> * Added custom plugin eval logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Added system property for version check Signed-off-by: pgodithi <pgodithi@amazon.com> * spotlessApply check Signed-off-by: pgodithi <pgodithi@amazon.com> * Added custom plugin eval logic Signed-off-by: pgodithi <pgodithi@amazon.com> * spotlessJavaCheck fix Signed-off-by: pgodithi <pgodithi@amazon.com> * Reverted back existing publish plugin Signed-off-by: pgodithi <pgodithi@amazon.com> * Added feedback code fix Signed-off-by: pgodithi <pgodithi@amazon.com> * modified BUILD_DISTRIBUTIONS_LOCATION to zipDistributionLocation Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * changed the zip artifcat identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * ran spotlessApply Signed-off-by: pgodithi <pgodithi@amazon.com> * ran spotlessApply Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup typos Signed-off-by: pgodithi <pgodithi@amazon.com> * code cleanup and extended unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * code cleanup and extended unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Naming convention fix Signed-off-by: pgodithi <pgodithi@amazon.com> * Naming convention fix Signed-off-by: pgodithi <pgodithi@amazon.com> (cherry picked from commit d61aa40)
I didn't pay attention and this got merged onto 2.0, it shouldn't have been as 2.0 is stabilizing for RC1 😢 I won't revert it, but someone tell me if I should. |
* Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> Added custom plugin Signed-off-by: pgodithi <pgodithi@amazon.com> * fixed failure checks Signed-off-by: pgodithi <pgodithi@amazon.com> * fixed failure checks Signed-off-by: pgodithi <pgodithi@amazon.com> * ref String to null Signed-off-by: pgodithi <pgodithi@amazon.com> * Added gradlePlugin config Signed-off-by: pgodithi <pgodithi@amazon.com> * Added gradlePlugin config Signed-off-by: pgodithi <pgodithi@amazon.com> * Added gradlePlugin config Signed-off-by: pgodithi <pgodithi@amazon.com> * Added zipFilePath injection Signed-off-by: pgodithi <pgodithi@amazon.com> * Added custom plugin eval logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Added system property for version check Signed-off-by: pgodithi <pgodithi@amazon.com> * spotlessApply check Signed-off-by: pgodithi <pgodithi@amazon.com> * Added custom plugin eval logic Signed-off-by: pgodithi <pgodithi@amazon.com> * spotlessJavaCheck fix Signed-off-by: pgodithi <pgodithi@amazon.com> * Reverted back existing publish plugin Signed-off-by: pgodithi <pgodithi@amazon.com> * Added feedback code fix Signed-off-by: pgodithi <pgodithi@amazon.com> * modified BUILD_DISTRIBUTIONS_LOCATION to zipDistributionLocation Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * changed the zip artifcat identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * Changed the zip file identify logic Signed-off-by: pgodithi <pgodithi@amazon.com> * ran spotlessApply Signed-off-by: pgodithi <pgodithi@amazon.com> * ran spotlessApply Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * fix lint issues Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup Signed-off-by: pgodithi <pgodithi@amazon.com> * Code cleanup typos Signed-off-by: pgodithi <pgodithi@amazon.com> * code cleanup and extended unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * code cleanup and extended unit tests Signed-off-by: pgodithi <pgodithi@amazon.com> * Naming convention fix Signed-off-by: pgodithi <pgodithi@amazon.com> * Naming convention fix Signed-off-by: pgodithi <pgodithi@amazon.com> (cherry picked from commit d61aa40)
Description
This change will add custom zippublish plugin, that can publish plugin zips to maven repo.
Issues Resolved
opensearch-project/opensearch-build#1916
Check List
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.