Moved the core library and the Ant tasks to distinct packages (Closes: #808707)
Emmanuel Bourg
7 years ago
4 | 4 | - Refreshed the patches |
5 | 5 | - Depend on Java 8 |
6 | 6 | - Depend on libbcel-java (>= 6.0) (Closes: #832842) |
7 | * Moved the annotations to the libfindbugs-annotations-java package | |
7 | * Moved the core library, the annotations and the Ant tasks to distinct | |
8 | packages (Closes: #808707) | |
8 | 9 | * Depend on libasm-java (>= 5.0) instead of libasm4-java |
9 | 10 | * Removed junit4 and jdepend from the runtime dependencies |
10 | 11 | * debian/rules: Generate the man pages during the build phase |
17 | 17 | libjaxen-java (>= 1.1.1), |
18 | 18 | libjcip-annotations-java, |
19 | 19 | libjdepend-java (>= 2.9), |
20 | libjformatstring-java (>= 0.10~20081016-2), | |
20 | libjformatstring-java (>= 0.10~20131207-2~), | |
21 | 21 | libjsr305-java, |
22 | 22 | libsaxon-java, |
23 | 23 | maven-repo-helper |
29 | 29 | Package: findbugs |
30 | 30 | Architecture: all |
31 | 31 | Depends: default-jre (>= 2:1.8) | java8-runtime, |
32 | libfindbugs-ant-java, | |
33 | libfindbugs-java, | |
32 | 34 | java-wrappers, |
33 | libasm-java (>= 5.0), | |
34 | libbcel-java (>= 6.0), | |
35 | libcommons-lang-java (>= 2.4), | |
36 | libdom4j-java (>= 1.6.1), | |
37 | libfindbugs-annotations-java, | |
38 | libjaxen-java (>= 1.1.1), | |
39 | libjcip-annotations-java, | |
40 | libjformatstring-java (>= 0.10~20081016-2), | |
41 | libjsr305-java, | |
42 | 35 | ${misc:Depends} |
43 | 36 | Description: Static java code analyzer to find bugs |
44 | 37 | Findbugs is a program which uses static analysis to look for bugs in Java |
47 | 40 | . |
48 | 41 | Findbugs provides both GUI and command line interfaces and supports many |
49 | 42 | bug patterns. |
43 | ||
44 | Package: libfindbugs-java | |
45 | Architecture: all | |
46 | Depends: libasm-java (>= 5.0), | |
47 | libcommons-lang-java (>= 2.4), | |
48 | libbcel-java (>= 6.0), | |
49 | libdom4j-java (>= 1.6.1), | |
50 | libjaxen-java (>= 1.1.1), | |
51 | libjcip-annotations-java, libjsr305-java, | |
52 | libjformatstring-java (>= 0.10~20131207-2~), | |
53 | ${misc:Depends} | |
54 | Breaks: findbugs (<< 3.1.0~) | |
55 | Replaces: findbugs (<< 3.1.0~) | |
56 | Description: Static java code analyzer to find bugs (Library) | |
57 | Findbugs is a program which uses static analysis to look for bugs in Java | |
58 | code. It can analyze programs compiled for any version of Java, from 1.0 | |
59 | to 1.8. | |
60 | . | |
61 | This package contains the Findbugs library. | |
50 | 62 | |
51 | 63 | Package: libfindbugs-annotations-java |
52 | 64 | Architecture: all |
59 | 71 | to 1.8. |
60 | 72 | . |
61 | 73 | This package contains the Findbugs annotations. |
74 | ||
75 | Package: libfindbugs-ant-java | |
76 | Architecture: all | |
77 | Depends: libfindbugs-java, ${misc:Depends} | |
78 | Breaks: findbugs (<< 3.1.0~) | |
79 | Replaces: findbugs (<< 3.1.0~) | |
80 | Description: Static java code analyzer to find bugs (Ant tasks) | |
81 | Findbugs is a program which uses static analysis to look for bugs in Java | |
82 | code. It can analyze programs compiled for any version of Java, from 1.0 | |
83 | to 1.8. | |
84 | . | |
85 | This package contains the Findbugs Ant tasks. |
22 | 22 | bin/xpathFind usr/bin/ |
23 | 23 | lib/bug-logo.icns usr/share/findbugs/lib |
24 | 24 | lib/buggy.icns usr/share/findbugs/lib |
25 | lib/findbugs-ant.jar usr/share/java | |
26 | lib/findbugs.jar usr/share/java |
0 | # List of POM files for the package | |
1 | # Format of this file is: | |
2 | # <path to pom file> [option]* | |
3 | # where option can be: | |
4 | # --ignore: ignore this POM and its artifact if any | |
5 | # --ignore-pom: don't install the POM. To use on POM files that are created | |
6 | # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] | |
7 | # --no-parent: remove the <parent> tag from the POM | |
8 | # --package=<package>: an alternative package to use when installing this POM | |
9 | # and its artifact | |
10 | # --has-package-version: to indicate that the original version of the POM is the same as the upstream part | |
11 | # of the version for the package. | |
12 | # --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM | |
13 | # during a clean operation with mh_cleanpom or mh_installpom | |
14 | # --artifact=<path>: path to the build artifact associated with this POM, | |
15 | # it will be installed when using the command mh_install. [mh_install] | |
16 | # --java-lib: install the jar into /usr/share/java to comply with Debian | |
17 | # packaging guidelines | |
18 | # --usj-name=<name>: name to use when installing the library in /usr/share/java | |
19 | # --usj-version=<version>: version to use when installing the library in /usr/share/java | |
20 | # --no-usj-versionless: don't install the versionless link in /usr/share/java | |
21 | # --dest-jar=<path>: the destination for the real jar. | |
22 | # It will be installed with mh_install. [mh_install] | |
23 | # --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. | |
24 | # --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. | |
25 | # Empty by default. [mh_install] | |
26 | # | |
27 | debian/poms/findbugs.pom --java-lib --usj-name=findbugs --artifact=lib/findbugs.jar --package=libfindbugs-java | |
28 | debian/poms/findbugs-annotations.pom --java-lib --usj-name=findbugs-annotations --artifact=lib/annotations.jar --package=libfindbugs-annotations-java | |
29 | debian/poms/findbugs-ant.pom --java-lib --usj-name=findbugs-ant --artifact=lib/findbugs-ant.jar --package=libfindbugs-ant-java |
0 | ||
1 | s/com.google.code.findbugs/org.apache.bcel/ s/bcel-findbugs/bcel/ * s/.*/5.x/ * * | |
2 | com.google.code.findbugs jsr305 * s/.*/0.x/ * * |
0 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
1 | <modelVersion>4.0.0</modelVersion> | |
2 | <groupId>com.google.code.findbugs</groupId> | |
3 | <artifactId>findbugs-ant</artifactId> | |
4 | <version>3.1.0</version> | |
5 | <packaging>jar</packaging> | |
6 | <url>http://findbugs.sourceforge.net/</url> | |
7 | <name>FindBugs-AntTask</name> | |
8 | <description>AntTask to run Findbugs</description> | |
9 | ||
10 | <licenses> | |
11 | <license> | |
12 | <name>GNU Lesser Public License</name> | |
13 | <url>http://www.gnu.org/licenses/lgpl.html</url> | |
14 | <distribution>repo</distribution> | |
15 | </license> | |
16 | </licenses> | |
17 | ||
18 | <scm> | |
19 | <connection>scm:git:http://code.google.com/p/findbugs/</connection> | |
20 | <developerConnection>scm:git:https://code.google.com/p/findbugs/</developerConnection> | |
21 | <url>https://code.google.com/p/findbugs/</url> | |
22 | </scm> | |
23 | ||
24 | <developers> | |
25 | <developer> | |
26 | <id>bp</id> | |
27 | <name>Bill Pugh</name> | |
28 | <email>pugh at cs.umd.edu</email> | |
29 | <url>http://www.cs.umd.edu/~pugh/</url> | |
30 | <roles> | |
31 | <role>Project Lead</role> | |
32 | <role>Primary Developer</role> | |
33 | </roles> | |
34 | <timezone>-5</timezone> | |
35 | </developer> | |
36 | <developer> | |
37 | <id>al</id> | |
38 | <name>Andrey Loskutov</name> | |
39 | <email>Loskutov@gmx.de</email> | |
40 | <url>http://andrei.gmxhome.de/privat.html</url> | |
41 | <roles> | |
42 | <role>Eclipse plugin</role> | |
43 | </roles> | |
44 | <timezone>+1</timezone> | |
45 | </developer> | |
46 | <developer> | |
47 | <id>bp</id> | |
48 | <name>Keith Lea</name> | |
49 | <email></email> | |
50 | <url>http://keithlea.com/</url> | |
51 | <roles> | |
52 | <role>web cloud</role> | |
53 | </roles> | |
54 | <timezone>-5</timezone> | |
55 | </developer> | |
56 | </developers> | |
57 | <contributors> | |
58 | <contributor> | |
59 | <name>Garvin LeClaire</name> | |
60 | <email>garvin.leclaire@gmail.com</email> | |
61 | <url></url> | |
62 | <roles> | |
63 | <role>Maven</role> | |
64 | </roles> | |
65 | <timezone>-5</timezone> | |
66 | </contributor> | |
67 | <contributor> | |
68 | <name>David H. Hovemeyer</name> | |
69 | <email>dhovemey@ycp.edu</email> | |
70 | <url>http://goose.ycp.edu/~dhovemey/</url> | |
71 | <roles> | |
72 | <role>project founder</role> | |
73 | </roles> | |
74 | <timezone>-5</timezone> | |
75 | </contributor> | |
76 | <contributor> | |
77 | <name>Nay Ayewah</name> | |
78 | <email></email> | |
79 | <url></url> | |
80 | <roles> | |
81 | <role></role> | |
82 | </roles> | |
83 | <timezone>-5</timezone> | |
84 | </contributor> | |
85 | <contributor> | |
86 | <name>Ben Langmead</name> | |
87 | <email></email> | |
88 | <url></url> | |
89 | <roles> | |
90 | <role></role> | |
91 | </roles> | |
92 | <timezone>-5</timezone> | |
93 | </contributor> | |
94 | <contributor> | |
95 | <name>Tomas Pollak</name> | |
96 | <email></email> | |
97 | <url></url> | |
98 | <roles> | |
99 | <role>Eclipse plugin tests</role> | |
100 | </roles> | |
101 | <timezone>-5</timezone> | |
102 | </contributor> | |
103 | <contributor> | |
104 | <name>Phil Crosby</name> | |
105 | <email></email> | |
106 | <url></url> | |
107 | <roles> | |
108 | <role></role> | |
109 | </roles> | |
110 | <timezone>-5</timezone> | |
111 | </contributor> | |
112 | <contributor> | |
113 | <name>Peter Friese</name> | |
114 | <email></email> | |
115 | <url></url> | |
116 | <roles> | |
117 | <role>Eclipse plugin</role> | |
118 | </roles> | |
119 | <timezone>-5</timezone> | |
120 | </contributor> | |
121 | <contributor> | |
122 | <name>Dave Brosius</name> | |
123 | <email></email> | |
124 | <url></url> | |
125 | <roles> | |
126 | <role></role> | |
127 | </roles> | |
128 | <timezone>-5</timezone> | |
129 | </contributor> | |
130 | <contributor> | |
131 | <name>Brian Goetz</name> | |
132 | <email></email> | |
133 | <url></url> | |
134 | <roles> | |
135 | <role></role> | |
136 | </roles> | |
137 | <timezone>-5</timezone> | |
138 | </contributor> | |
139 | <contributor> | |
140 | <name>Rohan Lloyd</name> | |
141 | <email></email> | |
142 | <url></url> | |
143 | <roles> | |
144 | <role></role> | |
145 | </roles> | |
146 | <timezone>-5</timezone> | |
147 | </contributor> | |
148 | </contributors> | |
149 | ||
150 | <dependencies> | |
151 | <dependency> | |
152 | <groupId>com.google.code.findbugs</groupId> | |
153 | <artifactId>findbugs</artifactId> | |
154 | <version>3.0.0</version> | |
155 | </dependency> | |
156 | </dependencies> | |
157 | ||
158 | </project> |
0 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
1 | <modelVersion>4.0.0</modelVersion> | |
2 | <parent> | |
3 | <groupId>org.sonatype.oss</groupId> | |
4 | <artifactId>oss-parent</artifactId> | |
5 | <version>7</version> | |
6 | <relativePath /> | |
7 | </parent> | |
8 | ||
9 | <groupId>com.google.code.findbugs</groupId> | |
10 | <artifactId>findbugs</artifactId> | |
11 | <version>3.0.1</version> | |
12 | <packaging>jar</packaging> | |
13 | ||
14 | <url>http://findbugs.sourceforge.net/</url> | |
15 | <name>FindBugs-Project</name> | |
16 | <description>Findbugs: Because it's easy!</description> | |
17 | <inceptionYear>2003</inceptionYear> | |
18 | <licenses> | |
19 | <license> | |
20 | <name>GNU Lesser Public License</name> | |
21 | <url>http://www.gnu.org/licenses/lgpl.html</url> | |
22 | <distribution>repo</distribution> | |
23 | </license> | |
24 | </licenses> | |
25 | ||
26 | <prerequisites> | |
27 | <maven>3.0</maven> | |
28 | </prerequisites> | |
29 | ||
30 | ||
31 | <scm> | |
32 | <connection>scm:git:http://code.google.com/p/findbugs/</connection> | |
33 | <developerConnection>scm:git:https://code.google.com/p/findbugs/</developerConnection> | |
34 | <url>https://code.google.com/p/findbugs/</url> | |
35 | </scm> | |
36 | ||
37 | <developers> | |
38 | <developer> | |
39 | <id>bp</id> | |
40 | <name>Bill Pugh</name> | |
41 | <email>pugh at cs.umd.edu</email> | |
42 | <url>http://www.cs.umd.edu/~pugh/</url> | |
43 | <roles> | |
44 | <role>Project Lead</role> | |
45 | <role>Primary Developer</role> | |
46 | </roles> | |
47 | <timezone>-5</timezone> | |
48 | </developer> | |
49 | <developer> | |
50 | <id>al</id> | |
51 | <name>Andrey Loskutov</name> | |
52 | <email>Loskutov@gmx.de</email> | |
53 | <url>http://andrei.gmxhome.de/privat.html</url> | |
54 | <roles> | |
55 | <role>Eclipse plugin</role> | |
56 | </roles> | |
57 | <timezone>+1</timezone> | |
58 | </developer> | |
59 | <developer> | |
60 | <id>bp</id> | |
61 | <name>Keith Lea</name> | |
62 | <email /> | |
63 | <url>http://keithlea.com/</url> | |
64 | <roles> | |
65 | <role>web cloud</role> | |
66 | </roles> | |
67 | <timezone>-5</timezone> | |
68 | </developer> | |
69 | </developers> | |
70 | <contributors> | |
71 | <contributor> | |
72 | <name>Garvin LeClaire</name> | |
73 | <email>gleclaire@codehaus.org</email> | |
74 | <url>http://gdleclaire.blogspot.com</url> | |
75 | <roles> | |
76 | <role>Maven</role> | |
77 | </roles> | |
78 | <timezone>-5</timezone> | |
79 | </contributor> | |
80 | <contributor> | |
81 | <name>David H. Hovemeyer</name> | |
82 | <email>dhovemey@ycp.edu</email> | |
83 | <url>http://goose.ycp.edu/~dhovemey/</url> | |
84 | <roles> | |
85 | <role>project founder</role> | |
86 | </roles> | |
87 | <timezone>-5</timezone> | |
88 | </contributor> | |
89 | <contributor> | |
90 | <name>Nay Ayewah</name> | |
91 | <email /> | |
92 | <url /> | |
93 | <roles> | |
94 | <role /> | |
95 | </roles> | |
96 | <timezone>-5</timezone> | |
97 | </contributor> | |
98 | <contributor> | |
99 | <name>Ben Langmead</name> | |
100 | <email /> | |
101 | <url /> | |
102 | <roles> | |
103 | <role /> | |
104 | </roles> | |
105 | <timezone>-5</timezone> | |
106 | </contributor> | |
107 | <contributor> | |
108 | <name>Tomas Pollak</name> | |
109 | <email /> | |
110 | <url /> | |
111 | <roles> | |
112 | <role>Eclipse plugin tests</role> | |
113 | </roles> | |
114 | <timezone>-5</timezone> | |
115 | </contributor> | |
116 | <contributor> | |
117 | <name>Phil Crosby</name> | |
118 | <email /> | |
119 | <url /> | |
120 | <roles> | |
121 | <role /> | |
122 | </roles> | |
123 | <timezone>-5</timezone> | |
124 | </contributor> | |
125 | <contributor> | |
126 | <name>Peter Friese</name> | |
127 | <email /> | |
128 | <url /> | |
129 | <roles> | |
130 | <role>Eclipse plugin</role> | |
131 | </roles> | |
132 | <timezone>-5</timezone> | |
133 | </contributor> | |
134 | <contributor> | |
135 | <name>Dave Brosius</name> | |
136 | <email /> | |
137 | <url /> | |
138 | <roles> | |
139 | <role /> | |
140 | </roles> | |
141 | <timezone>-5</timezone> | |
142 | </contributor> | |
143 | <contributor> | |
144 | <name>Brian Goetz</name> | |
145 | <email /> | |
146 | <url /> | |
147 | <roles> | |
148 | <role /> | |
149 | </roles> | |
150 | <timezone>-5</timezone> | |
151 | </contributor> | |
152 | <contributor> | |
153 | <name>Rohan Lloyd</name> | |
154 | <email /> | |
155 | <url /> | |
156 | <roles> | |
157 | <role /> | |
158 | </roles> | |
159 | <timezone>-5</timezone> | |
160 | </contributor> | |
161 | <contributor> | |
162 | <name>Tagir Valeev</name> | |
163 | <email>lany@ngs.ru</email> | |
164 | <url /> | |
165 | <roles> | |
166 | <role /> | |
167 | </roles> | |
168 | <timezone>+6</timezone> | |
169 | </contributor> | |
170 | </contributors> | |
171 | ||
172 | <properties> | |
173 | <asmVersion>5.0.2</asmVersion> | |
174 | <junitVersion>4.11</junitVersion> | |
175 | </properties> | |
176 | ||
177 | <dependencies> | |
178 | <dependency> | |
179 | <groupId>net.jcip</groupId> | |
180 | <artifactId>jcip-annotations</artifactId> | |
181 | <version>1.0</version> | |
182 | </dependency> | |
183 | <dependency> | |
184 | <groupId>com.google.code.findbugs</groupId> | |
185 | <artifactId>jsr305</artifactId> | |
186 | <version>2.0.1</version> | |
187 | </dependency> | |
188 | <dependency> | |
189 | <groupId>com.google.code.findbugs</groupId> | |
190 | <artifactId>bcel-findbugs</artifactId> | |
191 | <version>6.0</version> | |
192 | </dependency> | |
193 | <dependency> | |
194 | <groupId>com.google.code.findbugs</groupId> | |
195 | <artifactId>jFormatString</artifactId> | |
196 | <version>2.0.1</version> | |
197 | </dependency> | |
198 | <dependency> | |
199 | <groupId>dom4j</groupId> | |
200 | <artifactId>dom4j</artifactId> | |
201 | <version>1.6.1</version> | |
202 | </dependency> | |
203 | <dependency> | |
204 | <groupId>org.apache.ant</groupId> | |
205 | <artifactId>ant</artifactId> | |
206 | <version>1.7.1</version> | |
207 | <scope>provided</scope> | |
208 | </dependency> | |
209 | <dependency> | |
210 | <groupId>org.ow2.asm</groupId> | |
211 | <artifactId>asm-debug-all</artifactId> | |
212 | <version>${asmVersion}</version> | |
213 | </dependency> | |
214 | <dependency> | |
215 | <groupId>org.ow2.asm</groupId> | |
216 | <artifactId>asm-commons</artifactId> | |
217 | <version>${asmVersion}</version> | |
218 | </dependency> | |
219 | <dependency> | |
220 | <groupId>commons-lang</groupId> | |
221 | <artifactId>commons-lang</artifactId> | |
222 | <version>2.6</version> | |
223 | </dependency> | |
224 | <dependency> | |
225 | <groupId>com.apple</groupId> | |
226 | <artifactId>AppleJavaExtensions</artifactId> | |
227 | <version>1.4</version> | |
228 | </dependency> | |
229 | <dependency> | |
230 | <groupId>junit</groupId> | |
231 | <artifactId>junit</artifactId> | |
232 | <version>${junitVersion}</version> | |
233 | <scope>test</scope> | |
234 | </dependency> | |
235 | <dependency> | |
236 | <groupId>jaxen</groupId> | |
237 | <artifactId>jaxen</artifactId> | |
238 | <version>1.1.6</version> | |
239 | <exclusions> | |
240 | <exclusion> | |
241 | <artifactId>icu4j</artifactId> | |
242 | <groupId>com.ibm.icu</groupId> | |
243 | </exclusion> | |
244 | </exclusions> | |
245 | </dependency> | |
246 | </dependencies> | |
247 | <build> | |
248 | <sourceDirectory>${basedir}/src/java</sourceDirectory> | |
249 | <testSourceDirectory>${basedir}/src/junit</testSourceDirectory> | |
250 | <resources> | |
251 | <resource> | |
252 | <directory>${basedir}/etc</directory> | |
253 | <includes> | |
254 | <include>*.xsd</include> | |
255 | <include>bugrank.txt</include> | |
256 | <include>findbugs.xml</include> | |
257 | <include>messages*.xml</include> | |
258 | </includes> | |
259 | </resource> | |
260 | <resource> | |
261 | <directory>${basedir}/src/xsl</directory> | |
262 | <includes> | |
263 | <include>*.xsl</include> | |
264 | </includes> | |
265 | </resource> | |
266 | <resource> | |
267 | <directory>${basedir}/src/antTask</directory> | |
268 | <includes> | |
269 | <include>**/*.xsl</include> | |
270 | <include>**/*.properties</include> | |
271 | <include>**/*.db</include> | |
272 | <include>**/*.png</include> | |
273 | <include>**/*.html</include> | |
274 | </includes> | |
275 | </resource> | |
276 | <resource> | |
277 | <directory>${basedir}/src/gui</directory> | |
278 | <includes> | |
279 | <include>**/*.xsl</include> | |
280 | <include>**/*.properties</include> | |
281 | <include>**/*.db</include> | |
282 | <include>**/*.png</include> | |
283 | <include>**/*.html</include> | |
284 | </includes> | |
285 | </resource> | |
286 | <resource> | |
287 | <directory>${basedir}/src/java</directory> | |
288 | <includes> | |
289 | <include>**/*.xsl</include> | |
290 | <include>**/*.properties</include> | |
291 | <include>**/*.db</include> | |
292 | <include>**/*.png</include> | |
293 | <include>**/*.html</include> | |
294 | </includes> | |
295 | </resource> | |
296 | </resources> | |
297 | <plugins> | |
298 | <plugin> | |
299 | <groupId>org.codehaus.mojo</groupId> | |
300 | <artifactId>build-helper-maven-plugin</artifactId> | |
301 | <version>1.9.1</version> | |
302 | <executions> | |
303 | <execution> | |
304 | <phase>generate-sources</phase> | |
305 | <goals><goal>add-source</goal></goals> | |
306 | <configuration> | |
307 | <sources> | |
308 | <source>src/antTask</source> | |
309 | <source>src/tools</source> | |
310 | <source>src/gui</source> | |
311 | </sources> | |
312 | </configuration> | |
313 | </execution> | |
314 | </executions> | |
315 | </plugin> | |
316 | <plugin> | |
317 | <groupId>org.apache.maven.plugins</groupId> | |
318 | <artifactId>maven-javadoc-plugin</artifactId> | |
319 | <version>2.9.1</version> | |
320 | </plugin> | |
321 | <plugin> | |
322 | <groupId>org.apache.maven.plugins</groupId> | |
323 | <artifactId>maven-compiler-plugin</artifactId> | |
324 | <version>3.0</version> | |
325 | <configuration> | |
326 | <source>1.7</source> | |
327 | <target>1.7</target> | |
328 | <excludes> | |
329 | <exclude>**/junit/**</exclude> | |
330 | <exclude>**/infonodeJava/**</exclude> | |
331 | <exclude>**/obsolete/**</exclude> | |
332 | </excludes> | |
333 | <testExcludes> | |
334 | <exclude>**/architecture/**</exclude> | |
335 | <exclude>**/cloud/**</exclude> | |
336 | <exclude>**/DetectorsTest.java</exclude> | |
337 | </testExcludes> | |
338 | </configuration> | |
339 | </plugin> | |
340 | <plugin> | |
341 | <groupId>org.apache.maven.plugins</groupId> | |
342 | <artifactId>maven-jar-plugin</artifactId> | |
343 | <version>2.4</version> | |
344 | <configuration> | |
345 | <archive> | |
346 | <manifestFile>${basedir}/etc/MANIFEST-findbugs.MF</manifestFile> | |
347 | </archive> | |
348 | </configuration> | |
349 | </plugin> | |
350 | </plugins> | |
351 | </build> | |
352 | ||
353 | <profiles> | |
354 | <profile> | |
355 | <id>deploy</id> | |
356 | <build> | |
357 | <plugins> | |
358 | <plugin> | |
359 | <groupId>org.apache.maven.plugins</groupId> | |
360 | <artifactId>maven-gpg-plugin</artifactId> | |
361 | <version>1.4</version> | |
362 | <executions> | |
363 | <execution> | |
364 | <id>sign-artifacts</id> | |
365 | <phase>install</phase> | |
366 | <goals> | |
367 | <goal>sign</goal> | |
368 | </goals> | |
369 | </execution> | |
370 | </executions> | |
371 | </plugin> | |
372 | </plugins> | |
373 | </build> | |
374 | </profile> | |
375 | </profiles> | |
376 | </project> |
5 | 5 | #JAVA_HOME = /usr/lib/jvm/default-java |
6 | 6 | |
7 | 7 | %: |
8 | dh $@ --with maven_repo_helper | |
8 | dh $@ --with maven-repo-helper | |
9 | 9 | |
10 | 10 | override_dh_auto_build: |
11 | 11 | ant docs build -Dant.java.version=1.8 |
15 | 15 | help2man -h "-textui" -v "-version" -n "Static Java Code Analyzer" ./bin/findbugs -o debian/findbugs.1 |
16 | 16 | |
17 | 17 | override_dh_auto_install: |
18 | dh_auto_install | |
19 | ||
18 | 20 | chmod -x $(CURDIR)/bin/findbugs.ico |
19 | 21 | |
20 | 22 | mkdir -p $(CURDIR)/debian/findbugs/usr/bin |
21 | 23 | |
22 | 24 | dh_install --sourcedir=$(CURDIR) |
23 | 25 | dh_link |
24 | ||
25 | mh_installpom -plibfindbugs-annotations-java debian/poms/findbugs-annotations.pom | |
26 | mh_installjar -plibfindbugs-annotations-java debian/poms/findbugs-annotations.pom \ | |
27 | --usj-name=findbugs-annotations -l lib/annotations.jar | |
28 | 26 | |
29 | 27 | override_dh_auto_clean: |
30 | 28 | rm -f $(CURDIR)/debian/findbugs.1 $(CURDIR)/debian/fb.1 |
36 | 34 | override_dh_auto_test: |
37 | 35 | ant test -Dant.java.version=1.8 |
38 | 36 | dh_auto_test |
39 |