Skip to content

Commit 97f4dd0

Browse files
vulnerability issues fixed
1 parent 6e92a92 commit 97f4dd0

File tree

1 file changed

+74
-30
lines changed

1 file changed

+74
-30
lines changed

pom.xml

Lines changed: 74 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,44 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.contentstack.sdk</groupId>
88
<artifactId>java</artifactId>
9-
<version>1.7.0</version>
9+
<version>1.8.0</version>
1010
<packaging>jar</packaging>
1111
<name>contentstack-java</name>
12-
<description>Java SDK for Contentstack Content Delivery API, Contentstack is a headless CMS with an API-first
13-
approach
14-
</description>
12+
<description>Java SDK for Contentstack Content Delivery API</description>
1513
<url>https://github.com/contentstack/contentstack-java/</url>
1614

15+
16+
<properties>
17+
<!--update sdk version before every release push for SNAPSHOT/RELEASE-->
18+
<sdk.version.snapshot>v1.8.0-SNAPSHOT</sdk.version.snapshot>
19+
<sdk.version.release>v1.8.0</sdk.version.release>
20+
<maven.compiler.target>1.8</maven.compiler.target>
21+
<maven.compiler.source>1.8</maven.compiler.source>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<surefire-report-plugin.version>2.22.0</surefire-report-plugin.version>
24+
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
25+
<maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
26+
<dotenv-source.version>5.2.2</dotenv-source.version>
27+
<rxjava-source.version>3.1.2</rxjava-source.version>
28+
<retrofit-source.version>2.9.0</retrofit-source.version>
29+
<converter-gson-source.version>2.9.0</converter-gson-source.version>
30+
<loggin.version>4.9.2</loggin.version>
31+
<jococo-plugin.version>0.8.5</jococo-plugin.version>
32+
<lombok-source.version>1.18.22</lombok-source.version>
33+
<junit-jupiter.version>5.8.1</junit-jupiter.version>
34+
<junit-jupiter-engine.version>5.8.0-M1</junit-jupiter-engine.version>
35+
<junit-vintage-engine.version>5.8.1</junit-vintage-engine.version>
36+
<gson.version>2.8.8</gson.version>
37+
<json-simple-version>1.1.1</json-simple-version>
38+
<maven-site-plugin.version>3.3</maven-site-plugin.version>
39+
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
40+
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
41+
<nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version>
42+
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
43+
<json-version>20210307</json-version>
44+
<contentstack-utility-version>1.1.0</contentstack-utility-version>
45+
</properties>
46+
1747
<parent>
1848
<groupId>org.sonatype.oss</groupId>
1949
<artifactId>oss-parent</artifactId>
@@ -44,16 +74,6 @@
4474
<url>http://contentstack.com</url>
4575
</organization>
4676

47-
<properties>
48-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49-
<project.reporting.sourceEncoding>UTF-8</project.reporting.sourceEncoding>
50-
<java.version>1.8</java.version>
51-
<build-helper.version>3.0.0</build-helper.version>
52-
<surefire-report-plugin.version>2.22.0</surefire-report-plugin.version>
53-
<maven-source-plugin.version>2.2.1</maven-source-plugin.version>
54-
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
55-
</properties>
56-
5777
<developers>
5878
<developer>
5979
<name>shaileshmishra</name>
@@ -83,39 +103,63 @@
83103

84104

85105
<dependencies>
86-
87106
<dependency>
88107
<groupId>com.contentstack.sdk</groupId>
89108
<artifactId>utils</artifactId>
90-
<version>1.1.0</version>
109+
<version>${contentstack-utility-version}</version>
110+
</dependency>
111+
<dependency>
112+
<groupId>org.json</groupId>
113+
<artifactId>json</artifactId>
114+
<version>${json-version}</version>
91115
</dependency>
92116
<dependency>
93117
<groupId>io.github.cdimascio</groupId>
94118
<artifactId>java-dotenv</artifactId>
95-
<version>5.2.2</version>
119+
<version>${dotenv-source.version}</version>
96120
</dependency>
97121
<dependency>
98-
<groupId>junit</groupId>
99-
<artifactId>junit</artifactId>
100-
<version>4.13.1</version>
101-
<scope>test</scope>
122+
<groupId>io.reactivex.rxjava3</groupId>
123+
<artifactId>rxjava</artifactId>
124+
<version>${rxjava-source.version}</version>
102125
</dependency>
103126
<dependency>
104-
<groupId>org.json</groupId>
105-
<artifactId>json</artifactId>
106-
<version>20190722</version>
127+
<groupId>com.squareup.retrofit2</groupId>
128+
<artifactId>retrofit</artifactId>
129+
<version>${retrofit-source.version}</version>
130+
</dependency>
131+
<dependency>
132+
<groupId>com.squareup.retrofit2</groupId>
133+
<artifactId>converter-gson</artifactId>
134+
<version>${converter-gson-source.version}</version>
107135
</dependency>
108136
<dependency>
109-
<groupId>org.apache.logging.log4j</groupId>
110-
<artifactId>log4j-api</artifactId>
111-
<version>2.5</version>
137+
<groupId>com.squareup.okhttp3</groupId>
138+
<artifactId>logging-interceptor</artifactId>
139+
<version>${loggin.version}</version>
112140
</dependency>
113141
<dependency>
114-
<groupId>org.apache.logging.log4j</groupId>
115-
<artifactId>log4j-core</artifactId>
116-
<version>2.13.2</version>
142+
<groupId>org.projectlombok</groupId>
143+
<artifactId>lombok</artifactId>
144+
<version>${lombok-source.version}</version>
145+
</dependency>
146+
<dependency>
147+
<groupId>org.junit.jupiter</groupId>
148+
<artifactId>junit-jupiter</artifactId>
149+
<version>${junit-jupiter.version}</version>
150+
<scope>test</scope>
151+
</dependency>
152+
<dependency>
153+
<groupId>org.junit.vintage</groupId>
154+
<artifactId>junit-vintage-engine</artifactId>
155+
<version>${junit-vintage-engine.version}</version>
117156
</dependency>
118157

158+
<dependency>
159+
<groupId>com.googlecode.json-simple</groupId>
160+
<artifactId>json-simple</artifactId>
161+
<version>${json-simple-version}</version>
162+
</dependency>
119163
</dependencies>
120164

121165

0 commit comments

Comments
 (0)