[commons-parent] 10/16: Preserve the 'build' section of the pom

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jan 15 12:37:54 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository commons-parent.

commit afc33a028f9a9c03eed3091a5b6ca1820be06d80
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Jan 21 16:40:29 2014 +0000

    Preserve the 'build' section of the pom
---
 debian/changelog                   | 2 ++
 debian/libcommons-parent-java.poms | 2 +-
 debian/maven.ignoreRules           | 7 +++++++
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 80345ac..37cea36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 commons-parent (22-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Preserve the 'build' section of the pom to generate jars similar
+    to those published upstream.
   * debian/control:
     - Use canonical URLs for the Vcs-* fields
     - Standards-Version updated to 3.9.5 (no changes)
diff --git a/debian/libcommons-parent-java.poms b/debian/libcommons-parent-java.poms
index 742e8b2..7c4918e 100644
--- a/debian/libcommons-parent-java.poms
+++ b/debian/libcommons-parent-java.poms
@@ -23,5 +23,5 @@
 #   --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
 #     temporarily for certain artifacts such as Javadoc jars.
 #
-pom.xml --has-package-version --site-xml=src/site/site.xml
+pom.xml --has-package-version --site-xml=src/site/site.xml --keep-elements=build
 
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
index 0088a40..a4f1e46 100644
--- a/debian/maven.ignoreRules
+++ b/debian/maven.ignoreRules
@@ -14,3 +14,10 @@
 # from the POM
 #   junit junit jar s/3\\..*/3.x/
 
+org.apache.commons commons-build-plugin
+org.apache.maven.plugins maven-assembly-plugin
+org.apache.maven.plugins maven-gpg-plugin
+org.apache.maven.plugins maven-release-plugin
+org.apache.maven.plugins maven-site-plugin
+org.apache.rat apache-rat-plugin
+org.codehaus.mojo buildnumber-maven-plugin

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



More information about the pkg-java-commits mailing list