Skip to content

Commit fbacab7

Browse files
committed
Cleanup component metadata rules
1 parent 6a9eea9 commit fbacab7

File tree

1 file changed

+1
-78
lines changed

1 file changed

+1
-78
lines changed

settings.gradle

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
import org.elasticsearch.gradle.internal.dependencies.rules.ExcludeTransitivesRule
2-
import org.elasticsearch.gradle.internal.dependencies.rules.SpotlessRule
32
import org.elasticsearch.gradle.internal.toolchain.AdoptiumJdkToolchainResolver
43
import org.elasticsearch.gradle.internal.toolchain.ArchivedOracleJdkToolchainResolver
54
import org.elasticsearch.gradle.internal.toolchain.OracleOpenJdkToolchainResolver
65

7-
//import org.elasticsearch.gradle.internal.dependencies.rules.CodeQualityRule
8-
96
pluginManagement {
107
repositories {
118
mavenCentral()
@@ -36,20 +33,15 @@ dependencyResolutionManagement {
3633

3734
dependencyResolutionManagement {
3835
components {
39-
withModule("co.elastic.apm:elastic-apm-agent", ExcludeTransitivesRule)
40-
withModule("co.elastic.apm:elastic-apm-agent-java8", ExcludeTransitivesRule)
41-
withModule("co.elastic.clients:elasticsearch-java", ExcludeTransitivesRule)
4236
withModule("co.elastic.logging:log4j2-ecs-layout", ExcludeTransitivesRule)
4337
withModule("com.azure:azure-core", ExcludeTransitivesRule)
4438
withModule("com.azure:azure-core-http-netty", ExcludeTransitivesRule)
4539
withModule("com.azure:azure-core-http-okhttp", ExcludeTransitivesRule)
4640
withModule("com.azure:azure-identity", ExcludeTransitivesRule)
47-
withModule("com.azure:azure-json", ExcludeTransitivesRule)
4841
withModule("com.azure:azure-storage-blob", ExcludeTransitivesRule)
4942
withModule("com.azure:azure-storage-blob-batch", ExcludeTransitivesRule)
5043
withModule("com.azure:azure-storage-common", ExcludeTransitivesRule)
5144
withModule("com.azure:azure-storage-internal-avro", ExcludeTransitivesRule)
52-
withModule("com.azure:azure-xml", ExcludeTransitivesRule)
5345
withModule("com.carrotsearch.randomizedtesting:randomizedtesting-runner", ExcludeTransitivesRule)
5446
withModule("com.fasterxml.jackson.core:jackson-annotations", ExcludeTransitivesRule)
5547
withModule("com.fasterxml.jackson.core:jackson-core", ExcludeTransitivesRule)
@@ -60,13 +52,6 @@ dependencyResolutionManagement {
6052
withModule("com.fasterxml.jackson.datatype:jackson-datatype-jsr310", ExcludeTransitivesRule)
6153
withModule("com.fasterxml.jackson.module:jackson-module-jaxb-annotations", ExcludeTransitivesRule)
6254
withModule("com.fasterxml.woodstox:woodstox-core", ExcludeTransitivesRule)
63-
withModule("com.github.docker-java:docker-java-api", ExcludeTransitivesRule)
64-
withModule("com.github.docker-java:docker-java-core", ExcludeTransitivesRule)
65-
withModule("com.github.docker-java:docker-java-transport", ExcludeTransitivesRule)
66-
withModule("com.github.docker-java:docker-java-transport-zerodep", ExcludeTransitivesRule)
67-
withModule("com.github.javaparser:javaparser-core", ExcludeTransitivesRule)
68-
withModule("com.github.spullara.mustache.java:compiler", ExcludeTransitivesRule)
69-
withModule("com.github.stephenc.jcip:jcip-annotations", ExcludeTransitivesRule)
7055
withModule("com.google.api-client:google-api-client", ExcludeTransitivesRule)
7156
withModule("com.google.api.grpc:proto-google-cloud-storage-v2", ExcludeTransitivesRule)
7257
withModule("com.google.api.grpc:proto-google-common-protos", ExcludeTransitivesRule)
@@ -75,25 +60,20 @@ dependencyResolutionManagement {
7560
withModule("com.google.api:gax", ExcludeTransitivesRule)
7661
withModule("com.google.api:gax-httpjson", ExcludeTransitivesRule)
7762
withModule("com.google.apis:google-api-services-storage", ExcludeTransitivesRule)
78-
withModule("com.google.auth:google-auth-library-credentials", ExcludeTransitivesRule)
7963
withModule("com.google.auth:google-auth-library-oauth2-http", ExcludeTransitivesRule)
8064
withModule("com.google.cloud:google-cloud-core", ExcludeTransitivesRule)
8165
withModule("com.google.cloud:google-cloud-core-http", ExcludeTransitivesRule)
8266
withModule("com.google.cloud:google-cloud-storage", ExcludeTransitivesRule)
8367
withModule("com.google.code.gson:gson", ExcludeTransitivesRule)
84-
withModule("com.google.guava:failureaccess", ExcludeTransitivesRule)
8568
withModule("com.google.guava:guava", ExcludeTransitivesRule)
8669
withModule("com.google.http-client:google-http-client", ExcludeTransitivesRule)
8770
withModule("com.google.http-client:google-http-client-appengine", ExcludeTransitivesRule)
8871
withModule("com.google.http-client:google-http-client-gson", ExcludeTransitivesRule)
8972
withModule("com.google.http-client:google-http-client-jackson2", ExcludeTransitivesRule)
9073
withModule("com.google.jimfs:jimfs", ExcludeTransitivesRule)
9174
withModule("com.google.oauth-client:google-oauth-client", ExcludeTransitivesRule)
92-
withModule("com.google.protobuf:protobuf-java", ExcludeTransitivesRule)
9375
withModule("com.google.protobuf:protobuf-java-util", ExcludeTransitivesRule)
9476
withModule("com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer", ExcludeTransitivesRule)
95-
withModule("com.googlecode.plist:dd-plist", ExcludeTransitivesRule)
96-
withModule("com.ibm.icu:icu4j", ExcludeTransitivesRule)
9777
withModule("com.maxmind.geoip2:geoip2", ExcludeTransitivesRule)
9878
withModule("com.microsoft.azure:azure-core", ExcludeTransitivesRule)
9979
withModule("com.microsoft.azure:azure-svc-mgmt-compute", ExcludeTransitivesRule)
@@ -109,27 +89,15 @@ dependencyResolutionManagement {
10989
withModule("com.microsoft.kiota:microsoft-kiota-serialization-multipart", ExcludeTransitivesRule)
11090
withModule("com.microsoft.kiota:microsoft-kiota-serialization-text", ExcludeTransitivesRule)
11191
withModule("com.networknt:json-schema-validator", ExcludeTransitivesRule)
112-
withModule("com.nimbusds:content-type", ExcludeTransitivesRule)
113-
withModule("com.nimbusds:lang-tag", ExcludeTransitivesRule)
114-
withModule("com.nimbusds:nimbus-jose-jwt", ExcludeTransitivesRule)
11592
withModule("com.nimbusds:oauth2-oidc-sdk", ExcludeTransitivesRule)
11693
withModule("com.squareup.okhttp3:okhttp", ExcludeTransitivesRule)
11794
withModule("com.squareup.okio:okio", ExcludeTransitivesRule)
11895
withModule("com.squareup.okio:okio-jvm", ExcludeTransitivesRule)
119-
withModule("com.squareup:javapoet", ExcludeTransitivesRule)
120-
withModule("com.sun.activation:jakarta.activation", ExcludeTransitivesRule)
12196
withModule("com.sun.mail:jakarta.mail", ExcludeTransitivesRule)
12297
withModule("com.sun.xml.bind:jaxb-impl", ExcludeTransitivesRule)
123-
withModule("com.unboundid:unboundid-ldapsdk", ExcludeTransitivesRule)
12498
withModule("com.wdtinc:mapbox-vector-tile", ExcludeTransitivesRule)
125-
withModule("commons-cli:commons-cli", ExcludeTransitivesRule)
126-
withModule("commons-collections:commons-collections", ExcludeTransitivesRule)
127-
withModule("commons-io:commons-io", ExcludeTransitivesRule)
128-
withModule("commons-lang:commons-lang", ExcludeTransitivesRule)
12999
withModule("io.dropwizard.metrics:metrics-core", ExcludeTransitivesRule)
130-
withModule("io.github.std-uritemplate:std-uritemplate", ExcludeTransitivesRule)
131100
withModule("io.grpc:grpc-api", ExcludeTransitivesRule)
132-
withModule("io.grpc:grpc-context", ExcludeTransitivesRule)
133101
withModule("io.netty:netty-buffer", ExcludeTransitivesRule)
134102
withModule("io.netty:netty-codec", ExcludeTransitivesRule)
135103
withModule("io.netty:netty-codec-dns", ExcludeTransitivesRule)
@@ -146,7 +114,6 @@ dependencyResolutionManagement {
146114
withModule("io.opencensus:opencensus-api", ExcludeTransitivesRule)
147115
withModule("io.opencensus:opencensus-contrib-http-util", ExcludeTransitivesRule)
148116
withModule("io.opentelemetry:opentelemetry-api", ExcludeTransitivesRule)
149-
withModule("io.opentelemetry:opentelemetry-common", ExcludeTransitivesRule)
150117
withModule("io.opentelemetry:opentelemetry-context", ExcludeTransitivesRule)
151118
withModule("io.opentelemetry:opentelemetry-exporter-common", ExcludeTransitivesRule)
152119
withModule("io.opentelemetry:opentelemetry-exporter-otlp", ExcludeTransitivesRule)
@@ -158,42 +125,26 @@ dependencyResolutionManagement {
158125
withModule("io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi", ExcludeTransitivesRule)
159126
withModule("io.opentelemetry:opentelemetry-sdk-metrics", ExcludeTransitivesRule)
160127
withModule("io.opentelemetry:opentelemetry-semconv", ExcludeTransitivesRule)
161-
withModule("io.ous:jtoml", ExcludeTransitivesRule)
162128
withModule("io.projectreactor.netty:reactor-netty-core", ExcludeTransitivesRule)
163129
withModule("io.projectreactor.netty:reactor-netty-http", ExcludeTransitivesRule)
164130
withModule("io.projectreactor:reactor-core", ExcludeTransitivesRule)
165131
withModule("io.sgr:s2-geometry-library-java", ExcludeTransitivesRule)
166-
withModule("jakarta.activation:jakarta.activation-api", ExcludeTransitivesRule)
167132
withModule("jakarta.xml.bind:jakarta.xml.bind-api", ExcludeTransitivesRule)
168-
withModule("javax.inject:javax.inject", ExcludeTransitivesRule)
169133
withModule("javax.mail:mail", ExcludeTransitivesRule)
170-
withModule("javax.servlet:javax.servlet-api", ExcludeTransitivesRule)
171134
withModule("javax.xml.bind:jaxb-api", ExcludeTransitivesRule)
172-
withModule("joda-time:joda-time", ExcludeTransitivesRule)
173135
withModule("junit:junit", ExcludeTransitivesRule)
174-
withModule("net.java.dev.jna:jna", ExcludeTransitivesRule)
175136
withModule("net.java.dev.jna:jna-platform", ExcludeTransitivesRule)
176-
//withModule("net.java.dev.jets3t:jets3t", ExcludeTransitivesRule)
177-
withModule("net.jcip:jcip-annotations", ExcludeTransitivesRule)
178137
withModule("net.minidev:accessors-smart", ExcludeTransitivesRule)
179138
withModule("net.minidev:json-smart", ExcludeTransitivesRule)
180139
withModule("net.sf.ehcache:ehcache", ExcludeTransitivesRule)
181-
withModule("net.sf.supercsv:super-csv", ExcludeTransitivesRule)
182140
withModule("net.shibboleth.utilities:java-support", ExcludeTransitivesRule)
183-
withModule("org.acme:broken-log4j", ExcludeTransitivesRule)
184-
withModule("org.acme:dummy-io", ExcludeTransitivesRule)
185-
withModule("org.acme:dummy-string", ExcludeTransitivesRule)
186141
withModule("org.apache.arrow:arrow-format", ExcludeTransitivesRule)
187142
withModule("org.apache.arrow:arrow-memory-core", ExcludeTransitivesRule)
188143
withModule("org.apache.arrow:arrow-vector", ExcludeTransitivesRule)
189-
withModule("org.apache.commons:commons-collections4", ExcludeTransitivesRule)
190144
withModule("org.apache.commons:commons-compress", ExcludeTransitivesRule)
191-
withModule("org.apache.commons:commons-lang3", ExcludeTransitivesRule)
192-
withModule("org.apache.commons:commons-math3", ExcludeTransitivesRule)
193145
withModule("org.apache.commons:commons-text", ExcludeTransitivesRule)
194146
withModule("org.apache.directory.api:api-asn1-api", ExcludeTransitivesRule)
195147
withModule("org.apache.directory.api:api-asn1-ber", ExcludeTransitivesRule)
196-
withModule("org.apache.directory.api:api-i18n", ExcludeTransitivesRule)
197148
withModule("org.apache.directory.api:api-ldap-client-api", ExcludeTransitivesRule)
198149
withModule("org.apache.directory.api:api-ldap-codec-core", ExcludeTransitivesRule)
199150
withModule("org.apache.directory.api:api-ldap-codec-standalone", ExcludeTransitivesRule)
@@ -207,13 +158,10 @@ dependencyResolutionManagement {
207158
withModule("org.apache.directory.api:api-util", ExcludeTransitivesRule)
208159
withModule("org.apache.directory.jdbm:apacheds-jdbm1", ExcludeTransitivesRule)
209160
withModule("org.apache.directory.mavibot:mavibot", ExcludeTransitivesRule)
210-
withModule("org.apache.directory.server:apacheds-core", ExcludeTransitivesRule)
211161
withModule("org.apache.directory.server:apacheds-core-annotations", ExcludeTransitivesRule)
212162
withModule("org.apache.directory.server:apacheds-core-api", ExcludeTransitivesRule)
213163
withModule("org.apache.directory.server:apacheds-i18n", ExcludeTransitivesRule)
214164
withModule("org.apache.directory.server:apacheds-interceptor-kerberos", ExcludeTransitivesRule)
215-
withModule("org.apache.directory.server:apacheds-interceptors-authn", ExcludeTransitivesRule)
216-
withModule("org.apache.directory.server:apacheds-interceptors-exception", ExcludeTransitivesRule)
217165
withModule("org.apache.directory.server:apacheds-jdbm-partition", ExcludeTransitivesRule)
218166
withModule("org.apache.directory.server:apacheds-kerberos-codec", ExcludeTransitivesRule)
219167
withModule("org.apache.directory.server:apacheds-ldif-partition", ExcludeTransitivesRule)
@@ -225,15 +173,10 @@ dependencyResolutionManagement {
225173
withModule("org.apache.directory.server:apacheds-test-framework", ExcludeTransitivesRule)
226174
withModule("org.apache.directory.server:apacheds-xdbm-partition", ExcludeTransitivesRule)
227175
withModule("org.apache.directory.server:ldap-client-test", ExcludeTransitivesRule)
228-
withModule("org.apache.ftpserver:ftplet-api", ExcludeTransitivesRule)
229-
//withModule("org.apache.ftpserver:ftpserver-core", ExcludeTransitivesRule)
230-
withModule("org.apache.hadoop:hadoop-auth", ExcludeTransitivesRule)
231176
withModule("org.apache.hadoop:hadoop-client-api", ExcludeTransitivesRule)
232177
withModule("org.apache.hadoop:hadoop-client-runtime", ExcludeTransitivesRule)
233178
withModule("org.apache.hadoop:hadoop-common", ExcludeTransitivesRule)
234179
withModule("org.apache.hadoop:hadoop-hdfs", ExcludeTransitivesRule)
235-
// withModule("org.apache.hadoop:hadoop-minicluster", ExcludeTransitivesRule)
236-
withModule("org.apache.hadoop:hadoop-yarn-common", ExcludeTransitivesRule)
237180
withModule("org.apache.httpcomponents.client5:httpclient5", ExcludeTransitivesRule)
238181
withModule("org.apache.httpcomponents:fluent-hc", ExcludeTransitivesRule)
239182
withModule("org.apache.httpcomponents:httpasyncclient", ExcludeTransitivesRule)
@@ -250,11 +193,10 @@ dependencyResolutionManagement {
250193
withModule("org.apache.kerby:kerb-simplekdc", ExcludeTransitivesRule)
251194
withModule("org.apache.kerby:kerb-util", ExcludeTransitivesRule)
252195
withModule("org.apache.kerby:kerby-config", ExcludeTransitivesRule)
253-
withModule("org.apache.kerby:kerby-pkix:", ExcludeTransitivesRule)
196+
withModule("org.apache.kerby:kerby-pkix", ExcludeTransitivesRule)
254197
withModule("org.apache.kerby:ldap-backend", ExcludeTransitivesRule)
255198
withModule("org.apache.kerby:token-provider", ExcludeTransitivesRule)
256199
withModule("org.apache.logging.log4j:log4j-1.2-api", ExcludeTransitivesRule)
257-
withModule("org.apache.logging.log4j:log4j-api", ExcludeTransitivesRule)
258200
withModule("org.apache.logging.log4j:log4j-core", ExcludeTransitivesRule)
259201
withModule("org.apache.logging.log4j:log4j-jcl", ExcludeTransitivesRule)
260202
withModule("org.apache.logging.log4j:log4j-slf4j-impl", ExcludeTransitivesRule)
@@ -298,26 +240,15 @@ dependencyResolutionManagement {
298240
withModule("org.apache.tika:tika-parser-text-module", ExcludeTransitivesRule)
299241
withModule("org.apache.tika:tika-parser-xmp-commons", ExcludeTransitivesRule)
300242
withModule("org.apache.xmlbeans:xmlbeans", ExcludeTransitivesRule)
301-
withModule("org.bouncycastle:bc-fips", ExcludeTransitivesRule)
302243
withModule("org.bouncycastle:bcpg-fips", ExcludeTransitivesRule)
303244
withModule("org.bouncycastle:bcpkix-jdk18on", ExcludeTransitivesRule)
304-
withModule("org.bouncycastle:bcprov-jdk18on", ExcludeTransitivesRule)
305245
withModule("org.bouncycastle:bcutil-jdk18on", ExcludeTransitivesRule)
306-
withModule("org.carrot2:morfologik-fsa", ExcludeTransitivesRule)
307246
withModule("org.carrot2:morfologik-stemming", ExcludeTransitivesRule)
308-
withModule("org.codehaus.woodstox:stax2-api", ExcludeTransitivesRule)
309-
withModule("org.cryptomator:siv-mode", ExcludeTransitivesRule)
310-
withModule("org.fusesource.jansi:jansi", ExcludeTransitivesRule)
311-
withModule("org.ini4j:ini4j", ExcludeTransitivesRule)
312247
withModule("org.jetbrains.kotlin:kotlin-stdlib", ExcludeTransitivesRule)
313248
withModule("org.jruby.joni:joni", ExcludeTransitivesRule)
314-
withModule("org.jsoup:jsoup", ExcludeTransitivesRule)
315249
withModule("org.junit.jupiter:junit-jupiter", ExcludeTransitivesRule)
316-
withModule("org.locationtech.jts:jts-core", ExcludeTransitivesRule)
317-
withModule("org.locationtech.spatial4j:spatial4j", ExcludeTransitivesRule)
318250
withModule("org.mockito:mockito-core", ExcludeTransitivesRule)
319251
withModule("org.mockito:mockito-subclass", ExcludeTransitivesRule)
320-
withModule("org.ojalgo:ojalgo", ExcludeTransitivesRule)
321252
withModule("org.openjdk.jmh:jmh-core", ExcludeTransitivesRule)
322253
withModule("org.opensaml:opensaml-core", ExcludeTransitivesRule)
323254
withModule("org.opensaml:opensaml-messaging-api", ExcludeTransitivesRule)
@@ -341,17 +272,12 @@ dependencyResolutionManagement {
341272
withModule("org.ow2.asm:asm-commons", ExcludeTransitivesRule)
342273
withModule("org.ow2.asm:asm-tree", ExcludeTransitivesRule)
343274
withModule("org.ow2.asm:asm-util", ExcludeTransitivesRule)
344-
withModule("org.reactivestreams:reactive-streams", ExcludeTransitivesRule)
345275
withModule("org.reactivestreams:reactive-streams-tck", ExcludeTransitivesRule)
346-
withModule("org.rnorth.duct-tape:duct-tape", ExcludeTransitivesRule)
347276
withModule("org.slf4j:jcl-over-slf4j", ExcludeTransitivesRule)
348-
withModule("org.slf4j:slf4j-api", ExcludeTransitivesRule)
349277
withModule("org.slf4j:slf4j-nop", ExcludeTransitivesRule)
350278
withModule("org.slf4j:slf4j-simple", ExcludeTransitivesRule)
351279
withModule("org.subethamail:subethasmtp", ExcludeTransitivesRule)
352280
withModule("org.testcontainers:testcontainers", ExcludeTransitivesRule)
353-
withModule("org.threeten:threetenbp", ExcludeTransitivesRule)
354-
withModule("software.amazon.awssdk:annotations", ExcludeTransitivesRule)
355281
withModule("software.amazon.awssdk:apache-client", ExcludeTransitivesRule)
356282
withModule("software.amazon.awssdk:arns", ExcludeTransitivesRule)
357283
withModule("software.amazon.awssdk:auth", ExcludeTransitivesRule)
@@ -382,10 +308,7 @@ dependencyResolutionManagement {
382308
withModule("software.amazon.awssdk:sdk-core", ExcludeTransitivesRule)
383309
withModule("software.amazon.awssdk:services", ExcludeTransitivesRule)
384310
withModule("software.amazon.awssdk:sts", ExcludeTransitivesRule)
385-
withModule("software.amazon.awssdk:third-party-jackson-core", ExcludeTransitivesRule)
386311
withModule("software.amazon.awssdk:utils", ExcludeTransitivesRule)
387-
withModule("software.amazon.eventstream:eventstream", ExcludeTransitivesRule)
388-
withModule("ua.net.nlp:morfologik-ukrainian-search", ExcludeTransitivesRule)
389312
}
390313
}
391314

0 commit comments

Comments
 (0)