Skip to content

Commit eda68e6

Browse files
committed
Remove maven-oci-registry plugin [release]
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent 60acc8c commit eda68e6

File tree

3 files changed

+1
-22
lines changed

3 files changed

+1
-22
lines changed

buildSrc/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,3 @@ repositories {
2424
// Use the plugin portal to apply community plugins in convention plugins.
2525
gradlePluginPortal()
2626
}
27-
28-
dependencies {
29-
implementation 'io.seqera.maven-oci-registry:io.seqera.maven-oci-registry.gradle.plugin:0.2.1'
30-
}

buildSrc/src/main/groovy/io.seqera.java-library-conventions.gradle

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ plugins {
2323
// Apply the groovy Plugin to add support for Groovy.
2424
id 'java-library'
2525
id 'groovy'
26-
id 'io.seqera.maven-oci-registry'
26+
id 'maven-publish'
2727
}
2828

2929
repositories {
@@ -84,11 +84,6 @@ tasks.withType(Test) {
8484
])
8585
}
8686

87-
// Publishing configuration
88-
ext.ociRegistryUsername = project.findProperty('ociRegistryUsername') ?: System.getenv('OCI_REGISTRY_USERNAME')
89-
ext.ociRegistryPassword = project.findProperty('ociRegistryPassword') ?: System.getenv('OCI_REGISTRY_PASSWORD')
90-
ext.ociRegistryUrl = project.findProperty('ociRegistryUrl') ?: System.getenv('OCI_REGISTRY_URL') ?: "https://public.cr.stage-seqera.io/maven/snapshots"
91-
9287
publishing {
9388
repositories {
9489
maven {
@@ -100,15 +95,6 @@ publishing {
10095
}
10196
}
10297

103-
mavenOci {
104-
name = 'SeqeraOci'
105-
url = ociRegistryUrl
106-
credentials {
107-
username = ociRegistryUsername
108-
password = ociRegistryPassword
109-
}
110-
overwritePolicy = 'skip'
111-
}
11298
}
11399
publications {
114100
maven(MavenPublication) {

publish.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,3 @@ ret=$(aws s3api head-object --bucket $BUCKET --key $KEY 2>&1) && {
4848
exit 1
4949
fi
5050
}
51-
52-
## Publish to Seqera OCI public registry
53-
./gradlew $NAME:publishMavenPublicationToSeqeraOciRepository

0 commit comments

Comments
 (0)