[libdb-je-java] 20/22: Install the Maven artifacts

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Nov 22 23:58:56 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository libdb-je-java.

commit fcc8e1cd143327834b9b7dda3cfb9ab2095551bc
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Nov 22 22:20:09 2017 +0100

    Install the Maven artifacts
---
 debian/changelog          |  1 +
 debian/control            |  3 ++-
 debian/libdb-je-java.poms |  1 +
 debian/pom.xml            | 50 +++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules              |  6 +-----
 5 files changed, 55 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0ad6d97..bf4640a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libdb-je-java (3.3.98-2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts
   * Removed the examples from the binary package
   * Build with the upstream Ant script
   * Build with the DH sequencer instead of CDBS
diff --git a/debian/control b/debian/control
index 4b19cdc..aef6b9d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends:
  ant,
  default-jdk,
  glassfish-javaee,
- junit
+ junit,
+ maven-repo-helper
 Standards-Version: 4.1.1
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/libdb-je-java.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libdb-je-java.git
diff --git a/debian/libdb-je-java.poms b/debian/libdb-je-java.poms
new file mode 100644
index 0000000..ebefc7d
--- /dev/null
+++ b/debian/libdb-je-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --has-package-version --java-lib --usj-name=db-je --artifact=build/lib/je.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..95db46d
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <artifactId>je</artifactId>
+  <groupId>com.sleepycat</groupId>
+  <version>3.3.98</version>
+  <name>Berkeley DB Java Edition</name>
+  <developers>
+    <developer>
+        <id>oracle</id>
+    </developer>
+  </developers>
+
+  <url>http://www.oracle.com/database/berkeley-db/index.html</url>
+
+  <scm>
+    <url>http://www.oracle.com/us/products/database/berkeley-db/index.html</url>
+    <connection>http://www.oracle.com/us/products/database/berkeley-db/index.html</connection>
+  </scm>
+
+  <organization>
+    <name>Oracle Corporation</name>
+    <url>http://www.oracle.com/</url>
+  </organization>
+
+  <licenses>
+    <license>
+      <name>Sleepycat License</name>
+      <url>http://download.oracle.com/maven/com/sleepycat/je/license.txt</url>
+    </license>
+  </licenses>
+
+  <issueManagement>
+    <system>Oracle OTN Network Forum for Berkeley DB Java Edition</system>
+    <url>http://forums.oracle.com/forums/forum.jspa?forumID=273</url>
+  </issueManagement>
+
+  <mailingLists>
+    <mailingList>
+      <name>Oracle Berkeley DB Products Release Announcement List</name>
+      <subscribe>bdb-subscribe at oss.oracle.com</subscribe>
+      <unsubscribe>bdb-unsubscribe at oss.oracle.com</unsubscribe>
+    </mailingList>
+  </mailingLists>
+
+  <description>Berkeley DB Java Edition is a open source, transactional storage solution for Java applications. The Direct Persistence Layer (DPL) API is faster and easier to develop, deploy, and manage than serialized object files or ORM-based Java persistence solutions.  The Collections API enhances the standard java.util.collections classes allowing them to be persisted to a local file system and accessed concurrently while protected by ACID transactions. Data is stored by serializing [...]
+
+</project>
diff --git a/debian/rules b/debian/rules
index 04597fc..7c89d22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,7 @@
 export CLASSPATH=/usr/share/java/glassfish-javaee.jar:/usr/share/java/junit.jar
 
 %:
-	dh $@
-
-override_dh_auto_install:
-	dh_install build/lib/je.jar $(DEB_DESTDIR)/usr/share/java/db-je-$(DEB_VERSION_UPSTREAM).jar
-	dh_link /usr/share/java/db-je-$(DEB_VERSION_UPSTREAM).jar /usr/share/java/db-je.jar
+	dh $@ --with maven-repo-helper
 
 get-orig-source:
 	uscan --download-current-version --force-download --rename

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



More information about the pkg-java-commits mailing list