[maven-debian-helper] 02/03: Added the debian.package property in the relocated poms

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jun 30 15:02:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.

commit 80c9f51611a8fc22756036c3dc179e2310edf788
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jun 30 16:32:10 2016 +0200

    Added the debian.package property in the relocated poms
---
 .../src/main/java/org/debian/maven/plugin/SysInstallMojo.java          | 3 +++
 debian/changelog                                                       | 1 +
 2 files changed, 4 insertions(+)

diff --git a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java
index cacf394..3ff1e24 100644
--- a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java
+++ b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallMojo.java
@@ -817,6 +817,9 @@ public class SysInstallMojo extends AbstractMojo {
                 "  <groupId>" + relocateArtifact.getGroupId() + "</groupId>\n" +
                 "  <artifactId>" + relocateArtifact.getArtifactId() + "</artifactId>\n" +
                 "  <version>" + relocateArtifact.getVersion() + "</version>\n" +
+                "  <properties>\n" +
+                "    <debian.package>" + destPackage + "</debian.package>\n" +
+                "  </properties>\n" +
                 "  <distributionManagement>\n" +
                 "    <relocation>\n" +
                 "      <groupId>" + destGroupId + "</groupId>\n" +
diff --git a/debian/changelog b/debian/changelog
index f7a5b8b..8e7fb1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 maven-debian-helper (2.2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Added the debian.package property in the relocated poms
   * Fixed a NPE when no relocation is specified
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 30 Jun 2016 16:20:45 +0200

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-debian-helper.git



More information about the pkg-java-commits mailing list