Skip to content

Commit 81031b7

Browse files
maven v.1.2.0 released
1 parent dc6b1cf commit 81031b7

File tree

2 files changed

+59
-199
lines changed

2 files changed

+59
-199
lines changed

pom.xml

Lines changed: 43 additions & 199 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
65
<modelVersion>4.0.0</modelVersion>
6+
77
<groupId>com.contentstack.sdk</groupId>
88
<artifactId>java</artifactId>
99
<version>1.2.0</version>
1010
<packaging>jar</packaging>
1111

1212
<name>contentstack-java</name>
1313
<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>
1515

1616
<licenses>
1717
<license>
@@ -20,57 +20,22 @@
2020
</license>
2121
</licenses>
2222

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-
3723
<developers>
3824
<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>
4228
<organizationUrl>https://www.contentstack.com/</organizationUrl>
4329
</developer>
4430
</developers>
4531

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-
6632

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>
7439

7540

7641
<distributionManagement>
@@ -85,6 +50,26 @@
8550
</distributionManagement>
8651

8752

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+
8873
<build>
8974
<plugins>
9075
<plugin>
@@ -100,109 +85,33 @@
10085
</execution>
10186
</executions>
10287
</plugin>
103-
10488
<plugin>
10589
<groupId>org.apache.maven.plugins</groupId>
10690
<artifactId>maven-javadoc-plugin</artifactId>
107-
<version>2.9</version>
91+
<version>2.9.1</version>
10892
<executions>
10993
<execution>
11094
<id>attach-javadocs</id>
11195
<goals>
11296
<goal>jar</goal>
11397
</goals>
114-
<configuration>
115-
<additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
116-
<additionalJOption>-Xdoclint:all -Xdoclint:-missing</additionalJOption>
117-
</configuration>
11898
</execution>
11999
</executions>
120100
</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-
176101
<plugin>
177102
<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>
203114
</plugin>
204-
205-
206115
<plugin>
207116
<groupId>org.apache.maven.plugins</groupId>
208117
<artifactId>maven-compiler-plugin</artifactId>
@@ -211,72 +120,7 @@
211120
<target>8</target>
212121
</configuration>
213122
</plugin>
214-
215123
</plugins>
216124
</build>
217125

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-
282126
</project>

profiles.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<profilesXml xmlns="http://maven.apache.org/PROFILES/1.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/PROFILES/1.0.0 http://maven.apache.org/xsd/profiles-1.0.0.xsd">
5+
<profiles>
6+
<profile>
7+
<id>77b9c8fd28426a</id>
8+
<activation>
9+
<property>
10+
<name>performRelease</name>
11+
<value>true</value>
12+
</property>
13+
</activation>
14+
</profile>
15+
</profiles>
16+
</profilesXml>

0 commit comments

Comments
 (0)