-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add publication of jars workflow #764
Add publication of jars workflow #764
Conversation
Signed-off-by: Yury-Fridlyand <[email protected]>
@@ -35,4 +35,4 @@ jobs: | |||
export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text) | |||
echo "::add-mask::$SONATYPE_USERNAME" | |||
echo "::add-mask::$SONATYPE_PASSWORD" | |||
./gradlew publishPluginZipPublicationToSnapshotsRepository | |||
./gradlew publishPluginZipPublicationToSnapshotsRepository publishJarsPublicationToSnapshotsRepository |
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.
Is this new gradle task "publishJarsPublicationToSnapshotsRepository" introduced by a newer version of gradle? I don't see this task in my local env.
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.
Perhaps, you have to rebuild the project to refresh the caches
Can you label as |
Signed-off-by: Yury-Fridlyand <[email protected]> (cherry picked from commit 22b66d5)
Signed-off-by: Yury-Fridlyand <[email protected]> (cherry picked from commit 22b66d5) Co-authored-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
* Revert #764 to only use shadowjar publication Signed-off-by: Peter Zhu <[email protected]> * Restore changes Signed-off-by: Peter Zhu <[email protected]> --------- Signed-off-by: Peter Zhu <[email protected]>
* Revert #764 to only use shadowjar publication Signed-off-by: Peter Zhu <[email protected]> * Restore changes Signed-off-by: Peter Zhu <[email protected]> --------- Signed-off-by: Peter Zhu <[email protected]> (cherry picked from commit e6dabc0)
* Revert #764 to only use shadowjar publication Signed-off-by: Peter Zhu <[email protected]> * Restore changes Signed-off-by: Peter Zhu <[email protected]> --------- Signed-off-by: Peter Zhu <[email protected]> (cherry picked from commit e6dabc0) Co-authored-by: Peter Zhu <[email protected]>
…search-project#959) * Revert opensearch-project#764 to only use shadowjar publication Signed-off-by: Peter Zhu <[email protected]> * Restore changes Signed-off-by: Peter Zhu <[email protected]> --------- Signed-off-by: Peter Zhu <[email protected]>
* Revert #764 to only use shadowjar publication * Restore changes --------- Signed-off-by: Peter Zhu <[email protected]> Co-authored-by: Peter Zhu <[email protected]>
Description
There are new gradle task
publishJarsPublicationToSnapshotsRepository
which is called in GHA. It publishes client snapshot jars to the corresponding repository.Tested with
publishPluginZipPublicationToMavenLocal
, it producedjar contains
Issues Resolved
Fixes #763
Discussed in #755, #754
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.