|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | | - |
6 | 5 | <modelVersion>4.0.0</modelVersion> |
| 6 | + |
7 | 7 | <groupId>com.contentstack.sdk</groupId> |
8 | 8 | <artifactId>java</artifactId> |
9 | 9 | <version>1.2.0</version> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 |
|
12 | 12 | <name>contentstack-java</name> |
13 | 13 | <description>Java SDK for Contentstack Content Delivery API, Contentstack is a headless CMS with an API-first approach</description> |
14 | | - <url>http://www.contentstack.com/</url> |
| 14 | + <url>https://github.com/contentstack/contentstack-java/</url> |
15 | 15 |
|
16 | 16 | <licenses> |
17 | 17 | <license> |
|
20 | 20 | </license> |
21 | 21 | </licenses> |
22 | 22 |
|
23 | | - <properties> |
24 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
25 | | - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
26 | | - </properties> |
27 | | - |
28 | | - |
29 | | - <scm> |
30 | | - <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> |
33 | | - <tag>v@{project.version}</tag> |
34 | | - </scm> |
35 | | - |
36 | | - |
37 | 23 | <developers> |
38 | 24 | <developer> |
39 | | - <name>contentstack</name> |
40 | | - <email>mobile@contentstack.com</email> |
41 | | - <organization>contentstack</organization> |
| 25 | + <name>Shailesh Mishra</name> |
| 26 | + <email>mshaileshr@gmail.com</email> |
| 27 | + <organization>Contentstack</organization> |
42 | 28 | <organizationUrl>https://www.contentstack.com/</organizationUrl> |
43 | 29 | </developer> |
44 | 30 | </developers> |
45 | 31 |
|
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 | 32 |
|
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> |
| 33 | + <scm> |
| 34 | + <url>https://github.com/contentstack/contentstack-java/tree/master</url> |
| 35 | + <connection>scm:git:git://github.com/contentstack/contentstack-java.git</connection> |
| 36 | + <developerConnection>scm:git:ssh://github.com:contentstack/contentstack-java.git</developerConnection> |
| 37 | + <tag>v@{project.version}</tag> |
| 38 | + </scm> |
74 | 39 |
|
75 | 40 |
|
76 | 41 | <distributionManagement> |
|
85 | 50 | </distributionManagement> |
86 | 51 |
|
87 | 52 |
|
| 53 | + <properties> |
| 54 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 55 | + </properties> |
| 56 | + |
| 57 | + |
| 58 | + <dependencies> |
| 59 | + <dependency> |
| 60 | + <groupId>junit</groupId> |
| 61 | + <artifactId>junit</artifactId> |
| 62 | + <version>4.12</version> |
| 63 | + <scope>test</scope> |
| 64 | + </dependency> |
| 65 | + |
| 66 | + <dependency> |
| 67 | + <groupId>org.json</groupId> |
| 68 | + <artifactId>json</artifactId> |
| 69 | + <version>20090211</version> |
| 70 | + </dependency> |
| 71 | + </dependencies> |
| 72 | + |
88 | 73 | <build> |
89 | 74 | <plugins> |
90 | 75 | <plugin> |
|
100 | 85 | </execution> |
101 | 86 | </executions> |
102 | 87 | </plugin> |
103 | | - |
104 | 88 | <plugin> |
105 | 89 | <groupId>org.apache.maven.plugins</groupId> |
106 | 90 | <artifactId>maven-javadoc-plugin</artifactId> |
107 | | - <version>2.9</version> |
| 91 | + <version>2.9.1</version> |
108 | 92 | <executions> |
109 | 93 | <execution> |
110 | 94 | <id>attach-javadocs</id> |
111 | 95 | <goals> |
112 | 96 | <goal>jar</goal> |
113 | 97 | </goals> |
114 | | - <configuration> |
115 | | - <additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam> |
116 | | - <additionalJOption>-Xdoclint:all -Xdoclint:-missing</additionalJOption> |
117 | | - </configuration> |
118 | 98 | </execution> |
119 | 99 | </executions> |
120 | 100 | </plugin> |
121 | | - |
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>--> |
138 | | - |
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 | 101 | <plugin> |
177 | 102 | <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> |
| 103 | + <artifactId>maven-gpg-plugin</artifactId> |
| 104 | + <version>1.5</version> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <id>sign-artifacts</id> |
| 108 | + <phase>verify</phase> |
| 109 | + <goals> |
| 110 | + <goal>sign</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + </executions> |
203 | 114 | </plugin> |
204 | | - |
205 | | - |
206 | 115 | <plugin> |
207 | 116 | <groupId>org.apache.maven.plugins</groupId> |
208 | 117 | <artifactId>maven-compiler-plugin</artifactId> |
|
211 | 120 | <target>8</target> |
212 | 121 | </configuration> |
213 | 122 | </plugin> |
214 | | - |
215 | 123 | </plugins> |
216 | 124 | </build> |
217 | 125 |
|
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> |
231 | | - <plugin> |
232 | | - <groupId>org.apache.maven.plugins</groupId> |
233 | | - <artifactId>maven-gpg-plugin</artifactId> |
234 | | - <executions> |
235 | | - <execution> |
236 | | - <id>sign-artifacts</id> |
237 | | - <phase>verify</phase> |
238 | | - <goals> |
239 | | - <goal>sign</goal> |
240 | | - </goals> |
241 | | - </execution> |
242 | | - </executions> |
243 | | - </plugin> |
244 | | - </plugins> |
245 | | - </build> |
246 | | - </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 | | - |
258 | | - </profiles> |
259 | | - |
260 | | - |
261 | | - <dependencies> |
262 | | - |
263 | | - <!-- https://mvnrepository.com/artifact/junit/junit --> |
264 | | - <dependency> |
265 | | - <groupId>junit</groupId> |
266 | | - <artifactId>junit</artifactId> |
267 | | - <version>4.12</version> |
268 | | - <scope>test</scope> |
269 | | - </dependency> |
270 | | - |
271 | | - |
272 | | - <!-- https://mvnrepository.com/artifact/org.json/json --> |
273 | | - <dependency> |
274 | | - <groupId>org.json</groupId> |
275 | | - <artifactId>json</artifactId> |
276 | | - <version>20090211</version> |
277 | | - </dependency> |
278 | | - |
279 | | - |
280 | | - </dependencies> |
281 | | - |
282 | 126 | </project> |
0 commit comments