[med-svn] [libssw] 01/03: install maven-repo coordinates for ssw.jar
Andreas Tille
tille at debian.org
Mon Jul 11 07:39:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository libssw.
commit 7ce7c220c29a3d55c7aa6a79cb2bb1edc220c053
Author: tony mancill <tmancill at debian.org>
Date: Sun Jul 10 21:31:25 2016 -0700
install maven-repo coordinates for ssw.jar
This commit modifies the package build to use maven-repo-helper
to install a POM file beneath /usr/share/maven-repo/ssw/.
---
debian/control | 3 ++-
debian/libssw-java-1.0.pom | 8 ++++++++
debian/libssw-java.poms | 1 +
debian/rules | 2 +-
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index ff3101a..39d5fda 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9),
javahelper,
dh-autoreconf,
help2man,
- zlib1g-dev
+ zlib1g-dev,
+ maven-repo-helper
Standards-Version: 3.9.8
Testsuite: autopkgtest
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libssw.git
diff --git a/debian/libssw-java-1.0.pom b/debian/libssw-java-1.0.pom
new file mode 100644
index 0000000..0ddf236
--- /dev/null
+++ b/debian/libssw-java-1.0.pom
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>ssw</groupId>
+ <artifactId>ssw</artifactId>
+ <version>1.0</version>
+</project>
diff --git a/debian/libssw-java.poms b/debian/libssw-java.poms
new file mode 100644
index 0000000..1c02394
--- /dev/null
+++ b/debian/libssw-java.poms
@@ -0,0 +1 @@
+debian/libssw-java-1.0.pom --usj-name=ssw
diff --git a/debian/rules b/debian/rules
index 9ba2f1a..6ba50ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
PKG_VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/-.*//')
%:
- dh $@
+ dh $@ --with javahelper --with jh_maven_repo_helper
override_dh_auto_clean:
rm -f debian/libssw*install debian/libssw*links debian/ssw-align.1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libssw.git
More information about the debian-med-commit
mailing list