[libjgraph-java] 01/02: install maven artifacts
Tony Mancill
tmancill at moszumanska.debian.org
Mon Nov 28 06:39:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
tmancill pushed a commit to branch master
in repository libjgraph-java.
commit 10066e3187cc2e8b2325370faa738012dfa4efe0
Author: tony mancill <tmancill at debian.org>
Date: Sun Nov 27 22:18:13 2016 -0800
install maven artifacts
---
debian/control | 3 ++-
debian/jgraph.pom.xml | 13 +++++++++++++
debian/libjgraph-java.install | 1 -
debian/libjgraph-java.poms | 1 +
debian/rules | 6 ++++++
5 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 79ffdf0..e27380a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Uploaders:
Build-Depends:
ant,
debhelper (>= 10),
- default-jdk
+ default-jdk,
+ maven-repo-helper
Standards-Version: 3.9.8
Homepage: https://github.com/jgraph/jgraphx
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libjgraph-java.git
diff --git a/debian/jgraph.pom.xml b/debian/jgraph.pom.xml
new file mode 100644
index 0000000..28e948c
--- /dev/null
+++ b/debian/jgraph.pom.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>jgraph</groupId>
+ <artifactId>jgraph</artifactId>
+ <version>5.12.4.2</version>
+ <packaging>jar</packaging>
+ <name>JGraph</name>
+ <description>JGraph library</description>
+</project>
diff --git a/debian/libjgraph-java.install b/debian/libjgraph-java.install
deleted file mode 100644
index f547b78..0000000
--- a/debian/libjgraph-java.install
+++ /dev/null
@@ -1 +0,0 @@
-build/lib/jgraph.jar usr/share/java
diff --git a/debian/libjgraph-java.poms b/debian/libjgraph-java.poms
new file mode 100644
index 0000000..155184f
--- /dev/null
+++ b/debian/libjgraph-java.poms
@@ -0,0 +1 @@
+debian/jgraph.pom.xml --no-parent --java-lib --artifact=build/lib/jgraph.jar
diff --git a/debian/rules b/debian/rules
index 09880bb..63a8717 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,16 @@
#!/usr/bin/make -f
+export DH_VERBOSE=1
+
%:
dh $@
override_dh_auto_build:
JAVA_HOME=/usr/lib/jvm/default-java ant jar
+override_dh_auto_install:
+ dh_auto_install
+ mh_install -plibjgraph-java
+
get-orig-source:
uscan --force-download
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjgraph-java.git
More information about the pkg-java-commits
mailing list