|
6 | 6 | <modelVersion>4.0.0</modelVersion> |
7 | 7 | <groupId>com.contentstack.sdk</groupId> |
8 | 8 | <artifactId>java</artifactId> |
9 | | - <version>1.0.2</version> |
| 9 | + <version>1.2.0</version> |
10 | 10 | <build> |
11 | 11 | <plugins> |
12 | 12 | <plugin> |
13 | 13 | <groupId>org.apache.maven.plugins</groupId> |
14 | 14 | <artifactId>maven-compiler-plugin</artifactId> |
15 | | - <version>2.3.2</version> |
16 | 15 | <configuration> |
17 | 16 | <source>8</source> |
18 | 17 | <target>8</target> |
|
36 | 35 | </licenses> |
37 | 36 |
|
38 | 37 |
|
| 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 | + |
39 | 49 | <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> |
42 | 52 | <url>https://github.com/contentstack/contentstack-java</url> |
| 53 | + <tag>v@{project.version}</tag> |
43 | 54 | </scm> |
44 | 55 |
|
45 | 56 | <developers> |
|
78 | 89 | </repositories> |
79 | 90 |
|
80 | 91 |
|
81 | | - <properties> |
82 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
83 | | - </properties> |
84 | | - |
85 | | - |
86 | 92 | <profiles> |
87 | 93 | <profile> |
88 | 94 | <id>release</id> |
89 | 95 | <build> |
90 | 96 | <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 | + |
91 | 110 | <plugin> |
92 | 111 | <groupId>org.apache.maven.plugins</groupId> |
93 | 112 | <artifactId>maven-source-plugin</artifactId> |
|
101 | 120 | </execution> |
102 | 121 | </executions> |
103 | 122 | </plugin> |
| 123 | + |
104 | 124 | <plugin> |
105 | 125 | <groupId>org.apache.maven.plugins</groupId> |
106 | 126 | <artifactId>maven-javadoc-plugin</artifactId> |
|
114 | 134 | </execution> |
115 | 135 | </executions> |
116 | 136 | </plugin> |
| 137 | + |
117 | 138 | <plugin> |
118 | 139 | <groupId>org.apache.maven.plugins</groupId> |
119 | 140 | <artifactId>maven-gpg-plugin</artifactId> |
|
128 | 149 | </execution> |
129 | 150 | </executions> |
130 | 151 | </plugin> |
| 152 | + |
131 | 153 | <plugin> |
132 | 154 | <groupId>org.apache.maven.plugins</groupId> |
133 | 155 | <artifactId>maven-compiler-plugin</artifactId> |
|
137 | 159 | <target>8</target> |
138 | 160 | </configuration> |
139 | 161 | </plugin> |
| 162 | + |
140 | 163 | <plugin> |
141 | 164 | <groupId>org.apache.maven.plugins</groupId> |
142 | 165 | <artifactId>maven-release-plugin</artifactId> |
|
160 | 183 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
161 | 184 | </configuration> |
162 | 185 | </plugin> |
| 186 | + |
| 187 | + |
163 | 188 | </plugins> |
164 | 189 | </build> |
165 | 190 | </profile> |
|
173 | 198 | <version>4.12</version> |
174 | 199 | <scope>test</scope> |
175 | 200 | </dependency> |
| 201 | + |
176 | 202 | <dependency> |
177 | 203 | <groupId>org.json</groupId> |
178 | 204 | <artifactId>json</artifactId> |
|
0 commit comments