[libgetopt-java] 10/32: Added maven support
Markus Koschany
apo-guest at moszumanska.debian.org
Fri Nov 27 22:12:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository libgetopt-java.
commit fd1e835b9cc18b896ac1cf9d08668e9a7c139c5a
Author: Gabriele Giacone <1o5g4r8o at gmail.com>
Date: Wed Feb 10 22:10:09 2010 +0000
Added maven support
---
debian/changelog | 7 ++++++-
debian/control | 4 ++--
debian/pom.xml | 7 +++++++
debian/rules | 8 +++++---
4 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 19a627a..92cbaa8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
-libgetopt-java (1.0.13-2) UNRELEASED; urgency=low
+libgetopt-java (1.0.13-2) unstable; urgency=low
+ [ Damien Raude-Morvan ]
* Fix debian/watch
+ [Gabriele Giacone]
+ * Added maven support
+ * Standards-Version to 3.8.4
+
-- Damien Raude-Morvan <drazzib at debian.org> Wed, 28 Oct 2009 00:13:22 +0100
libgetopt-java (1.0.13-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index fe1651f..9a59cf3 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk at debian.org>, Michael Koch <konqueror at gmx.de>,
Niels Thykier <niels at thykier.net>
-Build-Depends: debhelper (>= 7), default-jdk
-Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7), default-jdk, maven-repo-helper
+Standards-Version: 3.8.4
Homepage: http://www.urbanophile.com/arenn/hacking/download.html
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libgetopt-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libgetopt-java
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..08f1ce4
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,7 @@
+<project>
+<modelVersion>4.0.0</modelVersion>
+<groupId>gnu-getopt</groupId>
+<artifactId>getopt</artifactId>
+<name>getopt</name>
+<version>1.0.13</version>
+</project>
diff --git a/debian/rules b/debian/rules
index 46692f4..33fac4d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,6 @@ export JAR=$(JAVA_HOME)/bin/jar
export JAVAC=$(JAVA_HOME)/bin/javac
export CLASSPATH=$(JAVA_HOME)/jre/lib/rt.jar:.
-
build: build-stamp
build-stamp:
dh_testdir
@@ -34,7 +33,7 @@ install: build
dh_testroot
dh_prep
dh_installdirs
- (cd classes; ${JAR} cvf ../debian/libgetopt-java/usr/share/java/gnu-getopt-${VERSION}.jar gnu)
+ (cd classes; ${JAR} cvf ../gnu-getopt.jar gnu)
mkdir -p debian/libgetopt-java/usr/share/doc/libgetopt-java/api
cp -a gnu/getopt/*.html debian/libgetopt-java/usr/share/doc/libgetopt-java/api
@@ -45,7 +44,10 @@ binary-indep: build install
dh_installdocs gnu/getopt/README
dh_installexamples gnu/getopt/GetoptDemo.java
dh_installchangelogs gnu/getopt/ChangeLog
- dh_link /usr/share/java/gnu-getopt-${VERSION}.jar /usr/share/java/gnu-getopt.jar
+ # maven
+ mh_installpom -plibgetopt-java $(CURDIR)/debian/pom.xml
+ mh_installjar -plibgetopt-java -ngnu-getopt -l $(CURDIR)/debian/pom.xml \
+ $(CURDIR)/gnu-getopt.jar
dh_compress
dh_link
dh_installdeb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libgetopt-java.git
More information about the pkg-java-commits
mailing list