77 <groupId >com.contentstack.sdk</groupId >
88 <artifactId >java</artifactId >
99 <version >1.2.0</version >
10- <build >
11- <plugins >
12- <plugin >
13- <groupId >org.apache.maven.plugins</groupId >
14- <artifactId >maven-compiler-plugin</artifactId >
15- <configuration >
16- <source >8</source >
17- <target >8</target >
18- </configuration >
19- </plugin >
20- </plugins >
21- </build >
2210 <packaging >jar</packaging >
2311
24-
2512 <name >contentstack-java</name >
2613 <description >Java SDK for Contentstack Content Delivery API, Contentstack is a headless CMS with an API-first approach</description >
2714 <url >http://www.contentstack.com/</url >
2815
29-
3016 <licenses >
3117 <license >
3218 <name >MIT License</name >
3319 <url >http://www.opensource.org/licenses/mit-license.php</url >
3420 </license >
3521 </licenses >
3622
37-
3823 <properties >
3924 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
40- <maven .compiler.source>1.8</maven .compiler.source>
41- <maven .compiler.target>1.8</maven .compiler.target>
42- <encoding >UTF-8</encoding >
43- <project .build.sourceEncoding>${encoding} </project .build.sourceEncoding>
44- <project .reporting.outputEncoding>${encoding} </project .reporting.outputEncoding>
45- <project .resources.sourceEncoding>${encoding} </project .resources.sourceEncoding>
46- <archetype .encoding>${encoding} </archetype .encoding>
25+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
4726 </properties >
4827
28+
4929 <scm >
50- <connection >scm:git:git@github.com/contentstack/contentstack-java.git</connection >
51- <developerConnection >scm:git:git@github.com/contentstack/contentstack-java.git</developerConnection >
5230 <url >https://github.com/contentstack/contentstack-java</url >
31+ <connection >scm:git:git://github.com/contentstack/contentstack-java.git</connection >
32+ <developerConnection >scm:git:git://github.com/contentstack/contentstack-java.git</developerConnection >
5333 <tag >v@{project.version}</tag >
5434 </scm >
5535
36+
5637 <developers >
5738 <developer >
5839 <name >contentstack</name >
6243 </developer >
6344 </developers >
6445
46+ <repositories >
47+ <repository >
48+ <id >contentstack-java</id >
49+ <name >contentstack-java</name >
50+ <url >https://github.com/contentstack/contentstack-java</url >
51+ </repository >
52+ <repository >
53+ <id >central</id >
54+ <name >Central Repository</name >
55+ <url >http://repo.maven.apache.org/maven2</url >
56+ <layout >default</layout >
57+ <snapshots >
58+ <enabled >false</enabled >
59+ </snapshots >
60+ </repository >
61+
62+
63+ </repositories >
64+
65+
66+
67+ <pluginRepositories >
68+ <pluginRepository >
69+ <id >central</id >
70+ <url >https://github.com/contentstack/contentstack-java</url >
71+ <releases ><enabled >false</enabled ></releases >
72+ </pluginRepository >
73+ </pluginRepositories >
74+
6575
6676 <distributionManagement >
6777 <snapshotRepository >
7585 </distributionManagement >
7686
7787
78- <repositories >
79- <repository >
80- <id >contentstack</id >
81- <name >contentstack</name >
82- <url >http://www.contentstack.com</url >
83- </repository >
84- <repository >
85- <id >contentstack-java</id >
86- <name >contentstack-java</name >
87- <url >https://github.com/contentstack/contentstack-java</url >
88- </repository >
89- </repositories >
90-
91-
92- <profiles >
93- <profile >
94- <id >release</id >
95- <build >
96- <plugins >
88+ <build >
89+ <plugins >
90+ <plugin >
91+ <groupId >org.apache.maven.plugins</groupId >
92+ <artifactId >maven-source-plugin</artifactId >
93+ <version >2.2.1</version >
94+ <executions >
95+ <execution >
96+ <id >attach-sources</id >
97+ <goals >
98+ <goal >jar-no-fork</goal >
99+ </goals >
100+ </execution >
101+ </executions >
102+ </plugin >
97103
98- <plugin >
99- <groupId >org.sonatype.plugins</groupId >
100- <artifactId >nexus-staging-maven-plugin</artifactId >
101- <version >1.6.7</version >
102- <extensions >true</extensions >
104+ <plugin >
105+ <groupId >org.apache.maven.plugins</groupId >
106+ <artifactId >maven-javadoc-plugin</artifactId >
107+ <version >2.9</version >
108+ <executions >
109+ <execution >
110+ <id >attach-javadocs</id >
111+ <goals >
112+ <goal >jar</goal >
113+ </goals >
103114 <configuration >
104- <serverId >ossrh</serverId >
105- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
106- <autoReleaseAfterClose >true</autoReleaseAfterClose >
115+ <additionalparam >-Xdoclint:all -Xdoclint:-missing</additionalparam >
116+ <additionalJOption >-Xdoclint:all -Xdoclint:-missing</additionalJOption >
107117 </configuration >
108- </plugin >
118+ </execution >
119+ </executions >
120+ </plugin >
109121
110- <plugin >
111- <groupId >org.apache.maven.plugins</groupId >
112- <artifactId >maven-source-plugin</artifactId >
113- <version >2.2.1</version >
114- <executions >
115- <execution >
116- <id >attach-sources</id >
117- <goals >
118- <goal >jar-no-fork</goal >
119- </goals >
120- </execution >
121- </executions >
122- </plugin >
122+ <!-- <plugin>
123+ <groupId>org.apache.maven.plugins</groupId>
124+ <artifactId>maven-site-plugin</artifactId>
125+ <version>3.3</version>
126+ <configuration>
127+ <reportPlugins>
128+ <plugin>
129+ <groupId>org.apache.maven.plugins</groupId>
130+ <artifactId>maven-javadoc-plugin</artifactId>
131+ <configuration>
132+ <doclint>none</doclint>
133+ </configuration>
134+ </plugin>
135+ </reportPlugins>
136+ </configuration>
137+ </plugin>-->
123138
124- <plugin >
125- <groupId >org.apache.maven.plugins</groupId >
126- <artifactId >maven-javadoc-plugin</artifactId >
127- <version >2.9.1</version >
128- <executions >
129- <execution >
130- <id >attach-javadocs</id >
131- <goals >
132- <goal >jar</goal >
133- </goals >
134- </execution >
135- </executions >
136- </plugin >
139+ <plugin >
140+ <groupId >org.sonatype.plugins</groupId >
141+ <artifactId >nexus-staging-maven-plugin</artifactId >
142+ <version >1.6.7</version >
143+ <extensions >true</extensions >
144+ <configuration >
145+ <serverId >ossrh</serverId >
146+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
147+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
148+ </configuration >
149+ </plugin >
150+
151+ <!-- <plugin>
152+ <groupId>org.apache.maven.plugins</groupId>
153+ <artifactId>maven-gpg-plugin</artifactId>
154+ <version>1.5</version>
155+ <executions>
156+ <execution>
157+ <id>sign-artifacts</id>
158+ <phase>verify</phase>
159+ <goals>
160+ <goal>sign</goal>
161+ </goals>
162+ </execution>
163+ </executions>
164+ </plugin>-->
165+
166+ <plugin >
167+ <groupId >org.apache.maven.plugins</groupId >
168+ <artifactId >maven-compiler-plugin</artifactId >
169+ <version >3.6.1</version >
170+ <configuration >
171+ <source >8</source >
172+ <target >8</target >
173+ </configuration >
174+ </plugin >
175+
176+ <plugin >
177+ <groupId >org.apache.maven.plugins</groupId >
178+ <artifactId >maven-release-plugin</artifactId >
179+ <version >2.5.3</version >
180+ <configuration >
181+ <autoVersionSubmodules >true</autoVersionSubmodules >
182+ <useReleaseProfile >false</useReleaseProfile >
183+ <releaseProfiles >release</releaseProfiles >
184+ <goals >deploy</goals >
185+ </configuration >
186+ </plugin >
187+
188+
189+ <plugin >
190+ <artifactId >maven-release-plugin</artifactId >
191+ <dependencies >
192+ <dependency >
193+ <groupId >org.apache.maven.scm</groupId >
194+ <artifactId >maven-scm-api</artifactId >
195+ <version >1.10.0</version >
196+ </dependency >
197+ <dependency >
198+ <groupId >org.apache.maven.scm</groupId >
199+ <artifactId >maven-scm-provider-gitexe</artifactId >
200+ <version >1.10.0</version >
201+ </dependency >
202+ </dependencies >
203+ </plugin >
204+
205+
206+ <plugin >
207+ <groupId >org.apache.maven.plugins</groupId >
208+ <artifactId >maven-compiler-plugin</artifactId >
209+ <configuration >
210+ <source >8</source >
211+ <target >8</target >
212+ </configuration >
213+ </plugin >
214+
215+ </plugins >
216+ </build >
137217
218+
219+
220+ <profiles >
221+ <profile >
222+ <id >release-sign-artifacts</id >
223+ <activation >
224+ <property >
225+ <name >performRelease</name >
226+ <value >true</value >
227+ </property >
228+ </activation >
229+ <build >
230+ <plugins >
138231 <plugin >
139232 <groupId >org.apache.maven.plugins</groupId >
140233 <artifactId >maven-gpg-plugin</artifactId >
141- <version >1.5</version >
142234 <executions >
143235 <execution >
144236 <id >sign-artifacts</id >
149241 </execution >
150242 </executions >
151243 </plugin >
152-
153- <plugin >
154- <groupId >org.apache.maven.plugins</groupId >
155- <artifactId >maven-compiler-plugin</artifactId >
156- <version >3.6.1</version >
157- <configuration >
158- <source >8</source >
159- <target >8</target >
160- </configuration >
161- </plugin >
162-
163- <plugin >
164- <groupId >org.apache.maven.plugins</groupId >
165- <artifactId >maven-release-plugin</artifactId >
166- <version >2.5.3</version >
167- <configuration >
168- <autoVersionSubmodules >true</autoVersionSubmodules >
169- <useReleaseProfile >false</useReleaseProfile >
170- <releaseProfiles >release</releaseProfiles >
171- <goals >deploy</goals >
172- </configuration >
173- </plugin >
174-
175- <plugin >
176- <groupId >org.sonatype.plugins</groupId >
177- <artifactId >nexus-staging-maven-plugin</artifactId >
178- <version >1.6.8</version >
179- <extensions >true</extensions >
180- <configuration >
181- <serverId >ossrh</serverId >
182- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
183- <autoReleaseAfterClose >true</autoReleaseAfterClose >
184- </configuration >
185- </plugin >
186-
187-
188244 </plugins >
189245 </build >
190246 </profile >
247+
248+ <profile >
249+ <id >java8-doclint-disabled</id >
250+ <activation >
251+ <jdk >[1.8,)</jdk >
252+ </activation >
253+ <properties >
254+ <javadoc .opts>-Xdoclint:none</javadoc .opts>
255+ </properties >
256+ </profile >
257+
191258 </profiles >
192259
260+
193261 <dependencies >
194262
263+ <!-- https://mvnrepository.com/artifact/junit/junit -->
195264 <dependency >
196265 <groupId >junit</groupId >
197266 <artifactId >junit</artifactId >
198267 <version >4.12</version >
199268 <scope >test</scope >
200269 </dependency >
201270
271+
272+ <!-- https://mvnrepository.com/artifact/org.json/json -->
202273 <dependency >
203274 <groupId >org.json</groupId >
204275 <artifactId >json</artifactId >
205- <version >20131018 </version >
276+ <version >20090211 </version >
206277 </dependency >
207278
279+
208280 </dependencies >
209281
210- </project >
282+ </project >
0 commit comments