|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 3 | <modelVersion>4.0.0</modelVersion> |
5 | 4 |
|
6 | 5 | <groupId>io.securecodebox</groupId> |
|
13 | 12 | </description> |
14 | 13 | <url>https://github.com/secureCodeBox/defectdojo-client-java</url> |
15 | 14 |
|
| 15 | + <licenses> |
| 16 | + <license> |
| 17 | + <name>The Apache License, Version 2.0</name> |
| 18 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 19 | + </license> |
| 20 | + </licenses> |
| 21 | + |
16 | 22 | <organization> |
17 | 23 | <name>secureCodeBox</name> |
18 | 24 | <url>https://www.securecodebox.io/</url> |
|
23 | 29 | </prerequisites> |
24 | 30 |
|
25 | 31 | <scm> |
26 | | - <connection>scm:git:git://github.com/secureCodeBox/defectdojo-client-java.git</connection> |
27 | | - <developerConnection>scm:git:git@github.com/secureCodeBox/defectdojo-client-java.git</developerConnection> |
| 32 | + <connection>scm:git:https://github.com/secureCodeBox/defectdojo-client-java.git</connection> |
| 33 | + <developerConnection>scm:git:https://github.com/secureCodeBox/defectdojo-client-java.git</developerConnection> |
28 | 34 | <url>https://github.com/secureCodeBox/defectdojo-client-java.git</url> |
29 | 35 | <tag>HEAD</tag> |
30 | 36 | </scm> |
|
65 | 71 | <project.build.version.target>17</project.build.version.target> |
66 | 72 | <sonar.jacoco.reportPaths>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPaths> |
67 | 73 |
|
68 | | - <!-- Dependnecy versions: --> |
| 74 | + <!-- Dependency versions: --> |
69 | 75 | <com.fasterxml.jackson.version>2.15.2</com.fasterxml.jackson.version> |
70 | 76 | <org.springframework.version>5.3.28</org.springframework.version> |
71 | 77 | <org.mockito.version>5.4.0</org.mockito.version> |
|
166 | 172 | </dependency> |
167 | 173 | </dependencies> |
168 | 174 |
|
| 175 | + <distributionManagement> |
| 176 | + <snapshotRepository> |
| 177 | + <id>ossrh</id> |
| 178 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 179 | + </snapshotRepository> |
| 180 | + <repository> |
| 181 | + <id>ossrh</id> |
| 182 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 183 | + </repository> |
| 184 | + </distributionManagement> |
| 185 | + |
| 186 | + <profiles> |
| 187 | + <profile> |
| 188 | + <id>release</id> |
| 189 | + <build> |
| 190 | + <plugins> |
| 191 | + <plugin> |
| 192 | + <artifactId>maven-gpg-plugin</artifactId> |
| 193 | + <version>3.1.0</version> |
| 194 | + <executions> |
| 195 | + <execution> |
| 196 | + <id>sign-artifacts</id> |
| 197 | + <phase>verify</phase> |
| 198 | + <goals> |
| 199 | + <goal>sign</goal> |
| 200 | + </goals> |
| 201 | + <configuration> |
| 202 | + <!-- This is required to make sure the plugin does not stop asking for --> |
| 203 | + <!-- user input on the passphrase --> |
| 204 | + <gpgArguments> |
| 205 | + <arg>--pinentry-mode</arg> |
| 206 | + <arg>loopback</arg> |
| 207 | + </gpgArguments> |
| 208 | + </configuration> |
| 209 | + </execution> |
| 210 | + </executions> |
| 211 | + </plugin> |
| 212 | + </plugins> |
| 213 | + </build> |
| 214 | + </profile> |
| 215 | + </profiles> |
| 216 | + |
169 | 217 | <build> |
170 | 218 | <pluginManagement> |
171 | 219 | <plugins> |
|
183 | 231 | </plugin> |
184 | 232 |
|
185 | 233 | <plugin> |
186 | | - <artifactId>maven-javadoc-plugin</artifactId> |
187 | | - <version>3.5.0</version> |
188 | | - <configuration> |
189 | | - <bottom> |
190 | | - Copyright &copy; {currentYear} the secureCodeBox Authors. All Rights Reserved. |
191 | | - </bottom> |
192 | | - |
193 | | - <doctitle>${project.name} - ${project.version}</doctitle> |
194 | | - <windowtitle>${project.name} - ${project.version}</windowtitle> |
195 | | - <show>private</show> |
196 | | - <charset>${project.build.sourceEncoding}</charset> |
197 | | - <docencoding>${project.build.sourceEncoding}</docencoding> |
198 | | - <source>${project.build.version.source}</source> |
199 | | - |
200 | | - <links> |
201 | | - <link>https://docs.oracle.com/en/java/javase/17/docs/api/</link> |
202 | | - </links> |
203 | | - <failOnError>false</failOnError> |
204 | | - </configuration> |
| 234 | + <artifactId>maven-source-plugin</artifactId> |
| 235 | + <version>3.3.0</version> |
| 236 | + <executions> |
| 237 | + <execution> |
| 238 | + <!-- https://central.sonatype.org/publish/publish-maven/#javadoc-and-sources-attachments --> |
| 239 | + <id>attach-sources</id> |
| 240 | + <goals> |
| 241 | + <goal>jar-no-fork</goal> |
| 242 | + </goals> |
| 243 | + </execution> |
| 244 | + </executions> |
205 | 245 | </plugin> |
206 | 246 |
|
207 | 247 | <plugin> |
|
234 | 274 | <plugin> |
235 | 275 | <artifactId>maven-release-plugin</artifactId> |
236 | 276 | <version>3.0.1</version> |
237 | | - </plugin> |
238 | | - |
239 | | - <plugin> |
240 | | - <artifactId>maven-gpg-plugin</artifactId> |
241 | | - <version>3.1.0</version> |
242 | | - </plugin> |
243 | | - |
244 | | - <plugin> |
245 | | - <artifactId>maven-source-plugin</artifactId> |
246 | | - <version>3.3.0</version> |
247 | | - <executions> |
248 | | - <execution> |
249 | | - <!-- https://maven.apache.org/plugin-developers/cookbook/attach-source-javadoc-artifacts.html --> |
250 | | - <id>attach-sources</id> |
251 | | - |
252 | | - <goals> |
253 | | - <goal>jar</goal> |
254 | | - </goals> |
255 | | - </execution> |
256 | | - </executions> |
| 277 | + <configuration> |
| 278 | + <checkModificationExcludes> |
| 279 | + <checkModificationExclude>mvnw</checkModificationExclude> <!-- skip wrapper --> |
| 280 | + </checkModificationExcludes> |
| 281 | + </configuration> |
257 | 282 | </plugin> |
258 | 283 |
|
259 | 284 | <plugin> |
|
287 | 312 | <artifactId>maven-surefire-plugin</artifactId> |
288 | 313 | <version>3.1.2</version> |
289 | 314 | </plugin> |
| 315 | + |
| 316 | + <plugin> |
| 317 | + <groupId>org.sonatype.plugins</groupId> |
| 318 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 319 | + <version>1.6.13</version> |
| 320 | + <extensions>true</extensions> |
| 321 | + <configuration> |
| 322 | + <serverId>ossrh</serverId> |
| 323 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 324 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 325 | + </configuration> |
| 326 | + </plugin> |
| 327 | + |
| 328 | + <plugin> |
| 329 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 330 | + <version>3.5.0</version> |
| 331 | + <executions> |
| 332 | + <execution> |
| 333 | + <id>attach-javadocs</id> |
| 334 | + <goals> |
| 335 | + <goal>jar</goal> |
| 336 | + </goals> |
| 337 | + </execution> |
| 338 | + </executions> |
| 339 | + <configuration> |
| 340 | + <bottom> |
| 341 | + Copyright &copy; {currentYear} the secureCodeBox Authors. All Rights Reserved. |
| 342 | + </bottom> |
| 343 | + |
| 344 | + <doctitle>${project.name} - ${project.version}</doctitle> |
| 345 | + <windowtitle>${project.name} - ${project.version}</windowtitle> |
| 346 | + <show>private</show> |
| 347 | + <charset>${project.build.sourceEncoding}</charset> |
| 348 | + <docencoding>${project.build.sourceEncoding}</docencoding> |
| 349 | + <source>${project.build.version.source}</source> |
| 350 | + |
| 351 | + <links> |
| 352 | + <link>https://docs.oracle.com/en/java/javase/17/docs/api/</link> |
| 353 | + </links> |
| 354 | + <failOnError>false</failOnError> |
| 355 | + </configuration> |
| 356 | + </plugin> |
290 | 357 | </plugins> |
291 | 358 | </pluginManagement> |
292 | 359 |
|
293 | 360 | <plugins> |
| 361 | + <plugin> |
| 362 | + <artifactId>maven-surefire-plugin</artifactId> |
| 363 | + </plugin> |
| 364 | + |
294 | 365 | <plugin> |
295 | 366 | <artifactId>maven-source-plugin</artifactId> |
296 | 367 | </plugin> |
297 | 368 |
|
298 | 369 | <plugin> |
299 | | - <artifactId>maven-surefire-plugin</artifactId> |
| 370 | + <artifactId>maven-javadoc-plugin</artifactId> |
300 | 371 | </plugin> |
301 | 372 |
|
302 | 373 | <plugin> |
303 | 374 | <groupId>org.jacoco</groupId> |
304 | 375 | <artifactId>jacoco-maven-plugin</artifactId> |
305 | 376 | </plugin> |
| 377 | + |
| 378 | + <plugin> |
| 379 | + <groupId>org.sonatype.plugins</groupId> |
| 380 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 381 | + </plugin> |
306 | 382 | </plugins> |
307 | 383 | </build> |
308 | 384 | </project> |
0 commit comments