JCL-402: JSONB test coverage (#1184) · inrupt/solid-client-java@52d485b
@@ -85,6 +85,18 @@
8585<version>${project.version}</version>
8686<scope>test</scope>
8787</dependency>
88+<dependency>
89+<groupId>com.inrupt.client</groupId>
90+<artifactId>inrupt-client-jsonb</artifactId>
91+<version>${project.version}</version>
92+<scope>test</scope>
93+</dependency>
94+<dependency>
95+<groupId>org.eclipse</groupId>
96+<artifactId>yasson</artifactId>
97+<version>${yasson.version}</version>
98+<scope>test</scope>
99+</dependency>
88100<dependency>
89101<groupId>org.slf4j</groupId>
90102<artifactId>slf4j-api</artifactId>
@@ -110,7 +122,7 @@
110122<phase>none</phase>
111123</execution>
112124<execution>
113-<id>httpclient-jena-test</id>
125+<id>httpclient-jena-jackson-test</id>
114126<phase>test</phase>
115127<goals>
116128<goal>test</goal>
@@ -119,11 +131,40 @@
119131<classpathDependencyExcludes>
120132<classpathDependencyExclude>com.inrupt.client:inrupt-client-okhttp</classpathDependencyExclude>
121133<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf4j</classpathDependencyExclude>
134+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jsonb</classpathDependencyExclude>
135+</classpathDependencyExcludes>
136+</configuration>
137+</execution>
138+<execution>
139+<id>httpclient-jena-jsonb-test</id>
140+<phase>test</phase>
141+<goals>
142+<goal>test</goal>
143+</goals>
144+<configuration>
145+<classpathDependencyExcludes>
146+<classpathDependencyExclude>com.inrupt.client:inrupt-client-okhttp</classpathDependencyExclude>
147+<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf4j</classpathDependencyExclude>
148+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jackson</classpathDependencyExclude>
149+</classpathDependencyExcludes>
150+</configuration>
151+</execution>
152+<execution>
153+<id>httpclient-rdf4j-jackson-test</id>
154+<phase>test</phase>
155+<goals>
156+<goal>test</goal>
157+</goals>
158+<configuration>
159+<classpathDependencyExcludes>
160+<classpathDependencyExclude>com.inrupt.client:inrupt-client-okhttp</classpathDependencyExclude>
161+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jena</classpathDependencyExclude>
162+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jsonb</classpathDependencyExclude>
122163</classpathDependencyExcludes>
123164</configuration>
124165</execution>
125166<execution>
126-<id>httpclient-rdf4j-test</id>
167+<id>httpclient-rdf4j-jsonb-test</id>
127168<phase>test</phase>
128169<goals>
129170<goal>test</goal>
@@ -132,11 +173,12 @@
132173<classpathDependencyExcludes>
133174<classpathDependencyExclude>com.inrupt.client:inrupt-client-okhttp</classpathDependencyExclude>
134175<classpathDependencyExclude>com.inrupt.client:inrupt-client-jena</classpathDependencyExclude>
176+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jackson</classpathDependencyExclude>
135177</classpathDependencyExcludes>
136178</configuration>
137179</execution>
138180<execution>
139-<id>okhttp-jena-test</id>
181+<id>okhttp-jena-jackson-test</id>
140182<phase>test</phase>
141183<goals>
142184<goal>test</goal>
@@ -146,11 +188,42 @@
146188<classpathDependencyExclude>com.inrupt.client:inrupt-client-httpclient</classpathDependencyExclude>
147189<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf4j</classpathDependencyExclude>
148190<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf-legacy</classpathDependencyExclude>
191+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jsonb</classpathDependencyExclude>
192+</classpathDependencyExcludes>
193+</configuration>
194+</execution>
195+<execution>
196+<id>okhttp-jena-jsonb-test</id>
197+<phase>test</phase>
198+<goals>
199+<goal>test</goal>
200+</goals>
201+<configuration>
202+<classpathDependencyExcludes>
203+<classpathDependencyExclude>com.inrupt.client:inrupt-client-httpclient</classpathDependencyExclude>
204+<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf4j</classpathDependencyExclude>
205+<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf-legacy</classpathDependencyExclude>
206+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jackson</classpathDependencyExclude>
207+</classpathDependencyExcludes>
208+</configuration>
209+</execution>
210+<execution>
211+<id>okhttp-rdf4j-jackson-test</id>
212+<phase>test</phase>
213+<goals>
214+<goal>test</goal>
215+</goals>
216+<configuration>
217+<classpathDependencyExcludes>
218+<classpathDependencyExclude>com.inrupt.client:inrupt-client-httpclient</classpathDependencyExclude>
219+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jena</classpathDependencyExclude>
220+<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf-legacy</classpathDependencyExclude>
221+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jsonb</classpathDependencyExclude>
149222</classpathDependencyExcludes>
150223</configuration>
151224</execution>
152225<execution>
153-<id>okhttp-rdf4j-test</id>
226+<id>okhttp-rdf4j-jsonb-test</id>
154227<phase>test</phase>
155228<goals>
156229<goal>test</goal>
@@ -160,6 +233,7 @@
160233<classpathDependencyExclude>com.inrupt.client:inrupt-client-httpclient</classpathDependencyExclude>
161234<classpathDependencyExclude>com.inrupt.client:inrupt-client-jena</classpathDependencyExclude>
162235<classpathDependencyExclude>com.inrupt.client:inrupt-client-rdf-legacy</classpathDependencyExclude>
236+<classpathDependencyExclude>com.inrupt.client:inrupt-client-jackson</classpathDependencyExclude>
163237</classpathDependencyExcludes>
164238</configuration>
165239</execution>