File: 0004-optional-maven-dependencies.patch

package info (click to toggle)
ant-contrib 1.0~b3%2Bsvn177-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,008 kB
  • sloc: java: 12,697; xml: 2,674; makefile: 7
file content (46 lines) | stat: -rw-r--r-- 1,518 bytes parent folder | download | duplicates (3)
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
41
42
43
44
45
46
Description: Mark the Maven dependencies as optional to match the package dependencies and the POM deployed on Maven Central
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/pom.xml
+++ b/pom.xml
@@ -207,27 +207,32 @@
        <groupId>ant</groupId>
        <artifactId>ant</artifactId>
         <version>1.6.5</version>
+       <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>ant</groupId>
        <artifactId>ant-launcher</artifactId>
         <version>1.6.5</version>
 		<scope>test</scope>
+       <scope>provided</scope>
    </dependency>
     <dependency>
         <groupId>bcel</groupId>
         <artifactId>bcel</artifactId>
          <version>5.1</version>
+        <optional>true</optional>
     </dependency>
     <dependency>
         <groupId>xerces</groupId>
         <artifactId>xercesImpl</artifactId>
          <version>2.8.1</version>
+        <optional>true</optional>
     </dependency>	
     <dependency>
         <groupId>commons-httpclient</groupId>
         <artifactId>commons-httpclient</artifactId>
          <version>3.0.1</version>
+        <optional>true</optional>
     </dependency>	
 	<!--  could not find a copy of Ivy in M2's repository,
 	      download http://www.jayasoft.org/downloads/ivy/1.4.1/ivy-1.4.1.jar
@@ -237,6 +242,7 @@
         <groupId>jayasoft</groupId>
         <artifactId>ivy</artifactId>
          <version>1.4.1</version>
+       <scope>provided</scope>
     </dependency>	
   <dependency>
     <groupId>junit</groupId>