Skip to content

Commit

Permalink
Merge pull request #570 from AndreKurait/MavenCentralArtifacts
Browse files Browse the repository at this point in the history
Add Artifacts in format for maven central
  • Loading branch information
AndreKurait committed Apr 9, 2024
2 parents 95ff189 + 4a0a4e5 commit 48110cb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions TrafficCapture/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -21,6 +30,9 @@ subprojects {
publications {
mavenJava(MavenPublication) {
from components.java
artifact javadocJar
artifact sourcesJar


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

// Suppress POM metadata warnings for test fixtures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48110cb

Please sign in to comment.