[eigenbase-farrago] 06/09: Install the Maven artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 09:34:43 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-farrago.

commit 9f56ec9bbd32fe1644a10b08a7e7fdc20f90678c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 28 11:21:16 2016 +0200

    Install the Maven artifacts
---
 debian/build.xml                      |  2 +-
 debian/changelog                      |  1 +
 debian/control                        |  2 +-
 debian/libeigenbase-farrago-java.poms | 28 ++++++++++++++++++++++++++++
 debian/pom.xml                        |  7 +++++++
 debian/rules                          |  4 +---
 6 files changed, 39 insertions(+), 5 deletions(-)

diff --git a/debian/build.xml b/debian/build.xml
index 9e3bf5e..8b7f2f9 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -4,7 +4,7 @@
 <target name="init">
     <property name="src.dir" value="src"/>
     <property name="build.dir" value="build"/>
-    <property name="jar" value="${build.dir}/eigenbase-properties-${deb.version}.jar"/>
+    <property name="jar" value="${build.dir}/eigenbase-properties.jar"/>
 
     <mkdir dir="${build.dir}"/>
 
diff --git a/debian/changelog b/debian/changelog
index 7ca5b53..35e77ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 eigenbase-farrago (0.9.0-1.1) UNRELEASED; urgency=medium
 
   * Non-maintainer upload.
+  * Install the Maven artifacts
   * Removed the JRE dependency from the binary package
   * Moved the package to Git
   * Standards-Version updated to 3.9.8
diff --git a/debian/control b/debian/control
index 0b4b1bc..db3251e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: eigenbase-farrago
 Section: java
 Priority: optional
 Maintainer: Damien Raude-Morvan <drazzib at debian.org>
-Build-Depends: cdbs, debhelper (>= 9), default-jdk, ant
+Build-Depends: cdbs, debhelper (>= 9), default-jdk, ant, maven-repo-helper
 Build-Depends-Indep: libeigenbase-resgen-java, junit, default-jdk-doc, junit-doc
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/eigenbase-resgen.git
diff --git a/debian/libeigenbase-farrago-java.poms b/debian/libeigenbase-farrago-java.poms
new file mode 100644
index 0000000..1e6afb3
--- /dev/null
+++ b/debian/libeigenbase-farrago-java.poms
@@ -0,0 +1,28 @@
+# 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.xml --has-package-version --java-lib --artifact=build/eigenbase-properties.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..bfa78a2
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?><project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>eigenbase</groupId>
+  <artifactId>eigenbase-properties</artifactId>
+  <version>0.9.0</version>
+  <url>http://www.eigenbase.org/</url>
+</project>
diff --git a/debian/rules b/debian/rules
index 4de0c13..46330cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,11 @@ include /usr/share/cdbs/1/class/ant.mk
 JAVA_HOME            := /usr/lib/jvm/default-java
 
 DEB_ANT_BUILDFILE    := debian/build.xml
-DEB_ANT_ARGS         := -Ddeb.version=${DEB_UPSTREAM_VERSION}
 DEB_ANT_BUILD_TARGET := jar
 DEB_ANT_CLEAN_TARGET := clean
 
 install/libeigenbase-farrago-java::
-	dh_install build/eigenbase-properties-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_link usr/share/java/eigenbase-properties-$(DEB_UPSTREAM_VERSION).jar usr/share/java/eigenbase-properties.jar
+	mh_install
 
 get-orig-source:
 	uscan --force-download --rename

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



More information about the pkg-java-commits mailing list