File: 02-scram-optional.patch

package info (click to toggle)
libpgjava 42.7.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,820 kB
  • sloc: java: 77,092; xml: 274; makefile: 58; sh: 16
file content (17 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Setting the scope in debian/maven.rules does not propagate the setting to
/usr/share/maven-repo/org/postgresql/postgresql/debian/postgresql-debian.pom,
so patch it manually here
Bug: #900615

--- a/pom.xml
+++ b/pom.xml
@@ -57,7 +57,8 @@
         <dependency>
             <groupId>com.ongres.scram</groupId>
             <artifactId>scram-client</artifactId>
-            <version>3.2</version>
+            <version>debian</version>
+            <optional>true</optional>
         </dependency>
         <dependency>
             <groupId>org.junit.jupiter</groupId>