Skip to content

Commit 1f70511

Browse files
resource updated
1 parent 2867643 commit 1f70511

File tree

1 file changed

+35
-9
lines changed

1 file changed

+35
-9
lines changed

pom.xml

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>com.contentstack.sdk</groupId>
88
<artifactId>java</artifactId>
9-
<version>1.0.2</version>
9+
<version>1.2.0</version>
1010
<build>
1111
<plugins>
1212
<plugin>
1313
<groupId>org.apache.maven.plugins</groupId>
1414
<artifactId>maven-compiler-plugin</artifactId>
15-
<version>2.3.2</version>
1615
<configuration>
1716
<source>8</source>
1817
<target>8</target>
@@ -36,10 +35,22 @@
3635
</licenses>
3736

3837

38+
<properties>
39+
<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>
47+
</properties>
48+
3949
<scm>
40-
<connection>scm:git:git://github.com/contentstack/contentstack-java.git</connection>
41-
<developerConnection>scm:git:ssh://github.com/contentstack/contentstack-java.git</developerConnection>
50+
<connection>scm:git:git@github.com/contentstack/contentstack-java.git</connection>
51+
<developerConnection>scm:git:git@github.com/contentstack/contentstack-java.git</developerConnection>
4252
<url>https://github.com/contentstack/contentstack-java</url>
53+
<tag>v@{project.version}</tag>
4354
</scm>
4455

4556
<developers>
@@ -78,16 +89,24 @@
7889
</repositories>
7990

8091

81-
<properties>
82-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
83-
</properties>
84-
85-
8692
<profiles>
8793
<profile>
8894
<id>release</id>
8995
<build>
9096
<plugins>
97+
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>
103+
<configuration>
104+
<serverId>ossrh</serverId>
105+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
106+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
107+
</configuration>
108+
</plugin>
109+
91110
<plugin>
92111
<groupId>org.apache.maven.plugins</groupId>
93112
<artifactId>maven-source-plugin</artifactId>
@@ -101,6 +120,7 @@
101120
</execution>
102121
</executions>
103122
</plugin>
123+
104124
<plugin>
105125
<groupId>org.apache.maven.plugins</groupId>
106126
<artifactId>maven-javadoc-plugin</artifactId>
@@ -114,6 +134,7 @@
114134
</execution>
115135
</executions>
116136
</plugin>
137+
117138
<plugin>
118139
<groupId>org.apache.maven.plugins</groupId>
119140
<artifactId>maven-gpg-plugin</artifactId>
@@ -128,6 +149,7 @@
128149
</execution>
129150
</executions>
130151
</plugin>
152+
131153
<plugin>
132154
<groupId>org.apache.maven.plugins</groupId>
133155
<artifactId>maven-compiler-plugin</artifactId>
@@ -137,6 +159,7 @@
137159
<target>8</target>
138160
</configuration>
139161
</plugin>
162+
140163
<plugin>
141164
<groupId>org.apache.maven.plugins</groupId>
142165
<artifactId>maven-release-plugin</artifactId>
@@ -160,6 +183,8 @@
160183
<autoReleaseAfterClose>true</autoReleaseAfterClose>
161184
</configuration>
162185
</plugin>
186+
187+
163188
</plugins>
164189
</build>
165190
</profile>
@@ -173,6 +198,7 @@
173198
<version>4.12</version>
174199
<scope>test</scope>
175200
</dependency>
201+
176202
<dependency>
177203
<groupId>org.json</groupId>
178204
<artifactId>json</artifactId>

0 commit comments

Comments
 (0)