|
6 | 6 | <modelVersion>4.0.0</modelVersion>
|
7 | 7 | <groupId>com.contentstack.sdk</groupId>
|
8 | 8 | <artifactId>java</artifactId>
|
9 |
| - <version>1.5.7</version> |
| 9 | + <version>1.6.0-SNAPSHOT</version> |
10 | 10 | <packaging>jar</packaging>
|
11 | 11 | <name>contentstack-java</name>
|
12 | 12 | <description>Java SDK for Contentstack Content Delivery API, Contentstack is a headless CMS with an API-first approach
|
|
82 | 82 |
|
83 | 83 |
|
84 | 84 | <dependencies>
|
| 85 | + |
| 86 | + <dependency> |
| 87 | + <groupId>com.contentstack.sdk</groupId> |
| 88 | + <artifactId>utils</artifactId> |
| 89 | + <version>1.0.0</version> |
| 90 | + </dependency> |
| 91 | + |
85 | 92 | <dependency>
|
86 | 93 | <groupId>io.github.cdimascio</groupId>
|
87 | 94 | <artifactId>java-dotenv</artifactId>
|
88 | 95 | <version>5.2.2</version>
|
89 | 96 | </dependency>
|
| 97 | + |
90 | 98 | <dependency>
|
91 | 99 | <groupId>junit</groupId>
|
92 | 100 | <artifactId>junit</artifactId>
|
93 | 101 | <version>4.13.1</version>
|
94 | 102 | <scope>test</scope>
|
95 | 103 | </dependency>
|
| 104 | + |
96 | 105 | <dependency>
|
97 | 106 | <groupId>org.json</groupId>
|
98 | 107 | <artifactId>json</artifactId>
|
|
116 | 125 |
|
117 | 126 | <build>
|
118 | 127 | <plugins>
|
119 |
| - |
120 | 128 | <!--
|
121 | 129 | # Run tests and generate .xml reports
|
122 | 130 | mvn test
|
|
126 | 134 | # time-consuming stuff
|
127 | 135 | mvn surefire-report:report site -DgenerateReports=false
|
128 | 136 | -->
|
129 |
| - |
130 | 137 | <plugin>
|
131 | 138 | <groupId>org.apache.maven.plugins</groupId>
|
132 | 139 | <artifactId>maven-surefire-report-plugin</artifactId>
|
|
140 | 147 | </execution>
|
141 | 148 | </executions>
|
142 | 149 | </plugin>
|
143 |
| - |
144 |
| - <!-- |
145 |
| - The Source Plugin creates a jar archive of the source files of |
146 |
| - the current project. The jar file is, by default, created in the project's target directory. |
147 |
| - --> |
148 | 150 | <plugin>
|
149 | 151 | <groupId>org.apache.maven.plugins</groupId>
|
150 | 152 | <artifactId>maven-source-plugin</artifactId>
|
|
158 | 160 | </execution>
|
159 | 161 | </executions>
|
160 | 162 | </plugin>
|
161 |
| - |
162 |
| - <!--The Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project--> |
163 | 163 | <plugin>
|
164 | 164 | <groupId>org.apache.maven.plugins</groupId>
|
165 | 165 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
184 | 184 | </execution>
|
185 | 185 | </executions>
|
186 | 186 | </plugin>
|
187 |
| - |
188 |
| - <!-- |
189 |
| - The Site Plugin is used to generate a site for the project. |
190 |
| - The generated site also includes the project's reports that were configured in the POM. |
191 |
| - --> |
192 | 187 | <plugin>
|
193 | 188 | <groupId>org.apache.maven.plugins</groupId>
|
194 | 189 | <artifactId>maven-site-plugin</artifactId>
|
|
214 | 209 | </execution>
|
215 | 210 | </executions>
|
216 | 211 | </plugin>
|
217 |
| - |
218 | 212 | <!--
|
219 | 213 | Sometimes when you may need to compile a certain project to a different
|
220 | 214 | version than what you are currently using. The javac can accept such command
|
|
232 | 226 | <showWarnings>true</showWarnings>
|
233 | 227 | <showDeprecation>true</showDeprecation>
|
234 | 228 | </configuration>
|
235 |
| - |
236 | 229 | </plugin>
|
237 |
| - |
238 |
| - <!--Provides support to access staging functionality in a remote Nexus Professional server.--> |
239 | 230 | <plugin>
|
240 | 231 | <groupId>org.sonatype.plugins</groupId>
|
241 | 232 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
|
247 | 238 | <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
248 | 239 | </configuration>
|
249 | 240 | </plugin>
|
250 |
| - |
251 | 241 | <!--
|
252 | 242 | This plugin is used to release a project with Maven, saving a lot of repetitive, manual work.
|
253 | 243 | Releasing a project is made in two steps: prepare and perform.
|
|
263 | 253 | <goals>deploy</goals>
|
264 | 254 | </configuration>
|
265 | 255 | </plugin>
|
266 |
| - |
267 |
| - |
268 | 256 | <plugin>
|
269 | 257 | <groupId>org.jacoco</groupId>
|
270 | 258 | <artifactId>jacoco-maven-plugin</artifactId>
|
|
281 | 269 | <goals>
|
282 | 270 | <goal>report</goal>
|
283 | 271 | </goals>
|
284 |
| - |
285 | 272 | </execution>
|
286 | 273 | </executions>
|
287 | 274 | </plugin>
|
|
0 commit comments