|
14 | 14 | -->
|
15 | 15 |
|
16 | 16 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
17 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 17 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
18 | 18 |
|
19 | 19 | <parent>
|
20 | 20 | <groupId>org.eclipse.ee4j</groupId>
|
21 | 21 | <artifactId>project</artifactId>
|
22 |
| - <version>1.0.6</version> |
| 22 | + <version>1.0.7</version> |
23 | 23 | </parent>
|
24 | 24 |
|
25 | 25 | <modelVersion>4.0.0</modelVersion>
|
26 | 26 | <groupId>org.eclipse</groupId>
|
27 | 27 | <artifactId>yasson</artifactId>
|
28 |
| - <version>2.0.5-SNAPSHOT</version> |
| 28 | + <version>3.0.0-SNAPSHOT</version> |
29 | 29 | <packaging>jar</packaging>
|
30 |
| - <name>org.eclipse.yasson</name> |
| 30 | + <name>Yasson</name> |
31 | 31 |
|
32 | 32 | <description>Eclipse Yasson. Reference implementation of JSR-367 (JSON-B).</description>
|
33 | 33 | <url>https://projects.eclipse.org/projects/ee4j.yasson</url>
|
34 | 34 |
|
35 | 35 | <properties>
|
36 | 36 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
37 |
| - <jakarta.json.version>2.0.0</jakarta.json.version> |
38 |
| - <jakarta.json.bind.version>2.0.0</jakarta.json.bind.version> |
39 |
| - <jakarta.enterprise.cdi-api.version>3.0.0</jakarta.enterprise.cdi-api.version> |
| 37 | + <jakarta.json.version>2.0.1</jakarta.json.version> |
| 38 | + <jakarta.json.bind.version>3.0.0-RC1</jakarta.json.bind.version> |
| 39 | + <jakarta.enterprise.cdi-api.version>4.0.0-RC2</jakarta.enterprise.cdi-api.version> |
40 | 40 | <netbeans.hint.jdkPlatform>JDK_9</netbeans.hint.jdkPlatform>
|
41 | 41 | </properties>
|
42 | 42 |
|
|
69 | 69 | <dependency>
|
70 | 70 | <groupId>org.jboss.weld.se</groupId>
|
71 | 71 | <artifactId>weld-se-core</artifactId>
|
72 |
| - <version>4.0.0.Beta2</version> |
| 72 | + <version>5.0.0.Beta1</version> |
73 | 73 | <scope>test</scope>
|
74 | 74 | <exclusions>
|
75 | 75 | <exclusion>
|
76 | 76 | <groupId>jakarta.el</groupId>
|
77 | 77 | <artifactId>jakarta.el-api</artifactId>
|
78 | 78 | </exclusion>
|
79 |
| - <exclusion> |
80 |
| - <groupId>jakarta.annotation</groupId> |
81 |
| - <artifactId>jakarta.annotation-api</artifactId> |
82 |
| - </exclusion> |
83 |
| - <exclusion> |
84 |
| - <groupId>jakarta.enterprise</groupId> |
85 |
| - <artifactId>jakarta.enterprise.cdi-api</artifactId> |
86 |
| - </exclusion> |
87 |
| - <exclusion> |
88 |
| - <groupId>jakarta.interceptor</groupId> |
89 |
| - <artifactId>jakarta.interceptor-api</artifactId> |
90 |
| - </exclusion> |
91 | 79 | </exclusions>
|
92 | 80 | </dependency>
|
93 | 81 | <dependency>
|
|
102 | 90 | <version>5.6.2</version>
|
103 | 91 | <scope>test</scope>
|
104 | 92 | </dependency>
|
| 93 | + <dependency> |
| 94 | + <groupId>org.hamcrest</groupId> |
| 95 | + <artifactId>hamcrest-all</artifactId> |
| 96 | + <version>1.3</version> |
| 97 | + </dependency> |
105 | 98 | </dependencies>
|
106 | 99 |
|
107 | 100 | <organization>
|
|
284 | 277 | </plugins>
|
285 | 278 | </build>
|
286 | 279 | </profile>
|
| 280 | + |
| 281 | + <!-- remove when not needed --> |
| 282 | + <profile> |
| 283 | + <id>staging</id> |
| 284 | + <activation> |
| 285 | + <activeByDefault>false</activeByDefault> |
| 286 | + </activation> |
| 287 | + <repositories> |
| 288 | + <repository> |
| 289 | + <id>sonatype-nexus-staging</id> |
| 290 | + <name>Sonatype Nexus Staging</name> |
| 291 | + <url>${sonatypeOssDistMgmtStagingUrl}</url> |
| 292 | + <releases> |
| 293 | + <enabled>true</enabled> |
| 294 | + </releases> |
| 295 | + <snapshots> |
| 296 | + <enabled>true</enabled> |
| 297 | + </snapshots> |
| 298 | + </repository> |
| 299 | + </repositories> |
| 300 | + <pluginRepositories> |
| 301 | + <pluginRepository> |
| 302 | + <id>sonatype-nexus-staging</id> |
| 303 | + <name>Sonatype Nexus Staging</name> |
| 304 | + <url>${sonatypeOssDistMgmtStagingUrl}</url> |
| 305 | + <releases> |
| 306 | + <enabled>true</enabled> |
| 307 | + </releases> |
| 308 | + <snapshots> |
| 309 | + <enabled>true</enabled> |
| 310 | + </snapshots> |
| 311 | + </pluginRepository> |
| 312 | + </pluginRepositories> |
| 313 | + </profile> |
287 | 314 | </profiles>
|
288 | 315 |
|
289 | 316 | <build>
|
290 |
| - <testResources> |
291 |
| - <testResource> |
292 |
| - <directory>src/test/resources</directory> |
293 |
| - <filtering>true</filtering> |
294 |
| - </testResource> |
295 |
| - </testResources> |
| 317 | +<!-- <testResources>--> |
| 318 | +<!-- <testResource>--> |
| 319 | +<!-- <directory>src/test/resources</directory>--> |
| 320 | +<!-- <filtering>true</filtering>--> |
| 321 | +<!-- </testResource>--> |
| 322 | +<!-- </testResources>--> |
296 | 323 | <finalName>${project.artifactId}</finalName>
|
297 | 324 | <pluginManagement>
|
298 | 325 | <plugins>
|
|
327 | 354 | <executions>
|
328 | 355 | <execution>
|
329 | 356 | <id>default-compile</id>
|
| 357 | + <goals> |
| 358 | + <goal>compile</goal> |
| 359 | + </goals> |
330 | 360 | <configuration>
|
331 |
| - <!-- compile everything to ensure module-info contains right entries --> |
332 |
| - <!-- required when JAVA_HOME is JDK 8 or below --> |
333 |
| - <release>9</release> |
334 |
| - <compilerArgs> |
335 |
| - <!--Remove when CDI is updated to support modules--> |
336 |
| - <arg>--add-reads</arg> |
337 |
| - <arg>org.eclipse.yasson=ALL-UNNAMED</arg> |
338 |
| - </compilerArgs> |
| 361 | + <release>11</release> |
| 362 | + <source>11</source> |
| 363 | + <target>11</target> |
339 | 364 | </configuration>
|
340 | 365 | </execution>
|
341 | 366 | <execution>
|
342 |
| - <id>multi-release-compile-9</id> |
343 |
| - <goals> |
344 |
| - <goal>compile</goal> |
345 |
| - </goals> |
| 367 | + <id>default-testCompile</id> |
346 | 368 | <configuration>
|
347 |
| - <release>9</release> |
348 |
| - <compileSourceRoots> |
349 |
| - <compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot> |
350 |
| - </compileSourceRoots> |
351 |
| - <multiReleaseOutput>true</multiReleaseOutput> |
| 369 | + <release>11</release> |
352 | 370 | </configuration>
|
353 | 371 | </execution>
|
354 | 372 | <execution>
|
|
364 | 382 | <multiReleaseOutput>true</multiReleaseOutput>
|
365 | 383 | </configuration>
|
366 | 384 | </execution>
|
367 |
| - <execution> |
368 |
| - <id>base-compile</id> |
369 |
| - <goals> |
370 |
| - <goal>compile</goal> |
371 |
| - </goals> |
372 |
| - <!-- recompile everything for 1.8 except the module-info.java --> |
373 |
| - <configuration> |
374 |
| - <release>8</release> |
375 |
| - <excludes> |
376 |
| - <exclude>module-info.java</exclude> |
377 |
| - </excludes> |
378 |
| - </configuration> |
379 |
| - </execution> |
380 |
| - <execution> |
381 |
| - <id>default-testCompile</id> |
382 |
| - <configuration> |
383 |
| - <release>11</release> |
384 |
| - </configuration> |
385 |
| - </execution> |
386 | 385 | </executions>
|
387 | 386 | <!-- defaults for compile and testCompile -->
|
388 | 387 | <configuration>
|
389 | 388 | <compilerArgs>
|
| 389 | + <compilerArgument>-proc:none</compilerArgument> |
390 | 390 | <arg>-Xlint:all</arg>
|
391 | 391 | </compilerArgs>
|
392 | 392 | </configuration>
|
|
486 | 486 | java.beans;resolution:="optional",
|
487 | 487 | *
|
488 | 488 | </Import-Package>
|
489 |
| - <Require-Capability>osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))"</Require-Capability> |
| 489 | + <Require-Capability>osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"</Require-Capability> |
490 | 490 | </instructions>
|
491 | 491 | </configuration>
|
492 | 492 | </execution>
|
|
555 | 555 | <configuration>
|
556 | 556 | <rules>
|
557 | 557 | <requireJavaVersion>
|
558 |
| - <version>[9,)</version> |
| 558 | + <version>[11,)</version> |
559 | 559 | </requireJavaVersion>
|
560 | 560 | <requireMavenVersion>
|
561 | 561 | <version>[3.3.9,)</version>
|
|
0 commit comments