Skip to content

Commit d63e647

Browse files
committed
Use PackageCloud to deploy milestones
[#160253747] (cherry picked from commit ed5f98b)
1 parent 5cc7035 commit d63e647

File tree

1 file changed

+43
-4
lines changed

1 file changed

+43
-4
lines changed

pom.xml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
<maven.sources.plugin.version>3.0.1</maven.sources.plugin.version>
6363
<maven.javadoc.plugin.version>3.0.0-M1</maven.javadoc.plugin.version>
6464
<maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
65+
<maven.packagecloud.wagon.version>0.0.6</maven.packagecloud.wagon.version>
66+
<checksum.maven.plugin.version>1.8</checksum.maven.plugin.version>
6567

6668
<java.compile.version>1.6</java.compile.version>
6769
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -359,6 +361,13 @@
359361
</executions>
360362
</plugin>
361363
</plugins>
364+
<extensions>
365+
<extension>
366+
<groupId>io.packagecloud.maven.wagon</groupId>
367+
<artifactId>maven-packagecloud-wagon</artifactId>
368+
<version>${maven.packagecloud.wagon.version}</version>
369+
</extension>
370+
</extensions>
362371
</build>
363372

364373
<profiles>
@@ -482,7 +491,7 @@
482491

483492
<!--
484493
The "milestone" Maven profile is used to push release artifacts to the
485-
Bintray Milestones Maven Repository.
494+
PackageCloud Milestones Maven Repository.
486495
-->
487496
<profile>
488497
<id>milestone</id>
@@ -522,13 +531,43 @@
522531
</execution>
523532
</executions>
524533
</plugin>
534+
535+
<plugin>
536+
<groupId>net.nicoulaj.maven.plugins</groupId>
537+
<artifactId>checksum-maven-plugin</artifactId>
538+
<version>${checksum.maven.plugin.version}</version>
539+
<executions>
540+
<execution>
541+
<id>sign-artifacts</id>
542+
<phase>package</phase>
543+
<goals>
544+
<goal>files</goal>
545+
</goals>
546+
<configuration>
547+
<fileSets>
548+
<fileSet>
549+
<directory>${project.build.directory}</directory>
550+
<includes>
551+
<include>*.jar</include>
552+
<include>*.pom</include>
553+
</includes>
554+
</fileSet>
555+
</fileSets>
556+
<algorithms>
557+
<algorithm>MD5</algorithm>
558+
<algorithm>SHA-256</algorithm>
559+
</algorithms>
560+
</configuration>
561+
</execution>
562+
</executions>
563+
</plugin>
564+
525565
</plugins>
526566
</build>
527567
<distributionManagement>
528568
<repository>
529-
<id>bintray-rabbitmq-maven-milestones</id>
530-
<name>rabbitmq-maven-milestones</name>
531-
<url>https://api.bintray.com/maven/rabbitmq/maven-milestones/com.rabbitmq.jms:rabbitmq-jms/;publish=1</url>
569+
<id>packagecloud-rabbitmq-maven-milestones</id>
570+
<url>packagecloud+https://packagecloud.io/rabbitmq/maven-milestones</url>
532571
</repository>
533572
</distributionManagement>
534573
</profile>

0 commit comments

Comments
 (0)