[maven-debian-helper] 06/08: Removed mvn-debian (Closes: #703373)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu May 18 09:48:24 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.

commit 5474b021a2ee816544604a97dd7a9d69944dc66c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu May 18 11:35:52 2017 +0200

    Removed mvn-debian (Closes: #703373)
---
 bin/mvn-debian     | 29 -----------------------------
 debian/changelog   |  1 +
 debian/install     |  1 -
 debian/manpages    |  1 -
 debian/rules       |  5 -----
 man/mvn-debian.pod | 24 ------------------------
 6 files changed, 1 insertion(+), 60 deletions(-)

diff --git a/bin/mvn-debian b/bin/mvn-debian
deleted file mode 100755
index d438679..0000000
--- a/bin/mvn-debian
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# This is an example script that allows running maven on the command
-# line in a similar way as our cdbs snippets work. Production use is
-# not supported by the maintainer of maven-debian-helper.
-
-DEB_CLASSPATH=/usr/share/java/plexus-classworlds2.jar
-JAVA_OPTS=-Dclassworlds.conf=/etc/maven/m2-debian.conf
-MAIN_CLASS=org.codehaus.classworlds.Launcher
-MAVEN_OPTS=-s/etc/maven/settings-debian.xml
-
-TMP_DIR=$(mktemp -d ${TMP:-/tmp}/mvn-deb.XXXXXXXXXX)
-/usr/share/maven-debian-helper/copy-repo.sh $TMP_DIR
-MAVEN_REPO=$TMP_DIR/maven-repo
-MAVEN_OPTS="$MAVEN_OPTS -Dmaven.repo.local=$MAVEN_REPO"
-
-AUTO_PROPS=$TMP_DIR/auto.properties
-JAVA_OPTS="$JAVA_OPTS -Dproperties.file.auto=$AUTO_PROPS"
-MAVEN_OPTS="$MAVEN_OPTS -Ddebian.dir=$PWD/debian"
-
-if [ -r debian/control ]; then
-  JAR_PACKAGE=$(dh_listpackages | head -1)
-  MAVEN_OPTS="$MAVEN_OPTS -Ddebian.package=$JAR_PACKAGE"
-fi
-
-java -noverify -Dmaven.multiModuleProjectDirectory=$PWD -cp $DEB_CLASSPATH $JAVA_OPTS $MAIN_CLASS "$@" $MAVEN_OPTS
-
-rm -rf $TMP_DIR
-
diff --git a/debian/changelog b/debian/changelog
index effb8af..816d1c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ maven-debian-helper (2.2) UNRELEASED; urgency=medium
   * Replaced the suggested dependency on devscripts with licensecheck
     and fixed the error message in mh_make when licensecheck isn't installed
     (Closes: #840787)
+  * Removed mvn-debian (Closes: #703373)
 
  -- Christopher Hoskin <mans0954 at debian.org>  Sun, 08 Jan 2017 21:32:55 +0000
 
diff --git a/debian/install b/debian/install
index f96e9d3..fdef7ca 100644
--- a/debian/install
+++ b/debian/install
@@ -1,5 +1,4 @@
 bin/mh_*			/usr/bin
-bin/mvn-debian			/usr/bin
 etc/*.conf			/etc/maven/
 etc/*.xml			/etc/maven/
 share/cdbs/1/class/*.mk		/usr/share/cdbs/1/class
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index 3d6af6a..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-man/mvn-debian.1
diff --git a/debian/rules b/debian/rules
index 9369194..5952022 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,17 +43,12 @@ build/$(PACKAGE):: man-pages
 
 install/$(PACKAGE)::
 	mh_install -p$(PACKAGE)
-	pod2man -c 'Maven for Debian GNU/Linux' \
-	  -r maven-debian-helper-$(DEB_UPSTREAM_VERSION) \
-	  man/mvn-debian.pod > man/mvn-debian.1
-	dh_installman $(MAN_PAGES) man/mvn-debian.1
 	install -D share/perl/maven.pm debian/tmp/$$(perl -MConfig -e 'print $$Config{vendorlib}')/Debian/Debhelper/Buildsystem/maven.pm
 
 cleanbuilddir::
 	mh_unpatchpoms -p$(PACKAGE)
 
 clean::
-	-$(RM) man/mvn-debian.1
 	mh_clean
 
 # Helper target, to use when updating the version of this package
diff --git a/man/mvn-debian.pod b/man/mvn-debian.pod
deleted file mode 100644
index a0a17fc..0000000
--- a/man/mvn-debian.pod
+++ /dev/null
@@ -1,24 +0,0 @@
-=head1 NAME
-
-mvn-debian - debian helper for using Maven in offline mode
-
-=head1 SYNOPSIS
-
-B<mvn-debian> [S<I<maven-arguments>>]
-
-=head1 DESCRIPTION
-
-This script can be used to interactively build Maven packages compatible
-to Debian's Maven Repository Specification. Please do not use it for
-building real Debian packages because there are cdbs snippets available
-with more features and less bugs. The full documentation can be found at
-<http://wiki.debian.org/Java/MavenBuilder>.
-
-=head1 SEE ALSO
-
-L<mvn(1)>, <http://wiki.debian.org/Java/MavenRepoSpec>
-
-=head1 AUTHOR
-
-Torsten Werner <twerner at debian.org>
-

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



More information about the pkg-java-commits mailing list