Update pom.xml with profiles
This commit is contained in:
parent
179838b199
commit
a60d922fd6
@ -10,35 +10,49 @@
|
|||||||
|
|
||||||
<name>json-b</name>
|
<name>json-b</name>
|
||||||
<description>json-b sample project</description>
|
<description>json-b sample project</description>
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>yasson</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<dependencies>
|
||||||
|
<!-- Dependencies for Yasson -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse</groupId>
|
||||||
|
<artifactId>yasson</artifactId>
|
||||||
|
<version>${yasson.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.glassfish</groupId>
|
||||||
|
<artifactId>javax.json</artifactId>
|
||||||
|
<version>${javax.json.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>johnzon</id>
|
||||||
|
<dependencies>
|
||||||
|
<!-- Dependencies for Johnzon -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.geronimo.specs</groupId>
|
||||||
|
<artifactId>geronimo-json_1.1_spec</artifactId>
|
||||||
|
<version>${geronimo-json_1.1_spec.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.johnzon</groupId>
|
||||||
|
<artifactId>johnzon-jsonb</artifactId>
|
||||||
|
<version>${johnzon.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.json.bind</groupId>
|
<groupId>javax.json.bind</groupId>
|
||||||
<artifactId>javax.json.bind-api</artifactId>
|
<artifactId>javax.json.bind-api</artifactId>
|
||||||
<version>${jsonb-api.version}</version>
|
<version>${jsonb-api.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Dependencies for Yasson -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.eclipse</groupId>
|
|
||||||
<artifactId>yasson</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.glassfish</groupId>
|
|
||||||
<artifactId>javax.json</artifactId>
|
|
||||||
<version>1.1.2</version>
|
|
||||||
</dependency>
|
|
||||||
<!-- Dependencies for Johnzon -->
|
|
||||||
<!-- <dependency> -->
|
|
||||||
<!-- <groupId>org.apache.geronimo.specs</groupId> -->
|
|
||||||
<!-- <artifactId>geronimo-json_1.1_spec</artifactId> -->
|
|
||||||
<!-- <version>${geronimo-json_1.1_spec.version}</version> -->
|
|
||||||
<!-- </dependency> -->
|
|
||||||
<!-- <dependency> -->
|
|
||||||
<!-- <groupId>org.apache.johnzon</groupId> -->
|
|
||||||
<!-- <artifactId>johnzon-jsonb</artifactId> -->
|
|
||||||
<!-- <version>${johnzon.version}</version> -->
|
|
||||||
<!-- </dependency> -->
|
|
||||||
<!-- utils -->
|
<!-- utils -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
@ -81,9 +95,11 @@
|
|||||||
<junit.platform.version>1.0.0</junit.platform.version>
|
<junit.platform.version>1.0.0</junit.platform.version>
|
||||||
<junit.jupiter.version>5.0.0</junit.jupiter.version>
|
<junit.jupiter.version>5.0.0</junit.jupiter.version>
|
||||||
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
||||||
<johnzon.version>1.1.3</johnzon.version>
|
|
||||||
<jsonb-api.version>1.0</jsonb-api.version>
|
<jsonb-api.version>1.0</jsonb-api.version>
|
||||||
|
<johnzon.version>1.1.3</johnzon.version>
|
||||||
<geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version>
|
<geronimo-json_1.1_spec.version>1.0</geronimo-json_1.1_spec.version>
|
||||||
|
<yasson.version>1.0</yasson.version>
|
||||||
|
<javax.json.version>1.1.2</javax.json.version>
|
||||||
<commons-collections4.version>4.1</commons-collections4.version>
|
<commons-collections4.version>4.1</commons-collections4.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user