|
6 | 6 | <groupId>com.contentstack</groupId> |
7 | 7 | <artifactId>cms</artifactId> |
8 | 8 | <name>contentstack-management-java</name> |
9 | | - <version>${sdk.version.snapshot}</version> |
| 9 | + <version>0.0.1-SNAPSHOT</version> |
10 | 10 | <description>Contentstack Java Management SDK for Content Management API, Contentstack is a headless CMS with an |
11 | 11 | API-first |
12 | 12 | approach |
|
72 | 72 | </distributionManagement> |
73 | 73 |
|
74 | 74 | <properties> |
| 75 | + <!--Keep all dependencies' version updated before pushing to git--> |
75 | 76 | <!--update sdk version before every release push for SNAPSHOT/RELEASE--> |
76 | | - <sdk.version.snapshot>v0.0.1-SNAPSHOT</sdk.version.snapshot> |
77 | | - <sdk.version.release>v0.0.1</sdk.version.release> |
| 77 | + <sdk.version>0.0.1</sdk.version> |
| 78 | + <sdk.version.snapshot>${sdk.version}-SNAPSHOT</sdk.version.snapshot> |
78 | 79 | <maven.compiler.target>1.8</maven.compiler.target> |
79 | 80 | <maven.compiler.source>1.8</maven.compiler.source> |
80 | 81 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
81 | 82 | <surefire-report-plugin.version>2.22.0</surefire-report-plugin.version> |
82 | 83 | <maven-source-plugin.version>2.2.1</maven-source-plugin.version> |
83 | 84 | <maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version> |
84 | 85 | <dotenv-source.version>5.2.2</dotenv-source.version> |
85 | | - <rxjava-source.version>3.0.10</rxjava-source.version> |
| 86 | + <rxjava-source.version>3.1.3</rxjava-source.version> |
86 | 87 | <retrofit-source.version>2.9.0</retrofit-source.version> |
87 | | - <converter-gson-source.version>2.3.0</converter-gson-source.version> |
88 | | - <loggin.version>3.9.0</loggin.version> |
| 88 | + <converter-gson-version>2.9.0</converter-gson-version> |
| 89 | + <loggin.version>4.9.3</loggin.version> |
89 | 90 | <jococo-plugin.version>0.8.5</jococo-plugin.version> |
90 | | - <lombok-source.version>1.18.18</lombok-source.version> |
91 | | - <junit-jupiter.version>5.7.1</junit-jupiter.version> |
| 91 | + <lombok-source.version>1.18.22</lombok-source.version> |
| 92 | + <junit-jupiter.version>5.8.2</junit-jupiter.version> |
92 | 93 | <junit-jupiter-engine.version>5.8.0-M1</junit-jupiter-engine.version> |
93 | | - <junit-vintage-engine.version>5.7.0</junit-vintage-engine.version> |
94 | | - <gson.version>2.8.6</gson.version> |
| 94 | + <junit-vintage-engine.version>5.8.2</junit-vintage-engine.version> |
| 95 | + <gson.version>2.8.9</gson.version> |
95 | 96 | <maven-site-plugin.version>3.3</maven-site-plugin.version> |
96 | 97 | <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> |
97 | 98 | <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> |
|
104 | 105 | <groupId>com.google.code.gson</groupId> |
105 | 106 | <artifactId>gson</artifactId> |
106 | 107 | <version>${gson.version}</version> |
107 | | - </dependency> |
108 | | - <dependency> |
109 | | - <groupId>io.github.cdimascio</groupId> |
110 | | - <artifactId>java-dotenv</artifactId> |
111 | | - <version>${dotenv-source.version}</version> |
| 108 | + <scope>compile</scope> |
112 | 109 | </dependency> |
113 | 110 | <dependency> |
114 | 111 | <groupId>io.reactivex.rxjava3</groupId> |
115 | 112 | <artifactId>rxjava</artifactId> |
116 | 113 | <version>${rxjava-source.version}</version> |
| 114 | + <scope>compile</scope> |
117 | 115 | </dependency> |
118 | 116 | <dependency> |
119 | 117 | <groupId>com.squareup.retrofit2</groupId> |
120 | 118 | <artifactId>retrofit</artifactId> |
121 | 119 | <version>${retrofit-source.version}</version> |
| 120 | + <scope>compile</scope> |
122 | 121 | </dependency> |
123 | 122 | <dependency> |
124 | 123 | <groupId>com.squareup.retrofit2</groupId> |
125 | 124 | <artifactId>converter-gson</artifactId> |
126 | | - <version>${converter-gson-source.version}</version> |
| 125 | + <version>${converter-gson-version}</version> |
| 126 | + <scope>compile</scope> |
127 | 127 | </dependency> |
128 | 128 | <dependency> |
129 | 129 | <groupId>com.squareup.okhttp3</groupId> |
130 | 130 | <artifactId>logging-interceptor</artifactId> |
131 | 131 | <version>${loggin.version}</version> |
| 132 | + <scope>compile</scope> |
132 | 133 | </dependency> |
133 | 134 | <dependency> |
134 | 135 | <groupId>org.projectlombok</groupId> |
135 | 136 | <artifactId>lombok</artifactId> |
136 | 137 | <version>${lombok-source.version}</version> |
| 138 | + <scope>compile</scope> |
| 139 | + </dependency> |
| 140 | + <dependency> |
| 141 | + <groupId>io.github.cdimascio</groupId> |
| 142 | + <artifactId>java-dotenv</artifactId> |
| 143 | + <version>${dotenv-source.version}</version> |
| 144 | + <scope>test</scope> |
137 | 145 | </dependency> |
138 | 146 | <dependency> |
139 | 147 | <groupId>org.junit.jupiter</groupId> |
|
145 | 153 | <groupId>org.junit.vintage</groupId> |
146 | 154 | <artifactId>junit-vintage-engine</artifactId> |
147 | 155 | <version>${junit-vintage-engine.version}</version> |
| 156 | + <scope>test</scope> |
148 | 157 | </dependency> |
149 | 158 |
|
150 | 159 | <dependency> |
151 | 160 | <groupId>com.googlecode.json-simple</groupId> |
152 | 161 | <artifactId>json-simple</artifactId> |
153 | 162 | <version>1.1.1</version> |
| 163 | + <scope>compile</scope> |
154 | 164 | </dependency> |
155 | 165 | </dependencies> |
156 | 166 |
|
|
184 | 194 | </execution> |
185 | 195 | </executions> |
186 | 196 | </plugin> |
187 | | - |
188 | 197 | <plugin> |
189 | 198 | <groupId>org.apache.maven.plugins</groupId> |
190 | 199 | <artifactId>maven-source-plugin</artifactId> |
|
198 | 207 | </execution> |
199 | 208 | </executions> |
200 | 209 | </plugin> |
201 | | - |
202 | | - |
203 | 210 | <plugin> |
204 | 211 | <groupId>org.apache.maven.plugins</groupId> |
205 | 212 | <artifactId>maven-javadoc-plugin</artifactId> |
|
226 | 233 | <doclint>none</doclint> |
227 | 234 | </configuration> |
228 | 235 | </plugin> |
229 | | - |
230 | | - |
231 | 236 | <plugin> |
232 | 237 | <groupId>org.apache.maven.plugins</groupId> |
233 | 238 | <artifactId>maven-site-plugin</artifactId> |
234 | 239 | <version>${maven-site-plugin.version}</version> |
235 | 240 | </plugin> |
236 | | - |
237 | 241 | <!-- |
238 | 242 | Signs all of a project's attached artifacts with GnuPG. |
239 | 243 | You need to have previously configured the default key. |
|
0 commit comments