|
10 | 10 |
|
11 | 11 | <name>json-b</name> |
12 | 12 | <description>json-b sample project</description> |
13 | | - |
| 13 | + <profiles> |
| 14 | + <profile> |
| 15 | + <id>yasson</id> |
| 16 | + <activation> |
| 17 | + <activeByDefault>true</activeByDefault> |
| 18 | + </activation> |
| 19 | + <dependencies> |
| 20 | + <!-- Dependencies for Yasson --> |
| 21 | + <dependency> |
| 22 | + <groupId>org.eclipse</groupId> |
| 23 | + <artifactId>yasson</artifactId> |
| 24 | + <version>${yasson.version}</version> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>org.glassfish</groupId> |
| 28 | + <artifactId>javax.json</artifactId> |
| 29 | + <version>${javax.json.version}</version> |
| 30 | + </dependency> |
| 31 | + </dependencies> |
| 32 | + </profile> |
| 33 | + <profile> |
| 34 | + <id>johnzon</id> |
| 35 | + <dependencies> |
| 36 | + <!-- Dependencies for Johnzon --> |
| 37 | + <dependency> |
| 38 | + <groupId>org.apache.geronimo.specs</groupId> |
| 39 | + <artifactId>geronimo-json_1.1_spec</artifactId> |
| 40 | + <version>${geronimo-json_1.1_spec.version}</version> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.apache.johnzon</groupId> |
| 44 | + <artifactId>johnzon-jsonb</artifactId> |
| 45 | + <version>${johnzon.version}</version> |
| 46 | + </dependency> |
| 47 | + </dependencies> |
| 48 | + </profile> |
| 49 | + </profiles> |
14 | 50 | <dependencies> |
15 | 51 | <dependency> |
16 | 52 | <groupId>javax.json.bind</groupId> |
17 | 53 | <artifactId>javax.json.bind-api</artifactId> |
18 | 54 | <version>${jsonb-api.version}</version> |
19 | 55 | </dependency> |
20 | | - <!-- Dependencies for Yasson --> |
21 | | - <dependency> |
22 | | - <groupId>org.eclipse</groupId> |
23 | | - <artifactId>yasson</artifactId> |
24 | | - <version>1.0</version> |
25 | | - </dependency> |
26 | | - <dependency> |
27 | | - <groupId>org.glassfish</groupId> |
28 | | - <artifactId>javax.json</artifactId> |
29 | | - <version>1.1.2</version> |
30 | | - </dependency> |
31 | | - <!-- Dependencies for Johnzon --> |
32 | | - <!-- <dependency> --> |
33 | | - <!-- <groupId>org.apache.geronimo.specs</groupId> --> |
34 | | - <!-- <artifactId>geronimo-json_1.1_spec</artifactId> --> |
35 | | - <!-- <version>${geronimo-json_1.1_spec.version}</version> --> |
36 | | - <!-- </dependency> --> |
37 | | - <!-- <dependency> --> |
38 | | - <!-- <groupId>org.apache.johnzon</groupId> --> |
39 | | - <!-- <artifactId>johnzon-jsonb</artifactId> --> |
40 | | - <!-- <version>${johnzon.version}</version> --> |
41 | | - <!-- </dependency> --> |
42 | 56 | <!-- utils --> |
43 | 57 | <dependency> |
44 | 58 | <groupId>org.apache.commons</groupId> |
|
81 | 95 | <junit.platform.version>1.0.0</junit.platform.version> |
82 | 96 | <junit.jupiter.version>5.0.0</junit.jupiter.version> |
83 | 97 | <maven-surefire-plugin.version>2.20</maven-surefire-plugin.version> |
84 | | - <johnzon.version>1.1.3</johnzon.version> |
85 | 98 | <jsonb-api.version>1.0</jsonb-api.version> |
| 99 | + <johnzon.version>1.1.3</johnzon.version> |
86 | 100 | <geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version> |
| 101 | + <yasson.version>1.0</yasson.version> |
| 102 | + <javax.json.version>1.1.2</javax.json.version> |
87 | 103 | <commons-collections4.version>4.1</commons-collections4.version> |
88 | 104 | </properties> |
89 | 105 |
|
|
0 commit comments