[eigenbase-resgen] 01/03: Install the Maven artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 08:00:14 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository eigenbase-resgen.

commit d2f7c2ac252b5716a1f7f098019506a66b4878bf
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 28 09:55:13 2016 +0200

    Install the Maven artifacts
---
 debian/changelog                     |  7 +++++++
 debian/control                       |  2 +-
 debian/libeigenbase-resgen-java.poms | 29 +++++++++++++++++++++++++++++
 debian/pom-resgen.xml                |  7 +++++++
 debian/pom-xom.xml                   |  7 +++++++
 debian/rules                         |  8 ++------
 6 files changed, 53 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3303e23..696ac6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+eigenbase-resgen (1.3.0.13768-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Install the Maven artifacts
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Thu, 28 Jul 2016 09:48:44 +0200
+
 eigenbase-resgen (1.3.0.13768-3) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index c9a13ee..409cb07 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Damien Raude-Morvan <drazzib at debian.org>
-Build-Depends: ant, cdbs, debhelper (>= 9), default-jdk
+Build-Depends: ant, cdbs, debhelper (>= 9), default-jdk, maven-repo-helper
 Build-Depends-Indep: default-jdk-doc,
                      junit,
                      junit-doc,
diff --git a/debian/libeigenbase-resgen-java.poms b/debian/libeigenbase-resgen-java.poms
new file mode 100644
index 0000000..074495c
--- /dev/null
+++ b/debian/libeigenbase-resgen-java.poms
@@ -0,0 +1,29 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+debian/pom-resgen.xml --has-package-version --java-lib --artifact=lib/eigenbase-resgen.jar
+debian/pom-xom.xml    --has-package-version --java-lib --artifact=lib/eigenbase-xom.jar
diff --git a/debian/pom-resgen.xml b/debian/pom-resgen.xml
new file mode 100644
index 0000000..0af1050
--- /dev/null
+++ b/debian/pom-resgen.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?><project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>eigenbase</groupId>
+  <artifactId>eigenbase-resgen</artifactId>
+  <version>1.3.0.13768</version>
+  <url>http://www.eigenbase.org/</url>
+</project>
diff --git a/debian/pom-xom.xml b/debian/pom-xom.xml
new file mode 100644
index 0000000..db670b2
--- /dev/null
+++ b/debian/pom-xom.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?><project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>eigenbase</groupId>
+  <artifactId>eigenbase-xom</artifactId>
+  <version>1.3.0.13768</version>
+  <url>http://www.eigenbase.org/</url>
+</project>
diff --git a/debian/rules b/debian/rules
index ebc4bfe..011a874 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,14 +11,10 @@ DEB_ANT_BUILD_TARGET := cleanBuild
 DEB_ANT_CLEAN_TARGET := clean
 
 binary-post-install/libeigenbase-resgen-java::
-	mv lib/eigenbase-resgen.jar lib/eigenbase-resgen-$(DEB_UPSTREAM_VERSION).jar
-	dh_install -plibeigenbase-resgen-java lib/eigenbase-resgen-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/
-	dh_link -plibeigenbase-resgen-java /usr/share/java/eigenbase-resgen-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/eigenbase-resgen.jar
-	mv lib/eigenbase-xom.jar lib/eigenbase-xom-$(DEB_UPSTREAM_VERSION).jar
-	dh_install -plibeigenbase-resgen-java lib/eigenbase-xom-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/
-	dh_link -plibeigenbase-resgen-java /usr/share/java/eigenbase-xom-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/eigenbase-xom.jar
+	mh_install
 
 clean::
+	mh_clean
 	rm -f lib/*.jar
 
 get-orig-source:

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



More information about the pkg-java-commits mailing list