[geronimo-osgi-support] 01/03: Install the Maven artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 2 17:29:13 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository geronimo-osgi-support.

commit 3740fda561db3fa6b344235776c2366ce9d29931
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 2 19:15:51 2015 +0200

    Install the Maven artifacts
---
 debian/changelog                           |  1 +
 debian/control                             |  2 +-
 debian/libgeronimo-osgi-support-java.jlibs |  2 --
 debian/libgeronimo-osgi-support-java.poms  | 34 ++++++++++++++++++++++++++++++
 debian/rules                               |  2 +-
 5 files changed, 37 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 73b0ead..4dc06af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 geronimo-osgi-support (1.0-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts
   * Standards-Version updated to 3.9.6 (no changes)
   * Use canonical URLs for the Vcs-* fields
   * Switch to debhelper level 9
diff --git a/debian/control b/debian/control
index 75576da..d7cd138 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Miguel Landaeta <miguel at miguel.cc>
 Section: java
 Priority: optional
 Build-Depends: debhelper (>= 9), default-jdk, javahelper, ant, libaspectj-java,
- libosgi-core-java, libosgi-compendium-java
+ libosgi-core-java, libosgi-compendium-java, maven-repo-helper
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-java/geronimo-osgi-support.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/geronimo-osgi-support.git
diff --git a/debian/libgeronimo-osgi-support-java.jlibs b/debian/libgeronimo-osgi-support-java.jlibs
deleted file mode 100644
index 526d32a..0000000
--- a/debian/libgeronimo-osgi-support-java.jlibs
+++ /dev/null
@@ -1,2 +0,0 @@
-geronimo-osgi-registry.jar
-geronimo-osgi-locator.jar
diff --git a/debian/libgeronimo-osgi-support-java.poms b/debian/libgeronimo-osgi-support-java.poms
new file mode 100644
index 0000000..db4fe98
--- /dev/null
+++ b/debian/libgeronimo-osgi-support-java.poms
@@ -0,0 +1,34 @@
+# 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]
+#
+pom.xml --no-parent --has-package-version
+geronimo-osgi-registry/pom.xml --has-package-version --java-lib --artifact=geronimo-osgi-registry.jar
+geronimo-osgi-locator/pom.xml --has-package-version --java-lib --artifact=geronimo-osgi-locator.jar
+geronimo-osgi-itesta/pom.xml --ignore
+geronimo-osgi-itestb/pom.xml --ignore
+geronimo-osgi-registry-itests/pom.xml --ignore
+geronimo-osgi-locator-itests/pom.xml --ignore
diff --git a/debian/rules b/debian/rules
index 70f3f42..811ade2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ export JAVA_HOME=/usr/lib/jvm/default-java
 export CLASSPATH=/usr/share/java/aspectjtools.jar:/usr/share/java/osgi.core.jar:/usr/share/java/osgi.compendium.jar
 
 %:
-	dh $@ --with javahelper
+	dh $@ --with javahelper,maven-repo-helper
 
 override_jh_build:
 	jh_build -N geronimo-osgi-registry.jar geronimo-osgi-registry/src/main

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-osgi-support.git



More information about the pkg-java-commits mailing list