|  | 
| 5 | 5 |     <modelVersion>4.0.0</modelVersion> | 
| 6 | 6 |     <groupId>com.contentstack.sdk</groupId> | 
| 7 | 7 |     <artifactId>java</artifactId> | 
| 8 |  | -    <version>1.12.1-SNAPSHOT</version> | 
|  | 8 | +    <version>1.12.2</version> | 
| 9 | 9 |     <packaging>jar</packaging> | 
| 10 | 10 |     <name>contentstack-java</name> | 
| 11 | 11 |     <description>Java SDK for Contentstack Content Delivery API</description> | 
|  | 
| 22 | 22 |         <dotenv-source.version>3.0.0</dotenv-source.version> | 
| 23 | 23 |         <rxjava-source.version>3.1.6</rxjava-source.version> | 
| 24 | 24 |         <retrofit-source.version>2.9.0</retrofit-source.version> | 
| 25 |  | -        <converter-gson-source.version>2.9.0</converter-gson-source.version> | 
| 26 | 25 |         <loggin.version>4.11.0</loggin.version> | 
| 27 | 26 |         <jococo-plugin.version>0.8.5</jococo-plugin.version> | 
| 28 | 27 |         <lombok-source.version>1.18.28</lombok-source.version> | 
|  | 
| 37 | 36 |         <json-version>20230227</json-version> | 
| 38 | 37 |         <jacoco-maven-plugin-version>0.8.7</jacoco-maven-plugin-version> | 
| 39 | 38 |         <maven-release-plugin-version>2.5.3</maven-release-plugin-version> | 
| 40 |  | -        <contentstack-utils-version>1.2.2</contentstack-utils-version> | 
|  | 39 | +        <contentstack-utils-version>1.2.3</contentstack-utils-version> | 
| 41 | 40 |     </properties> | 
| 42 | 41 | 
 | 
| 43 | 42 |     <parent> | 
|  | 
| 87 | 86 |     </developers> | 
| 88 | 87 | 
 | 
| 89 | 88 |     <distributionManagement> | 
|  | 89 | + | 
|  | 90 | +        <!-- Maven Snapshot Repository --> | 
| 90 | 91 |         <snapshotRepository> | 
| 91 | 92 |             <id>ossrh</id> | 
| 92 | 93 |             <url>https://oss.sonatype.org/content/repositories/snapshots</url> | 
| 93 | 94 |         </snapshotRepository> | 
|  | 95 | + | 
|  | 96 | +        <!--GitHub Packages--> | 
|  | 97 | +        <!--        <repository>--> | 
|  | 98 | +        <!--            <id>github</id>--> | 
|  | 99 | +        <!--            <url>https://maven.pkg.github.com/contentstack/contentstack-java</url>--> | 
|  | 100 | +        <!--        </repository>--> | 
|  | 101 | + | 
|  | 102 | +        <!--        Maven Release Repository--> | 
| 94 | 103 |         <repository> | 
| 95 | 104 |             <id>ossrh</id> | 
| 96 | 105 |             <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | 
| 97 | 106 |         </repository> | 
|  | 107 | + | 
| 98 | 108 |     </distributionManagement> | 
| 99 | 109 | 
 | 
| 100 | 110 | 
 | 
|  | 
| 105 | 115 |             <version>${contentstack-utils-version}</version> | 
| 106 | 116 |             <scope>compile</scope> | 
| 107 | 117 |         </dependency> | 
|  | 118 | + | 
| 108 | 119 |         <dependency> | 
| 109 | 120 |             <groupId>org.json</groupId> | 
| 110 | 121 |             <artifactId>json</artifactId> | 
| 111 | 122 |             <version>${json-version}</version> | 
| 112 | 123 |             <scope>compile</scope> | 
| 113 | 124 |         </dependency> | 
|  | 125 | + | 
| 114 | 126 |         <dependency> | 
| 115 | 127 |             <groupId>io.github.cdimascio</groupId> | 
| 116 | 128 |             <artifactId>dotenv-java</artifactId> | 
| 117 | 129 |             <version>${dotenv-source.version}</version> | 
| 118 |  | -            <scope>runtime</scope> | 
|  | 130 | +            <!--            <scope>runtime</scope>--> | 
| 119 | 131 |         </dependency> | 
|  | 132 | + | 
| 120 | 133 |         <dependency> | 
| 121 | 134 |             <groupId>io.reactivex.rxjava3</groupId> | 
| 122 | 135 |             <artifactId>rxjava</artifactId> | 
| 123 | 136 |             <version>${rxjava-source.version}</version> | 
| 124 | 137 |             <scope>compile</scope> | 
| 125 | 138 |         </dependency> | 
|  | 139 | + | 
| 126 | 140 |         <dependency> | 
| 127 | 141 |             <groupId>com.squareup.retrofit2</groupId> | 
| 128 | 142 |             <artifactId>retrofit</artifactId> | 
| 129 | 143 |             <version>${retrofit-source.version}</version> | 
| 130 | 144 |             <scope>compile</scope> | 
| 131 | 145 |         </dependency> | 
|  | 146 | +        <!-- https://mvnrepository.com/artifact/com.squareup.retrofit2/converter-gson --> | 
| 132 | 147 |         <dependency> | 
| 133 | 148 |             <groupId>com.squareup.retrofit2</groupId> | 
| 134 | 149 |             <artifactId>converter-gson</artifactId> | 
| 135 |  | -            <version>${converter-gson-source.version}</version> | 
| 136 |  | -            <scope>compile</scope> | 
|  | 150 | +            <version>${retrofit-source.version}</version> | 
| 137 | 151 |         </dependency> | 
|  | 152 | + | 
| 138 | 153 |         <dependency> | 
| 139 | 154 |             <groupId>com.squareup.okhttp3</groupId> | 
| 140 | 155 |             <artifactId>logging-interceptor</artifactId> | 
|  | 
| 171 | 186 |     </dependencies> | 
| 172 | 187 | 
 | 
