Rework annotations jar file install
Also tidy up clean of package
James Page
10 years ago
0 | 0 |
findbugs (2.0.3+repack-1) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | |
* Install jar file and pom into /usr/share/maven-repo for
|
3 | |
use of findbugs with projects that use maven.
|
|
2 |
* Team upload.
|
|
3 |
* Install annotations.jar file and pom into /usr/share/maven-repo for
|
|
4 |
use of findbugs annotations with projects that use maven.
|
4 | 5 |
* Update orig-tar.sh to fully clean all generated sources from upstream
|
5 | |
tarball, repack 2.0.3 release.
|
|
6 |
tarball (Closes: #726988), repack 2.0.3 release.
|
6 | 7 |
|
7 | 8 |
-- James Page <james.page@ubuntu.com> Thu, 02 Jan 2014 13:37:05 +0000
|
8 | 9 |
|
|
0 |
lib/findbugs.jar usr/share/java
|
0 | 1 |
lib/findbugs-ant.jar usr/share/java
|
1 | 2 |
lib/buggy.icns usr/share/findbugs/lib
|
2 | 3 |
lib/bug-logo.icns usr/share/findbugs/lib
|
0 | |
pom.xml
|
|
0 |
debian/poms/findbugs-annotations.pom --usj-name=findbugs-annotations --java-lib
|
|
0 |
<project>
|
|
1 |
<modelVersion>4.0.0</modelVersion>
|
|
2 |
<groupId>com.google.code.findbugs</groupId>
|
|
3 |
<artifactId>annotations</artifactId>
|
|
4 |
<version>2.0.3</version>
|
|
5 |
<packaging>jar</packaging>
|
|
6 |
<url>http://findbugs.sourceforge.net/</url>
|
|
7 |
<name>FindBugs-Annotations</name>
|
|
8 |
<description>Annotation supports the FindBugs tool</description>
|
|
9 |
<licenses>
|
|
10 |
<license>
|
|
11 |
<name>GNU Lesser Public License</name>
|
|
12 |
<url>http://www.gnu.org/licenses/lgpl.html</url>
|
|
13 |
<distribution>repo</distribution>
|
|
14 |
</license>
|
|
15 |
</licenses>
|
|
16 |
<scm>
|
|
17 |
<connection>scm:svn:http://findbugs.googlecode.com/svn/trunk/</connection>
|
|
18 |
<developerConnection>scm:svn:https://findbugs.googlecode.com/svn/trunk/</developerConnection>
|
|
19 |
<url>http://findbugs.googlecode.com/svn/trunk/</url>
|
|
20 |
</scm>
|
|
21 |
</project>
|
10 | 10 |
|
11 | 11 |
|
12 | 12 |
%:
|
13 | |
dh $@
|
|
13 |
dh $@ --with maven_repo_helper
|
14 | 14 |
|
15 | 15 |
override_dh_auto_build:
|
16 | 16 |
ant docs build
|
17 | 17 |
|
18 | 18 |
override_dh_auto_install:
|
19 | |
|
20 | 19 |
chmod -x $(CURDIR)/bin/findbugs.ico
|
21 | 20 |
|
22 | 21 |
mkdir -p $(CURDIR)/debian/findbugs/usr/bin
|
|
27 | 26 |
dh_install --sourcedir=$(CURDIR)
|
28 | 27 |
dh_link
|
29 | 28 |
|
30 | |
mh_installpom -pfindbugs pom.xml
|
31 | |
mh_installjar -pfindbugs pom.xml -l lib/findbugs.jar
|
|
29 |
mh_installpom -pfindbugs debian/poms/findbugs-annotations.pom
|
|
30 |
mh_installjar -pfindbugs debian/poms/findbugs-annotations.pom \
|
|
31 |
--usj-name=findbugs-annotations -l lib/annotations.jar
|
32 | 32 |
|
33 | 33 |
# prepare findbugs.1
|
34 | 34 |
help2man -h "-help" -v "-version" \
|
|
40 | 40 |
$(CURDIR)/debian/findbugs/usr/bin/findbugs \
|
41 | 41 |
-o $(CURDIR)/debian/findbugs.1
|
42 | 42 |
|
|
43 |
override_dh_auto_clean:
|
|
44 |
rm -f $(CURDIR)/debian/findbugs.1 $(CURDIR)/debian/fb.1
|
|
45 |
rm -f lib/*.jar
|
|
46 |
rm -rf classesEclipse/
|
|
47 |
rm -f src/doc/allBugDescriptions.html src/doc/bugDescriptions.html
|
|
48 |
dh_auto_clean
|
|
49 |
|
43 | 50 |
override_dh_auto_test:
|
44 | 51 |
ant test
|
45 | 52 |
dh_auto_test
|