Skip to content

Commit 3f2079a

Browse files
shaileshmishrashaileshmishra
authored andcommitted
✨ User module added
✅ Tests added for User module - (api, mock, unit) ✔️ coverage user module 100%
1 parent b9c9069 commit 3f2079a

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

pom.xml

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<artifactId>cms</artifactId>
99
<name>contentstack-management-java</name>
1010
<version>0.0.1-SNAPSHOT</version>
11-
<description>Java SDK for Contentstack Content Management API, Contentstack is a headless CMS with an API-first approach
11+
<description>Java SDK for Contentstack Content Management API, Contentstack is a headless CMS with an API-first
12+
approach
1213
</description>
1314
<url>https://github.com/contentstack/contentstack-management-java/</url>
1415

@@ -21,7 +22,8 @@
2122
<scm>
2223
<url>https://github.com/contentstack/contentstack-management-java</url>
2324
<connection>scm:git:git://github.com/contentstack/contentstack-management-java.git</connection>
24-
<developerConnection>scm:git:ssh://github.com:contentstack/contentstack-management-java.git</developerConnection>
25+
<developerConnection>scm:git:ssh://github.com:contentstack/contentstack-management-java.git
26+
</developerConnection>
2527
<tag>HEAD</tag>
2628
</scm>
2729

@@ -73,20 +75,20 @@
7375
<maven.compiler.target>1.8</maven.compiler.target>
7476
<maven.compiler.source>1.8</maven.compiler.source>
7577
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
77-
<project.reporting.sourceEncoding>UTF-8</project.reporting.sourceEncoding>
78-
<build-helper.version>3.0.0</build-helper.version>
78+
<!-- <build-helper.version>3.0.0</build-helper.version>-->
7979
<surefire-report-plugin.version>2.22.0</surefire-report-plugin.version>
8080
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
8181
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
8282
<dotenv-source.version>5.2.2</dotenv-source.version>
8383
<rxjava-source.version>3.0.10</rxjava-source.version>
84-
<retrofit-source.version>2.5.0</retrofit-source.version>
84+
<retrofit-source.version>2.9.0</retrofit-source.version>
8585
<converter-gson-source.version>2.3.0</converter-gson-source.version>
8686
<loggin.version>3.9.0</loggin.version>
8787
<jococo-plugin.version>0.8.5</jococo-plugin.version>
8888
<lombok-source.version>1.18.18</lombok-source.version>
8989
<junit-jupiter.version>5.7.1</junit-jupiter.version>
90+
<junit-jupiter-engine.version>5.8.0-M1</junit-jupiter-engine.version>
91+
<junit-vintage-engine.version>5.7.0</junit-vintage-engine.version>
9092
<gson.version>2.8.6</gson.version>
9193
<maven-site-plugin.version>3.3</maven-site-plugin.version>
9294
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
@@ -140,7 +142,13 @@
140142
<dependency>
141143
<groupId>org.junit.vintage</groupId>
142144
<artifactId>junit-vintage-engine</artifactId>
143-
<version>5.7.0</version>
145+
<version>${junit-vintage-engine.version}</version>
146+
</dependency>
147+
148+
<dependency>
149+
<groupId>com.googlecode.json-simple</groupId>
150+
<artifactId>json-simple</artifactId>
151+
<version>1.1.1</version>
144152
</dependency>
145153
</dependencies>
146154

@@ -150,9 +158,6 @@
150158
<groupId>org.apache.maven.plugins</groupId>
151159
<artifactId>maven-jxr-plugin</artifactId>
152160
<version>3.0.0</version>
153-
<configuration>
154-
<linkXRef>false</linkXRef>
155-
</configuration>
156161
</plugin>
157162
<!--
158163
# Run tests and generate .xml reports
@@ -250,8 +255,8 @@
250255
<artifactId>maven-compiler-plugin</artifactId>
251256
<version>${maven-compiler-plugin.version}</version>
252257
<configuration>
253-
<!-- <source>${java.version}</source>-->
254-
<!-- <target>${java.version}</target>-->
258+
<!-- <source>${java.version}</source>-->
259+
<!-- <target>${java.version}</target>-->
255260
<compilerArgument>-Xlint:all</compilerArgument>
256261
<showWarnings>true</showWarnings>
257262
<showDeprecation>true</showDeprecation>
@@ -304,6 +309,23 @@
304309
</executions>
305310
</plugin>
306311

312+
<plugin>
313+
<groupId>org.apache.maven.plugins</groupId>
314+
<artifactId>maven-surefire-plugin</artifactId>
315+
<version>2.22.2</version>
316+
<configuration>
317+
<properties>
318+
<configurationParameters>
319+
junit.jupiter.extensions.autodetection.enabled = true
320+
junit.jupiter.testinstance.lifecycle.default = per_class
321+
junit.jupiter.execution.parallel.enabled = true
322+
junit.jupiter.execution.parallel.mode.default = concurrent
323+
junit.jupiter.execution.parallel.config.fixed.parallelism
324+
</configurationParameters>
325+
</properties>
326+
</configuration>
327+
</plugin>
328+
307329
</plugins>
308330
</build>
309331

0 commit comments

Comments
 (0)