File: managing_test_dependency.patch

package info (click to toggle)
libapfloat-java 1.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,720 kB
  • sloc: java: 63,075; xml: 1,194; sh: 103; makefile: 13
file content (40 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Substituting old type "test-jar" with classifier "tests".
 Discussed on https://github.com/mtommila/apfloat/issues/13, this seems to be
 a Debian-only issue.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2020-07-14

--- a/apfloat-aparapi/pom.xml
+++ b/apfloat-aparapi/pom.xml
@@ -34,7 +34,7 @@
     <dependency>
       <groupId>org.apfloat</groupId>
       <artifactId>apfloat</artifactId>
-      <type>test-jar</type>
+      <classifier>tests</classifier>
       <scope>test</scope>
     </dependency>
   </dependencies>
--- a/pom.xml
+++ b/pom.xml
@@ -75,7 +75,7 @@
       <dependency>
         <groupId>org.apfloat</groupId>
         <artifactId>apfloat</artifactId>
-        <type>test-jar</type>
+        <classifier>tests</classifier>
         <version>${project.version}</version>
       </dependency>
       <dependency>
--- a/apfloat-jscience/pom.xml
+++ b/apfloat-jscience/pom.xml
@@ -34,7 +34,7 @@
     <dependency>
       <groupId>org.apfloat</groupId>
       <artifactId>apfloat</artifactId>
-      <type>test-jar</type>
+      <classifier>tests</classifier>
       <scope>test</scope>
     </dependency>
   </dependencies>