1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.contentstack</groupId >
8+ <artifactId >cms</artifactId >
9+ <name >contentstack-management-java</name >
10+ <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
12+ </description >
13+ <url >https://github.com/contentstack/contentstack-management-java/</url >
14+
15+ <parent >
16+ <groupId >org.sonatype.oss</groupId >
17+ <artifactId >oss-parent</artifactId >
18+ <version >7</version >
19+ </parent >
20+
21+ <scm >
22+ <url >https://github.com/contentstack/contentstack-management-java</url >
23+ <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+ <tag >HEAD</tag >
26+ </scm >
27+
28+ <issueManagement >
29+ <system >GitHub Issues</system >
30+ <url >http://github.com/contentstack/contentstack-management-java/issues</url >
31+ </issueManagement >
32+
33+ <licenses >
34+ <license >
35+ <name >MIT</name >
36+ <url >http://www.opensource.org/licenses/mit-license.php</url >
37+ </license >
38+ </licenses >
39+
40+ <organization >
41+ <name >Contentstack</name >
42+ <url >http://contentstack.com</url >
43+ </organization >
44+
45+ <developers >
46+ <developer >
47+ <name >shaileshmishra</name >
48+ <email >shailesh.mishra@contentstack.com</email >
49+ <organization >contentstack</organization >
50+ <organizationUrl >https://www.contentstack.com/</organizationUrl >
51+ </developer >
52+
53+ <developer >
54+ <name >contentstack</name >
55+ <email >mobile@contentstack.com</email >
56+ <organization >Contentstack</organization >
57+ <organizationUrl >https://www.contentstack.com/</organizationUrl >
58+ </developer >
59+ </developers >
60+
61+ <distributionManagement >
62+ <snapshotRepository >
63+ <id >ossrh</id >
64+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
65+ </snapshotRepository >
66+ <repository >
67+ <id >ossrh</id >
68+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
69+ </repository >
70+ </distributionManagement >
71+
72+ <properties >
73+ <maven .compiler.source>8</maven .compiler.source>
74+ <maven .compiler.target>8</maven .compiler.target>
75+ <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>
79+ <surefire-report-plugin .version>2.22.0</surefire-report-plugin .version>
80+ <maven-source-plugin .version>2.2.1</maven-source-plugin .version>
81+ <maven-javadoc-plugin .version>3.1.1</maven-javadoc-plugin .version>
82+ <dotenv-source .version>5.2.2</dotenv-source .version>
83+ <rxjava-source .version>3.0.10</rxjava-source .version>
84+ <retrofit-source .version>2.3.0</retrofit-source .version>
85+ <converter-gson-source .version>2.3.0</converter-gson-source .version>
86+ <loggin .version>3.9.0</loggin .version>
87+ <jococo-plugin .version>0.8.5</jococo-plugin .version>
88+ <lombok-source .version>1.18.18</lombok-source .version>
89+ <junit-jupiter .version>5.7.1</junit-jupiter .version>
90+ <jackson-databind .version>2.11.1</jackson-databind .version>
91+ <maven-site-plugin .version>3.3</maven-site-plugin .version>
92+ <maven-gpg-plugin .version>1.5</maven-gpg-plugin .version>
93+ <maven-compiler-plugin .version>3.8.0</maven-compiler-plugin .version>
94+ <nexus-staging-maven-plugin .version>1.6.7</nexus-staging-maven-plugin .version>
95+ <maven-release-plugin .version>2.5.3</maven-release-plugin .version>
96+ </properties >
97+
98+ <dependencies >
99+ <dependency >
100+ <groupId >io.github.cdimascio</groupId >
101+ <artifactId >java-dotenv</artifactId >
102+ <version >${dotenv-source.version} </version >
103+ </dependency >
104+ <dependency >
105+ <groupId >io.reactivex.rxjava3</groupId >
106+ <artifactId >rxjava</artifactId >
107+ <version >${rxjava-source.version} </version >
108+ </dependency >
109+ <dependency >
110+ <groupId >com.squareup.retrofit2</groupId >
111+ <artifactId >retrofit</artifactId >
112+ <version >${retrofit-source.version} </version >
113+ </dependency >
114+ <dependency >
115+ <groupId >com.squareup.retrofit2</groupId >
116+ <artifactId >converter-gson</artifactId >
117+ <version >${converter-gson-source.version} </version >
118+ </dependency >
119+ <dependency >
120+ <groupId >com.squareup.okhttp3</groupId >
121+ <artifactId >logging-interceptor</artifactId >
122+ <version >${loggin.version} </version >
123+ </dependency >
124+ <dependency >
125+ <groupId >org.projectlombok</groupId >
126+ <artifactId >lombok</artifactId >
127+ <version >${lombok-source.version} </version >
128+ </dependency >
129+ <dependency >
130+ <groupId >com.fasterxml.jackson.core</groupId >
131+ <artifactId >jackson-databind</artifactId >
132+ <version >${jackson-databind.version} </version >
133+ </dependency >
134+ <dependency >
135+ <groupId >org.junit.jupiter</groupId >
136+ <artifactId >junit-jupiter</artifactId >
137+ <version >${junit-jupiter.version} </version >
138+ <scope >test</scope >
139+ </dependency >
140+ <dependency >
141+ <groupId >org.junit.vintage</groupId >
142+ <artifactId >junit-vintage-engine</artifactId >
143+ <version >5.7.0</version >
144+ </dependency >
145+ <dependency >
146+ <groupId >com.squareup.retrofit2</groupId >
147+ <artifactId >converter-jackson</artifactId >
148+ <version >2.9.0</version >
149+ </dependency >
150+ </dependencies >
151+
152+ <build >
153+ <plugins >
154+ <!--
155+ # Run tests and generate .xml reports
156+ mvn test
157+ # Convert .xml reports into .html report, but without the CSS or images
158+ mvn surefire-report:report-only
159+ # Put the CSS and images where they need to be without the rest of the
160+ # time-consuming stuff
161+ mvn surefire-report:report site -DgenerateReports=false
162+ -->
163+ <plugin >
164+ <groupId >org.apache.maven.plugins</groupId >
165+ <artifactId >maven-surefire-report-plugin</artifactId >
166+ <version >${surefire-report-plugin.version} </version >
167+ <executions >
168+ <execution >
169+ <phase >test</phase >
170+ <goals >
171+ <goal >report-only</goal >
172+ </goals >
173+ </execution >
174+ </executions >
175+ </plugin >
176+ <plugin >
177+ <groupId >org.apache.maven.plugins</groupId >
178+ <artifactId >maven-source-plugin</artifactId >
179+ <version >${maven-source-plugin.version} </version >
180+ <executions >
181+ <execution >
182+ <id >attach-sources</id >
183+ <goals >
184+ <goal >jar-no-fork</goal >
185+ </goals >
186+ </execution >
187+ </executions >
188+ </plugin >
189+ <plugin >
190+ <groupId >org.apache.maven.plugins</groupId >
191+ <artifactId >maven-javadoc-plugin</artifactId >
192+ <version >${maven-javadoc-plugin.version} </version >
193+ <executions >
194+ <execution >
195+ <id >attach-javadocs</id >
196+ <goals >
197+ <goal >jar</goal >
198+ </goals >
199+ <configuration >
200+ <additionalOptions >-Xdoclint:none</additionalOptions >
201+ <use >false</use >
202+ <use >false</use >
203+ <source >1.8</source >
204+ <links >
205+ <link >http://docs.oracle.com/javase/7/docs/api/</link >
206+ <link >http://docs.oracle.com/javase/7/docs/api/</link >
207+ </links >
208+ <doclint >none</doclint >
209+ </configuration >
210+ </execution >
211+ </executions >
212+ </plugin >
213+ <plugin >
214+ <groupId >org.apache.maven.plugins</groupId >
215+ <artifactId >maven-site-plugin</artifactId >
216+ <version >${maven-site-plugin.version} </version >
217+ </plugin >
218+
219+ <!--
220+ Signs all of a project's attached artifacts with GnuPG.
221+ You need to have previously configured the default key.
222+ gpg also needs to be on the search path.
223+ -->
224+ <plugin >
225+ <groupId >org.apache.maven.plugins</groupId >
226+ <artifactId >maven-gpg-plugin</artifactId >
227+ <version >${maven-gpg-plugin.version} </version >
228+ <executions >
229+ <execution >
230+ <id >sign-artifacts</id >
231+ <phase >verify</phase >
232+ <goals >
233+ <goal >sign</goal >
234+ </goals >
235+ </execution >
236+ </executions >
237+ </plugin >
238+
239+ <!--
240+ Sometimes when you may need to compile a certain project to a different
241+ version than what you are currently using. The javac can accept such command
242+ using -source and -target. The Compiler Plugin can also be configured to
243+ provide these options during compilation
244+ -->
245+ <plugin >
246+ <groupId >org.apache.maven.plugins</groupId >
247+ <artifactId >maven-compiler-plugin</artifactId >
248+ <version >${maven-compiler-plugin.version} </version >
249+ <configuration >
250+ <source >${java.version} </source >
251+ <target >${java.version} </target >
252+ <compilerArgument >-Xlint:all</compilerArgument >
253+ <showWarnings >true</showWarnings >
254+ <showDeprecation >true</showDeprecation >
255+ </configuration >
256+ </plugin >
257+ <plugin >
258+ <groupId >org.sonatype.plugins</groupId >
259+ <artifactId >nexus-staging-maven-plugin</artifactId >
260+ <version >${nexus-staging-maven-plugin.version} </version >
261+ <extensions >true</extensions >
262+ <configuration >
263+ <serverId >ossrh</serverId >
264+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
265+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
266+ </configuration >
267+ </plugin >
268+ <!--
269+ This plugin is used to release a project with Maven, saving a lot of repetitive, manual work.
270+ Releasing a project is made in two steps: prepare and perform.
271+ -->
272+ <plugin >
273+ <groupId >org.apache.maven.plugins</groupId >
274+ <artifactId >maven-release-plugin</artifactId >
275+ <version >${maven-release-plugin.version} </version >
276+ <configuration >
277+ <autoVersionSubmodules >true</autoVersionSubmodules >
278+ <useReleaseProfile >false</useReleaseProfile >
279+ <releaseProfiles >release</releaseProfiles >
280+ <goals >deploy</goals >
281+ </configuration >
282+ </plugin >
283+ <plugin >
284+ <groupId >org.jacoco</groupId >
285+ <artifactId >jacoco-maven-plugin</artifactId >
286+ <version >${jococo-plugin.version} </version >
287+ <executions >
288+ <execution >
289+ <goals >
290+ <goal >prepare-agent</goal >
291+ </goals >
292+ </execution >
293+ <execution >
294+ <id >report</id >
295+ <phase >prepare-package</phase >
296+ <goals >
297+ <goal >report</goal >
298+ </goals >
299+ </execution >
300+ </executions >
301+ </plugin >
302+ </plugins >
303+ </build >
304+
305+ </project >
0 commit comments