Skip to content

Commit

Permalink
Fix Apache snapshot repo usage (apache#33370)
Browse files Browse the repository at this point in the history
* limit Apache snapshot repo content type

* move up Confluent repo
  • Loading branch information
adoroszlai authored Dec 13, 2024
1 parent 02f9cb9 commit 994d2f0
Showing 1 changed file with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,25 @@ class Repositories {
mavenCentral()
mavenLocal()

// For Confluent Kafka dependencies
maven {
url "https://packages.confluent.io/maven/"
content { includeGroup "io.confluent" }
}

// Release staging repository
maven { url "https://oss.sonatype.org/content/repositories/staging/" }

// Apache nightly snapshots
maven { url "https://repository.apache.org/snapshots" }
maven {
url "https://repository.apache.org/snapshots"
mavenContent {
snapshotsOnly()
}
}

// Apache release snapshots
maven { url "https://repository.apache.org/content/repositories/releases" }

// For Confluent Kafka dependencies
maven {
url "https://packages.confluent.io/maven/"
content { includeGroup "io.confluent" }
}
}

// Apply a plugin which provides the 'updateOfflineRepository' task that creates an offline
Expand Down

0 comments on commit 994d2f0

Please sign in to comment.