Skip to content

Commit cd79f64

Browse files
committed
Use PackageCloud to deploy milestones
[#160253747]
1 parent 0dce700 commit cd79f64

File tree

1 file changed

+42
-5
lines changed

1 file changed

+42
-5
lines changed

pom.xml

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@
7676
<maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
7777
<maven.assembly.plugin.version>3.1.0</maven.assembly.plugin.version>
7878
<maven.install.plugin.version>2.5.2</maven.install.plugin.version>
79-
<checksum.maven.plugin.version>1.6</checksum.maven.plugin.version>
8079
<maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
8180
<buildnumber.plugin.version>1.4</buildnumber.plugin.version>
8281
<maven.surefire.plugin.version>2.22.0</maven.surefire.plugin.version>
8382
<maven.failsafe.plugin.version>2.22.0</maven.failsafe.plugin.version>
83+
<maven.packagecloud.wagon.version>0.0.6</maven.packagecloud.wagon.version>
84+
<checksum.maven.plugin.version>1.8</checksum.maven.plugin.version>
8485

8586
<!-- because of https://issues.apache.org/jira/browse/MRESOURCES-99 -->
8687
<build.timestamp>${maven.build.timestamp}</build.timestamp>
@@ -382,6 +383,13 @@
382383
</plugin>
383384

384385
</plugins>
386+
<extensions>
387+
<extension>
388+
<groupId>io.packagecloud.maven.wagon</groupId>
389+
<artifactId>maven-packagecloud-wagon</artifactId>
390+
<version>${maven.packagecloud.wagon.version}</version>
391+
</extension>
392+
</extensions>
385393
</build>
386394

387395
<profiles>
@@ -456,7 +464,7 @@
456464

457465
<!--
458466
The "milestone" Maven profile is used to push release artifacts to the
459-
Bintray Milestones Maven Repository.
467+
PackageCloud Milestones Maven Repository.
460468
-->
461469
<profile>
462470
<id>milestone</id>
@@ -497,13 +505,42 @@
497505
</executions>
498506
</plugin>
499507

508+
<plugin>
509+
<groupId>net.nicoulaj.maven.plugins</groupId>
510+
<artifactId>checksum-maven-plugin</artifactId>
511+
<version>${checksum.maven.plugin.version}</version>
512+
<executions>
513+
<execution>
514+
<id>sign-artifacts</id>
515+
<phase>package</phase>
516+
<goals>
517+
<goal>files</goal>
518+
</goals>
519+
<configuration>
520+
<fileSets>
521+
<fileSet>
522+
<directory>${project.build.directory}</directory>
523+
<includes>
524+
<include>*.jar</include>
525+
<include>*.pom</include>
526+
</includes>
527+
</fileSet>
528+
</fileSets>
529+
<algorithms>
530+
<algorithm>MD5</algorithm>
531+
<algorithm>SHA-1</algorithm>
532+
</algorithms>
533+
</configuration>
534+
</execution>
535+
</executions>
536+
</plugin>
537+
500538
</plugins>
501539
</build>
502540
<distributionManagement>
503541
<repository>
504-
<id>bintray-rabbitmq-maven-milestones</id>
505-
<name>rabbitmq-maven-milestones</name>
506-
<url>https://api.bintray.com/maven/rabbitmq/maven-milestones/com.rabbitmq:perf-test/;publish=1</url>
542+
<id>packagecloud-rabbitmq-maven-milestones</id>
543+
<url>packagecloud+https://packagecloud.io/rabbitmq/maven-milestones</url>
507544
</repository>
508545
</distributionManagement>
509546
</profile>

0 commit comments

Comments
 (0)