Codebase list findbugs / 508050f
Rework annotations jar file install Also tidy up clean of package James Page 10 years ago
5 changed file(s) with 39 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
00 findbugs (2.0.3+repack-1) UNRELEASED; urgency=medium
11
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.
45 * 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.
67
78 -- James Page <james.page@ubuntu.com> Thu, 02 Jan 2014 13:37:05 +0000
89
0 lib/findbugs.jar usr/share/java
01 lib/findbugs-ant.jar usr/share/java
12 lib/buggy.icns usr/share/findbugs/lib
23 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>
1010
1111
1212 %:
13 dh $@
13 dh $@ --with maven_repo_helper
1414
1515 override_dh_auto_build:
1616 ant docs build
1717
1818 override_dh_auto_install:
19
2019 chmod -x $(CURDIR)/bin/findbugs.ico
2120
2221 mkdir -p $(CURDIR)/debian/findbugs/usr/bin
2726 dh_install --sourcedir=$(CURDIR)
2827 dh_link
2928
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
3232
3333 # prepare findbugs.1
3434 help2man -h "-help" -v "-version" \
4040 $(CURDIR)/debian/findbugs/usr/bin/findbugs \
4141 -o $(CURDIR)/debian/findbugs.1
4242
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
4350 override_dh_auto_test:
4451 ant test
4552 dh_auto_test