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

Add Artifacts in format for maven central #570

Merged
Merged
Changes from all commits
Commits
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
Add Artifacts in format for maven central
Signed-off-by: Andre Kurait <[email protected]>
AndreKurait committed Apr 9, 2024

Verified

This commit was signed with the committer’s verified signature.
AndreKurait Andre Kurait
commit 4a0a4e5a590d9f190cbbc581586e334335dd8abe
17 changes: 17 additions & 0 deletions TrafficCapture/build.gradle
Original file line number Diff line number Diff line change
@@ -12,6 +12,15 @@ allprojects {
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
task javadocJar(type: Jar, dependsOn: javadoc) {
archiveClassifier.set('javadoc')
from javadoc.destinationDir
}
task sourcesJar(type: Jar) {
archiveClassifier.set('sources')
from sourceSets.main.allSource
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
def excludedProjects = [
'buildSrc',
'dockerSolution',
@@ -21,6 +30,9 @@ subprojects {
publications {
mavenJava(MavenPublication) {
from components.java
artifact javadocJar
artifact sourcesJar


group = 'org.opensearch.migrations.trafficcapture'
version = '0.1.0'
@@ -48,6 +60,11 @@ subprojects {
url = "https://github.com/opensearch-project/opensearch-migrations"
}
}
scm {
connection = "scm:[email protected]:opensearch-project/opensearch-migrations.git"
developerConnection = "scm:[email protected]:opensearch-project/opensearch-migrations.git"
url = "[email protected]:opensearch-project/opensearch-migrations.git"
}
}

// Suppress POM metadata warnings for test fixtures
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
* responsibility to serialize that for the final HTTP Request.
*
* Notice that this class will emit ByteBufs and the next handler in the pipeline,
* @NettyJsonToByteBufHandler will simply pass those ByteBufs through, while repackaging HttpContent
* NettyJsonToByteBufHandler will simply pass those ByteBufs through, while repackaging HttpContent
* messages, seemingly similar to what this class does! However, these two handlers have slightly
* calling contexts. This handler will only be utilized when there needed to be a material change
* on the incoming HttpContent objects from the original request. The next handler will be called