[findbugs] 01/06: Add maven artefacts for findbugs

James Downing Page jamespage at moszumanska.debian.org
Sat Jan 4 22:12:42 UTC 2014


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

jamespage pushed a commit to branch master
in repository findbugs.

commit 41d5d9f718fef52509ff4e0002b1dcd6590726b7
Author: James Page <james.page at ubuntu.com>
Date:   Thu Jan 2 13:36:29 2014 +0000

    Add maven artefacts for findbugs
    
    Install jar files and poms into /usr/share/maven-repo
    for use in maven based build processes.
---
 debian/changelog        | 7 +++++++
 debian/control          | 3 ++-
 debian/findbugs.install | 1 -
 debian/findbugs.poms    | 1 +
 debian/rules            | 3 +++
 5 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b70303e..1af952f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+findbugs (2.0.3-2) UNRELEASED; urgency=medium
+
+  * Install jar file and pom into /usr/share/maven-repo for
+    use of findbugs with projects that use maven. 
+
+ -- James Page <james.page at ubuntu.com>  Thu, 02 Jan 2014 13:37:05 +0000
+
 findbugs (2.0.3-1) unstable; urgency=low
 
   * New upstream version of 2.0.3.
diff --git a/debian/control b/debian/control
index b11cc52..8ad785e 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9.0.0), default-jdk, ant, libsaxon-java,
  libcommons-lang-java (>= 2.4), libjcip-annotations-java,
  libjdepend-java (>= 2.9), ant-optional,
  libfindbugs-bcel-java (>= 6.0~20130831),
- libjformatstring-java (>= 0.10~20081016-2), help2man, java-wrappers
+ libjformatstring-java (>= 0.10~20081016-2), help2man, java-wrappers,
+ maven-repo-helper
 Standards-Version: 3.9.5
 Homepage: http://findbugs.sourceforge.net/
 Vcs-Git: git://anonscm.debian.org/pkg-java/findbugs.git
diff --git a/debian/findbugs.install b/debian/findbugs.install
index d41c00b..0b4292a 100644
--- a/debian/findbugs.install
+++ b/debian/findbugs.install
@@ -1,4 +1,3 @@
-lib/findbugs.jar usr/share/java
 lib/findbugs-ant.jar usr/share/java
 lib/buggy.icns usr/share/findbugs/lib
 lib/bug-logo.icns usr/share/findbugs/lib
diff --git a/debian/findbugs.poms b/debian/findbugs.poms
new file mode 100644
index 0000000..d4f7111
--- /dev/null
+++ b/debian/findbugs.poms
@@ -0,0 +1 @@
+pom.xml
diff --git a/debian/rules b/debian/rules
index 5a4a131..9afb9f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,9 @@ override_dh_auto_install:
 	dh_install --sourcedir=$(CURDIR)
 	dh_link
 
+	mh_installpom -pfindbugs pom.xml
+	mh_installjar -pfindbugs pom.xml -l lib/findbugs.jar
+
 	# prepare findbugs.1
 	help2man -h "-help" -v "-version" \
 		-n "Static Java Code Analyzer" \

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



More information about the pkg-java-commits mailing list