| 173 | 188 | 
 | 
|  | 189 | +    <profiles> | 
|  | 190 | +        <profile> | 
|  | 191 | +            <id>release-sign-artifacts</id> | 
|  | 192 | +            <activation> | 
|  | 193 | +                <property> | 
|  | 194 | +                    <name>performRelease</name> | 
|  | 195 | +                    <value>true</value> | 
|  | 196 | +                </property> | 
|  | 197 | +            </activation> | 
|  | 198 | +            <build> | 
|  | 199 | +                <plugins> | 
|  | 200 | +                    <plugin> | 
|  | 201 | +                        <groupId>org.apache.maven.plugins</groupId> | 
|  | 202 | +                        <artifactId>maven-gpg-plugin</artifactId> | 
|  | 203 | +                        <version>${maven-gpg-plugin.version}</version> | 
|  | 204 | +                        <executions> | 
|  | 205 | +                            <execution> | 
|  | 206 | +                                <id>sign-artifacts</id> | 
|  | 207 | +                                <phase>verify</phase> | 
|  | 208 | +                                <goals> | 
|  | 209 | +                                    <goal>sign</goal> | 
|  | 210 | +                                </goals> | 
|  | 211 | +                            </execution> | 
|  | 212 | +                        </executions> | 
|  | 213 | +                    </plugin> | 
|  | 214 | +                </plugins> | 
|  | 215 | +            </build> | 
|  | 216 | +        </profile> | 
|  | 217 | +    </profiles> | 
|  | 218 | + | 
| 174 | 219 |     <build> | 
| 175 | 220 |         <plugins> | 
| 176 | 221 |             <!-- | 
|  | 
| 233 | 278 |                 <artifactId>maven-enforcer-plugin</artifactId> | 
| 234 | 279 |                 <version>3.0.0-M2</version> | 
| 235 | 280 |             </plugin> | 
| 236 |  | -            <plugin> | 
| 237 |  | -                <groupId>org.apache.maven.plugins</groupId> | 
| 238 |  | -                <artifactId>maven-gpg-plugin</artifactId> | 
| 239 |  | -                <version>1.5</version> | 
| 240 |  | -                <executions> | 
| 241 |  | -                    <execution> | 
| 242 |  | -                        <id>sign-artifacts</id> | 
| 243 |  | -                        <phase>verify</phase> | 
| 244 |  | -                        <goals> | 
| 245 |  | -                            <goal>sign</goal> | 
| 246 |  | -                        </goals> | 
| 247 |  | -                    </execution> | 
| 248 |  | -                </executions> | 
| 249 |  | -            </plugin> | 
|  | 281 | +            <!--            <plugin>--> | 
|  | 282 | +            <!--                <groupId>org.apache.maven.plugins</groupId>--> | 
|  | 283 | +            <!--                <artifactId>maven-gpg-plugin</artifactId>--> | 
|  | 284 | +            <!--                <version>1.6</version>--> | 
|  | 285 | +            <!--                <executions>--> | 
|  | 286 | +            <!--                    <execution>--> | 
|  | 287 | +            <!--                        <id>sign-artifacts</id>--> | 
|  | 288 | +            <!--                        <phase>verify</phase>--> | 
|  | 289 | +            <!--                        <goals>--> | 
|  | 290 | +            <!--                            <goal>sign</goal>--> | 
|  | 291 | +            <!--                        </goals>--> | 
|  | 292 | +            <!--                    </execution>--> | 
|  | 293 | +            <!--                </executions>--> | 
|  | 294 | +            <!--            </plugin>--> | 
| 250 | 295 |             <plugin> | 
| 251 | 296 |                 <groupId>org.apache.maven.plugins</groupId> | 
| 252 | 297 |                 <artifactId>maven-compiler-plugin</artifactId> | 
|  | 
| 268 | 313 |                 <version>${nexus-staging-maven-plugin.version}</version> | 
| 269 | 314 |                 <extensions>true</extensions> | 
| 270 | 315 |                 <configuration> | 
| 271 |  | -                    <serverId>ossrh</serverId> | 
| 272 |  | -                    <nexusUrl>https://oss.sonatype.org/</nexusUrl> | 
|  | 316 | +                    <serverId>github</serverId> | 
|  | 317 | +                    <nexusUrl>https://maven.pkg.github.com/contentstack/contentstack-java</nexusUrl> | 
| 273 | 318 |                     <autoReleaseAfterClose>true</autoReleaseAfterClose> | 
| 274 | 319 |                 </configuration> | 
| 275 | 320 |             </plugin> | 
|  | 
0 commit comments