Skip to content

Commit eaae0e1

Browse files
committed
Exclude transitive org.jetbrains:annotations dependency from Kotlin dependencies.
Closes #2670
1 parent ed77f3e commit eaae0e1

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

parent/pom.xml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,53 +1018,97 @@
10181018

10191019
<dependencyManagement>
10201020
<dependencies>
1021+
10211022
<dependency>
10221023
<groupId>io.projectreactor</groupId>
10231024
<artifactId>reactor-bom</artifactId>
10241025
<version>${reactor}</version>
10251026
<type>pom</type>
10261027
<scope>import</scope>
10271028
</dependency>
1029+
10281030
<dependency>
10291031
<groupId>io.micrometer</groupId>
10301032
<artifactId>micrometer-bom</artifactId>
10311033
<version>${micrometer}</version>
10321034
<type>pom</type>
10331035
<scope>import</scope>
10341036
</dependency>
1037+
10351038
<dependency>
10361039
<groupId>io.micrometer</groupId>
10371040
<artifactId>micrometer-tracing-bom</artifactId>
10381041
<version>${micrometer-tracing}</version>
10391042
<type>pom</type>
10401043
<scope>import</scope>
10411044
</dependency>
1045+
10421046
<dependency>
10431047
<groupId>org.springframework</groupId>
10441048
<artifactId>spring-framework-bom</artifactId>
10451049
<version>${spring}</version>
10461050
<type>pom</type>
10471051
<scope>import</scope>
10481052
</dependency>
1053+
10491054
<dependency>
10501055
<groupId>org.jetbrains.kotlin</groupId>
10511056
<artifactId>kotlin-bom</artifactId>
10521057
<version>${kotlin}</version>
10531058
<type>pom</type>
10541059
<scope>import</scope>
10551060
</dependency>
1061+
1062+
<dependency>
1063+
<groupId>org.jetbrains.kotlin</groupId>
1064+
<artifactId>kotlin-stdlib</artifactId>
1065+
<version>${kotlin}</version>
1066+
<exclusions>
1067+
<exclusion>
1068+
<groupId>org.jetbrains</groupId>
1069+
<artifactId>annotations</artifactId>
1070+
</exclusion>
1071+
</exclusions>
1072+
</dependency>
1073+
10561074
<dependency>
10571075
<groupId>org.jetbrains.kotlinx</groupId>
10581076
<artifactId>kotlinx-coroutines-bom</artifactId>
10591077
<version>${kotlin-coroutines}</version>
10601078
<type>pom</type>
10611079
<scope>import</scope>
10621080
</dependency>
1081+
1082+
<dependency>
1083+
<groupId>org.jetbrains.kotlinx</groupId>
1084+
<artifactId>kotlinx-coroutines-core-jvm</artifactId>
1085+
<version>${kotlin-coroutines}</version>
1086+
<exclusions>
1087+
<exclusion>
1088+
<groupId>org.jetbrains</groupId>
1089+
<artifactId>annotations</artifactId>
1090+
</exclusion>
1091+
</exclusions>
1092+
</dependency>
1093+
1094+
<dependency>
1095+
<groupId>org.jetbrains.kotlinx</groupId>
1096+
<artifactId>kotlinx-coroutines-test-jvm</artifactId>
1097+
<version>${kotlin-coroutines}</version>
1098+
<exclusions>
1099+
<exclusion>
1100+
<groupId>org.jetbrains</groupId>
1101+
<artifactId>annotations</artifactId>
1102+
</exclusion>
1103+
</exclusions>
1104+
</dependency>
1105+
10631106
<dependency>
10641107
<groupId>com.fasterxml.jackson.core</groupId>
10651108
<artifactId>jackson-core</artifactId>
10661109
<version>${jackson}</version>
10671110
</dependency>
1111+
10681112
<dependency>
10691113
<groupId>com.fasterxml.jackson.core</groupId>
10701114
<artifactId>jackson-databind</artifactId>
@@ -1075,65 +1119,97 @@
10751119
<artifactId>jackson-datatype-jdk8</artifactId>
10761120
<version>${jackson}</version>
10771121
</dependency>
1122+
10781123
<dependency>
10791124
<groupId>com.fasterxml.jackson.datatype</groupId>
10801125
<artifactId>jackson-datatype-jsr310</artifactId>
10811126
<version>${jackson}</version>
10821127
</dependency>
1128+
10831129
<dependency>
10841130
<groupId>com.fasterxml.jackson.datatype</groupId>
10851131
<artifactId>jackson-datatype-hibernate6</artifactId>
10861132
<version>${jackson}</version>
10871133
</dependency>
1134+
10881135
<dependency>
10891136
<groupId>tools.jackson</groupId>
10901137
<artifactId>jackson-bom</artifactId>
10911138
<version>${jackson3}</version>
10921139
<type>pom</type>
10931140
<scope>import</scope>
10941141
</dependency>
1142+
10951143
<dependency>
10961144
<groupId>org.junit</groupId>
10971145
<artifactId>junit-bom</artifactId>
10981146
<version>${junit}</version>
10991147
<type>pom</type>
11001148
<scope>import</scope>
11011149
</dependency>
1150+
1151+
<dependency>
1152+
<groupId>org.testcontainers</groupId>
1153+
<artifactId>testcontainers-bom</artifactId>
1154+
<version>${testcontainers}</version>
1155+
<type>pom</type>
1156+
<scope>import</scope>
1157+
</dependency>
1158+
1159+
<dependency>
1160+
<groupId>org.testcontainers</groupId>
1161+
<artifactId>testcontainers</artifactId>
1162+
<version>${testcontainers}</version>
1163+
<scope>test</scope>
1164+
<exclusions>
1165+
<exclusion>
1166+
<groupId>org.jetbrains</groupId>
1167+
<artifactId>annotations</artifactId>
1168+
</exclusion>
1169+
</exclusions>
1170+
</dependency>
1171+
11021172
<dependency>
11031173
<groupId>jakarta.enterprise</groupId>
11041174
<artifactId>jakarta.enterprise.cdi-api</artifactId>
11051175
<version>${cdi}</version>
11061176
<optional>true</optional>
11071177
</dependency>
1178+
11081179
<dependency>
11091180
<groupId>jakarta.servlet</groupId>
11101181
<artifactId>jakarta.servlet-api</artifactId>
11111182
<version>${servlet-api}</version>
11121183
<optional>true</optional>
11131184
</dependency>
1185+
11141186
<dependency>
11151187
<groupId>jakarta.validation</groupId>
11161188
<artifactId>jakarta.validation-api</artifactId>
11171189
<version>${validation}</version>
11181190
</dependency>
1191+
11191192
<dependency>
11201193
<groupId>org.apache.openwebbeans</groupId>
11211194
<artifactId>openwebbeans-se</artifactId>
11221195
<version>${webbeans}</version>
11231196
<scope>test</scope>
11241197
</dependency>
1198+
11251199
<dependency>
11261200
<groupId>org.apache.openwebbeans</groupId>
11271201
<artifactId>openwebbeans-spi</artifactId>
11281202
<version>${webbeans}</version>
11291203
<scope>test</scope>
11301204
</dependency>
1205+
11311206
<dependency>
11321207
<groupId>org.openjdk.jmh</groupId>
11331208
<artifactId>jmh-generator-annprocess</artifactId>
11341209
<scope>test</scope>
11351210
<version>${jmh}</version>
11361211
</dependency>
1212+
11371213
</dependencies>
11381214
</dependencyManagement>
11391215

0 commit comments

Comments
 (0)