|
9 | 9 | <version>1.22.0-SNAPSHOT</version> |
10 | 10 | <description>Plugins for Amazon S3</description> |
11 | 11 | <url>https://github.com/data-integrations/amazon-s3-plugins</url> |
| 12 | + <name>Amazon S3 Plugins</name> |
12 | 13 |
|
13 | 14 | <licenses> |
14 | 15 | <license> |
|
370 | 371 | <groupId>org.apache.maven.plugins</groupId> |
371 | 372 | <artifactId>maven-antrun-plugin</artifactId> |
372 | 373 | </plugin> |
373 | | - <plugin> |
374 | | - <groupId>org.sonatype.central</groupId> |
375 | | - <artifactId>central-publishing-maven-plugin</artifactId> |
376 | | - <version>0.8.0</version> |
377 | | - <extensions>true</extensions> |
378 | | - <configuration> |
379 | | - <publishingServerId>sonatype.release</publishingServerId> |
380 | | - <autoPublish>false</autoPublish> |
381 | | - <ignorePublishedComponents>true</ignorePublishedComponents> |
382 | | - </configuration> |
383 | | - </plugin> |
384 | 374 | </plugins> |
385 | 375 | </build> |
386 | 376 | <profiles> |
| 377 | + <profile> |
| 378 | + <id>release</id> |
| 379 | + <build> |
| 380 | + <plugins> |
| 381 | + <!-- Source JAR --> |
| 382 | + <plugin> |
| 383 | + <groupId>org.apache.maven.plugins</groupId> |
| 384 | + <artifactId>maven-source-plugin</artifactId> |
| 385 | + <version>2.2.1</version> |
| 386 | + <configuration> |
| 387 | + <excludeResources>true</excludeResources> |
| 388 | + </configuration> |
| 389 | + <executions> |
| 390 | + <execution> |
| 391 | + <id>attach-sources</id> |
| 392 | + <phase>package</phase> |
| 393 | + <goals> |
| 394 | + <goal>jar-no-fork</goal> |
| 395 | + </goals> |
| 396 | + </execution> |
| 397 | + </executions> |
| 398 | + </plugin> |
| 399 | + |
| 400 | + <!-- Javadoc jar --> |
| 401 | + <plugin> |
| 402 | + <groupId>org.apache.maven.plugins</groupId> |
| 403 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 404 | + <version>2.9.1</version> |
| 405 | + <configuration> |
| 406 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 407 | + <links> |
| 408 | + <link>http://download.oracle.com/javase/${jee.version}/docs/api/</link> |
| 409 | + </links> |
| 410 | + <doctitle>${project.name} ${project.version}</doctitle> |
| 411 | + <bottom> |
| 412 | + <![CDATA[Copyright © {currentYear} <a href="http://cdap.io" target="_blank">CDAP</a> Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License, Version 2.0</a>.]]> |
| 413 | + </bottom> |
| 414 | + </configuration> |
| 415 | + <executions> |
| 416 | + <execution> |
| 417 | + <id>attach-javadoc</id> |
| 418 | + <phase>package</phase> |
| 419 | + <goals> |
| 420 | + <goal>jar</goal> |
| 421 | + </goals> |
| 422 | + </execution> |
| 423 | + </executions> |
| 424 | + </plugin> |
| 425 | + |
| 426 | + <plugin> |
| 427 | + <groupId>org.apache.maven.plugins</groupId> |
| 428 | + <artifactId>maven-gpg-plugin</artifactId> |
| 429 | + <version>1.5</version> |
| 430 | + <configuration> |
| 431 | + <passphrase>${gpg.passphrase}</passphrase> |
| 432 | + <useAgent>${gpg.useagent}</useAgent> |
| 433 | + </configuration> |
| 434 | + <executions> |
| 435 | + <execution> |
| 436 | + <goals> |
| 437 | + <goal>sign</goal> |
| 438 | + </goals> |
| 439 | + </execution> |
| 440 | + </executions> |
| 441 | + </plugin> |
| 442 | + |
| 443 | + <plugin> |
| 444 | + <groupId>org.sonatype.central</groupId> |
| 445 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 446 | + <version>0.8.0</version> |
| 447 | + <extensions>true</extensions> |
| 448 | + <configuration> |
| 449 | + <publishingServerId>sonatype.release</publishingServerId> |
| 450 | + <autoPublish>false</autoPublish> |
| 451 | + <ignorePublishedComponents>true</ignorePublishedComponents> |
| 452 | + </configuration> |
| 453 | + </plugin> |
| 454 | + </plugins> |
| 455 | + </build> |
| 456 | + </profile> |
387 | 457 | <profile> |
388 | 458 | <id>cloudBuild</id> |
389 | 459 | <activation> |
|
0 commit comments