|
229 | 229 | </pluginRepository>
|
230 | 230 | </pluginRepositories>
|
231 | 231 |
|
| 232 | + <profiles> |
| 233 | + <profile> |
| 234 | + <id>sources-and-javadoc</id> |
| 235 | + <build> |
| 236 | + <plugins> |
| 237 | + <plugin> |
| 238 | + <groupId>org.apache.maven.plugins</groupId> |
| 239 | + <artifactId>maven-source-plugin</artifactId> |
| 240 | + <version>2.2.1</version> |
| 241 | + <executions> |
| 242 | + <execution> |
| 243 | + <id>attach-sources</id> |
| 244 | + <goals> |
| 245 | + <goal>jar-no-fork</goal> |
| 246 | + </goals> |
| 247 | + </execution> |
| 248 | + </executions> |
| 249 | + </plugin> |
| 250 | + <plugin> |
| 251 | + <groupId>org.apache.maven.plugins</groupId> |
| 252 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 253 | + <version>3.10.0</version> |
| 254 | + <executions> |
| 255 | + <execution> |
| 256 | + <id>attach-javadocs</id> |
| 257 | + <goals> |
| 258 | + <goal>aggregate-jar</goal> |
| 259 | + </goals> |
| 260 | + </execution> |
| 261 | + </executions> |
| 262 | + <configuration> |
| 263 | + <doclint>all,-missing</doclint> |
| 264 | + <tags> |
| 265 | + <tag> |
| 266 | + <name>apiNote</name> |
| 267 | + <placement>a</placement> |
| 268 | + <head>API Note:</head> |
| 269 | + </tag> |
| 270 | + <tag> |
| 271 | + <name>implSpec</name> |
| 272 | + <placement>a</placement> |
| 273 | + <head>Implementation Requirements:</head> |
| 274 | + </tag> |
| 275 | + <tag> |
| 276 | + <name>implNote</name> |
| 277 | + <placement>a</placement> |
| 278 | + <head>Implementation Note:</head> |
| 279 | + </tag> |
| 280 | + <tag><name>param</name></tag> |
| 281 | + <tag><name>return</name></tag> |
| 282 | + <tag><name>throws</name></tag> |
| 283 | + <tag><name>since</name></tag> |
| 284 | + <tag><name>version</name></tag> |
| 285 | + <tag><name>serialData</name></tag> |
| 286 | + <tag><name>see</name></tag> |
| 287 | + </tags> |
| 288 | + </configuration> |
| 289 | + </plugin> |
| 290 | + </plugins> |
| 291 | + </build> |
| 292 | + </profile> |
| 293 | + <profile> |
| 294 | + <id>release</id> |
| 295 | + <build> |
| 296 | + <plugins> |
| 297 | + <plugin> |
| 298 | + <groupId>org.apache.maven.plugins</groupId> |
| 299 | + <artifactId>maven-gpg-plugin</artifactId> |
| 300 | + <version>3.2.4</version> |
| 301 | + <executions> |
| 302 | + <execution> |
| 303 | + <id>sign-artifacts</id> |
| 304 | + <phase>verify</phase> |
| 305 | + <goals> |
| 306 | + <goal>sign</goal> |
| 307 | + </goals> |
| 308 | + </execution> |
| 309 | + </executions> |
| 310 | + </plugin> |
| 311 | + <plugin> |
| 312 | + <groupId>org.sonatype.central</groupId> |
| 313 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 314 | + <version>0.5.0</version> |
| 315 | + <extensions>true</extensions> |
| 316 | + <configuration> |
| 317 | + <publishingServerId>central</publishingServerId> |
| 318 | + <autoPublish>false</autoPublish> |
| 319 | + </configuration> |
| 320 | + </plugin> |
| 321 | + </plugins> |
| 322 | + </build> |
| 323 | + </profile> |
| 324 | + |
| 325 | + <profile> |
| 326 | + <id>gitlab</id> |
| 327 | + <repositories> |
| 328 | + <repository> |
| 329 | + <id>gitlab-maven</id> |
| 330 | + <!--suppress UnresolvedMavenProperty --> |
| 331 | + <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> |
| 332 | + </repository> |
| 333 | + </repositories> |
| 334 | + |
| 335 | + <distributionManagement> |
| 336 | + <repository> |
| 337 | + <id>gitlab-maven</id> |
| 338 | + <!--suppress UnresolvedMavenProperty --> |
| 339 | + <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> |
| 340 | + </repository> |
| 341 | + <snapshotRepository> |
| 342 | + <id>gitlab-maven</id> |
| 343 | + <!--suppress UnresolvedMavenProperty --> |
| 344 | + <url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url> |
| 345 | + </snapshotRepository> |
| 346 | + </distributionManagement> |
| 347 | + </profile> |
| 348 | + </profiles> |
| 349 | + |
232 | 350 | </project>
|
0 commit comments