Skip to content

Commit

Permalink
Revert #764 to only use shadowjar publication (#959)
Browse files Browse the repository at this point in the history
* Revert #764 to only use shadowjar publication

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Restore changes

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon authored Jun 3, 2023
1 parent eb94584 commit e6dabc0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 31 deletions.
29 changes: 0 additions & 29 deletions client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,35 +107,6 @@ publishing {
}
}
}
jars(MavenPublication) { publication ->
from components.java
artifact sourcesJar
artifact javadocJar

pom {
name = "OpenSearch Machine Learning Client"
packaging = "jar"
url = "https://github.com/opensearch-project/ml-commons"
description = "OpenSearch Machine Learning Client"
scm {
connection = "scm:git@github.com:opensearch-project/ml-commons.git"
developerConnection = "scm:git@github.com:opensearch-project/ml-commons.git"
url = "git@github.com:opensearch-project/ml-commons.git"
}
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
name = "OpenSearch"
url = "https://github.com/opensearch-project/ml-commons"
}
}
}
}

}

Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ cp -r ./build/local-staging-repo/org/opensearch/. $OUTPUT/maven/org/opensearch
./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
[ -z "$OUTPUT" ] && OUTPUT=artifacts
mkdir -p $OUTPUT/plugins
cp ./plugin/build/distributions/*.zip $OUTPUT/plugins
cp ./plugin/build/distributions/*.zip $OUTPUT/plugins
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ project(":plugin").name = rootProject.name + "-plugin"
include 'ml-algorithms'
project(":ml-algorithms").name = rootProject.name + "-algorithms"

startParameter.excludedTaskNames=["publishShadowPublicationToStagingRepository", "publishShadowPublicationToMavenLocal"]

0 comments on commit e6dabc0

Please sign in to comment.