From 75a51ede24086378faaaf301944949b61432be22 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Fri, 10 Jul 2015 13:36:10 +0200 Subject: [PATCH] Allow rpm to be build as part of package phase This allows the creation of the RPM artifact as part of the maven package phase. The result of this is that we get checksum and name correction for-free as it's all build an installed into the m2 repository. This also publishes the RPM together with .deb to the mvn mirror. Note: this will only build the RPM as part of the package phase if `-Dpackage.rpm=true` since the binaries to build the RPM are not availabel on all platforms. --- core/pom.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/core/pom.xml b/core/pom.xml index daadbdca125..8a9c5f21a41 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1111,6 +1111,31 @@ + + package-rpm + + + package.rpm + true + + + + + + org.codehaus.mojo + rpm-maven-plugin + + + attach-rpm + + attached-rpm + + + + + + + sign-rpm