|
92 | 92 |
|
93 | 93 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
94 | 94 | <project.root>${basedir}</project.root> |
95 | | - <source.level>1.8</source.level> |
| 95 | + <source.level>17</source.level> |
96 | 96 | <dist.id>${project.artifactId}</dist.id> |
97 | 97 | <jacoco.destfile>${project.build.directory}/jacoco.exec</jacoco.destfile> |
| 98 | + <kotlin.jvm.target>11</kotlin.jvm.target> |
| 99 | + <maven.kotlin.skip>false</maven.kotlin.skip> |
98 | 100 |
|
99 | 101 | <apt>1.1.3</apt> |
100 | 102 | <aspectj>1.9.7</aspectj> |
|
104 | 106 | <guava>19.0</guava> |
105 | 107 | <hamcrest>1.3</hamcrest> |
106 | 108 | <jackson>2.13.1</jackson> |
| 109 | + <jaxb>2.3.1</jaxb> |
107 | 110 | <jacoco>0.8.7</jacoco> |
108 | 111 | <jodatime>2.10.13</jodatime> |
109 | 112 | <jmolecules>1.4.0</jmolecules> |
|
129 | 132 | <spring>5.3.13</spring> |
130 | 133 | <spring-hateoas>1.4.0</spring-hateoas> |
131 | 134 | <spring-plugin>2.0.0.RELEASE</spring-plugin> |
| 135 | + <servlet-api>4.0.1</servlet-api> |
132 | 136 | <testcontainers>1.16.2</testcontainers> |
133 | 137 | <threetenbp>1.5.2</threetenbp> |
134 | 138 | <validation>1.1.0.Final</validation> |
135 | 139 | <webbeans>2.0.25</webbeans> |
| 140 | + |
| 141 | + <!-- OWB requires via XBean a newer ASM version --> |
136 | 142 | <webbeans.xbean>4.20</webbeans.xbean> |
137 | 143 | <javax-annotation-api>1.3.2</javax-annotation-api> |
138 | 144 |
|
|
208 | 214 |
|
209 | 215 | </profile> |
210 | 216 |
|
211 | | - <!-- Used to build Java 11+ --> |
212 | | - <profile> |
213 | | - <id>java11</id> |
214 | | - |
215 | | - <properties> |
216 | | - <jaxb.version>2.2.11</jaxb.version> |
217 | | - <java-activation.version>1.1.1</java-activation.version> |
218 | | - </properties> |
219 | | - |
220 | | - <dependencies> |
221 | | - <dependency> |
222 | | - <groupId>javax.xml.bind</groupId> |
223 | | - <artifactId>jaxb-api</artifactId> |
224 | | - <version>${jaxb.version}</version> |
225 | | - <scope>provided</scope> |
226 | | - </dependency> |
227 | | - |
228 | | - <dependency> |
229 | | - <groupId>javax.activation</groupId> |
230 | | - <artifactId>activation</artifactId> |
231 | | - <version>${java-activation.version}</version> |
232 | | - <scope>provided</scope> |
233 | | - </dependency> |
234 | | - |
235 | | - <dependency> |
236 | | - <groupId>javax.annotation</groupId> |
237 | | - <artifactId>javax.annotation-api</artifactId> |
238 | | - <version>${javax-annotation-api}</version> |
239 | | - <scope>provided</scope> |
240 | | - </dependency> |
241 | | - </dependencies> |
242 | | - </profile> |
243 | 217 |
|
244 | 218 | <!-- |
245 | 219 | Profile to be run before a release is executed, currently does the following: |
246 | 220 |
|
247 | | - - Prevents thrid-party snapshot dependencies in projects |
| 221 | + - Prevents third-party snapshot dependencies in projects |
248 | 222 | --> |
249 | 223 |
|
250 | 224 | <profile> |
|
278 | 252 | </build> |
279 | 253 | </profile> |
280 | 254 |
|
281 | | - <profile> |
282 | | - |
283 | | - <!-- Profile for SonarCube --> |
284 | | - |
285 | | - <id>sonarcube</id> |
286 | | - |
287 | | - <build> |
288 | | - <plugins> |
289 | | - <plugin> |
290 | | - <groupId>org.jacoco</groupId> |
291 | | - <artifactId>jacoco-maven-plugin</artifactId> |
292 | | - <version>${jacoco}</version> |
293 | | - <configuration> |
294 | | - <destFile>${jacoco.destfile}</destFile> |
295 | | - </configuration> |
296 | | - <executions> |
297 | | - <execution> |
298 | | - <id>jacoco-initialize</id> |
299 | | - <goals> |
300 | | - <goal>prepare-agent</goal> |
301 | | - </goals> |
302 | | - </execution> |
303 | | - </executions> |
304 | | - </plugin> |
305 | | - </plugins> |
306 | | - </build> |
307 | | - </profile> |
308 | | - |
309 | 255 | <profile> |
310 | 256 |
|
311 | 257 | <!-- |
|
1108 | 1054 | <artifactId>kotlin-maven-plugin</artifactId> |
1109 | 1055 | <version>${kotlin}</version> |
1110 | 1056 | <configuration> |
1111 | | - <jvmTarget>${source.level}</jvmTarget> |
| 1057 | + <jvmTarget>${kotlin.jvm.target}</jvmTarget> |
1112 | 1058 | <apiVersion>1.3</apiVersion> |
1113 | 1059 | <languageVersion>1.3</languageVersion> |
1114 | 1060 | <args> |
|
0 commit comments