Skip to content
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

Fix publishing #800

Merged
merged 43 commits into from
Jun 2, 2023
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
6a7629a
Add integration test task that uses the OpenSearch gradle plugin
ryanbogan Apr 18, 2023
7c5cf1f
Merge main into add_integ_test_framework
ryanbogan Apr 19, 2023
52dda1c
Added closeTestExtension task to kill testExtension process
ryanbogan Apr 19, 2023
17be5bf
Fix spotless
ryanbogan Apr 19, 2023
a45ac35
Merge branch 'main' into add_integ_test_framework
ryanbogan Apr 21, 2023
53bbf1d
Merge main into add_integ_test_framework
ryanbogan May 1, 2023
3d96e32
Implement resolution strategy to fix dependency conflict
ryanbogan May 8, 2023
afba241
Merge branch 'main' into add_integ_test_framework
ryanbogan May 8, 2023
af6904e
Minor adjustment
ryanbogan May 9, 2023
ea2f1f0
Merge branch 'main' into add_integ_test_framework
ryanbogan May 9, 2023
b0d742a
Merge branch 'main' into add_integ_test_framework
ryanbogan May 10, 2023
d0c9ed8
Change jackson version
ryanbogan May 10, 2023
78a0c3b
Change jackson dataformat version
ryanbogan May 10, 2023
476263e
Revert jackson version change
ryanbogan May 10, 2023
f60262b
Merge branch 'main' into add_integ_test_framework
ryanbogan May 11, 2023
1b602a5
Add resolution strategy to fix jackson dependency conflict
ryanbogan May 12, 2023
e1c389b
Address PR Comments
ryanbogan May 12, 2023
94d2b99
Merge branch 'main' into add_integ_test_framework
ryanbogan May 15, 2023
9f37e54
Add new implementation to fix error from separate merge
ryanbogan May 15, 2023
e2d16e0
Address PR Comments
ryanbogan May 16, 2023
660e29c
Address PR Comments
ryanbogan May 16, 2023
71c92be
Revert minor change
ryanbogan May 16, 2023
e2485fb
Address PR Comments
ryanbogan May 16, 2023
85d48ba
Add reading from yaml for testExtensionCreation
ryanbogan May 16, 2023
383e7a5
Spotless
ryanbogan May 16, 2023
71b43c4
Minor change
ryanbogan May 16, 2023
a921cf1
Debug test commit
ryanbogan May 17, 2023
4f0bc31
Merge branch 'main' into add_integ_test_framework
saratvemulapalli May 22, 2023
9e46836
Merge main into add_integ_test-framework
ryanbogan May 23, 2023
d54c143
Minor changes
ryanbogan May 23, 2023
b2c87bd
Merge branch 'add_integ_test_framework' of github.com:ryanbogan/opens…
ryanbogan May 23, 2023
1aa03ec
Remove extra test class
ryanbogan May 23, 2023
e7e9eea
Merge branch 'main' into add_integ_test_framework
owaiskazi19 May 23, 2023
c49abcf
Merge branch 'main' into add_integ_test_framework
ryanbogan May 24, 2023
3d5f1d0
Add index
ryanbogan May 24, 2023
342caa1
Fix inadvertent change
ryanbogan May 24, 2023
7f0fd39
Minor change
ryanbogan May 24, 2023
80c1fc2
Merge main into add_integ_test_framework
ryanbogan May 25, 2023
e7540d8
Add log4j resolution strategy
ryanbogan May 25, 2023
bdadfa7
Remove testing println
ryanbogan May 25, 2023
a5f0490
Fix publishing
ryanbogan Jun 1, 2023
0d2bc35
Merge main into fix_publishing
ryanbogan Jun 1, 2023
9bcb248
Fix merge conflicts
ryanbogan Jun 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ plugins {


apply from: 'gradle/formatting.gradle'
apply plugin: 'maven-publish'
apply plugin: 'java'
apply plugin: 'opensearch.opensearchplugin'
apply plugin: 'opensearch.testclusters'
Expand Down Expand Up @@ -87,51 +86,9 @@ allprojects {
}




group 'org.opensearch.sdk'
version '2.0.0-SNAPSHOT'

java {
withSourcesJar()
withJavadocJar()
}

publishing {
publications {
// add license information to generated poms
all {
pom {
name = "opensearch-sdk-java"
description = "OpenSearch SDK"
}
pom.withXml { XmlProvider xml ->
Node node = xml.asNode()
node.appendNode('inceptionYear', '2022')

Node license = node.appendNode('licenses').appendNode('license')
license.appendNode('name', project.licenseName)
license.appendNode('url', project.licenseUrl)

Node developer = node.appendNode('developers').appendNode('developer')
developer.appendNode('name', 'opensearch-sdk-java')
developer.appendNode('url', 'https://github.com/opensearch-project/opensearch-sdk-java')
}
}
}

repositories {
maven {
name = "Snapshots" // optional target repository name
url = "https://aws.oss.sonatype.org/content/repositories/snapshots"
credentials {
username "$System.env.SONATYPE_USERNAME"
password "$System.env.SONATYPE_PASSWORD"
}
}
}
}

repositories {
mavenLocal()
mavenCentral()
Expand Down