| 1 | Description: Mark the Maven dependencies as optional to match the package dependencies and the POM deployed on Maven Central |
| 2 | Author: Emmanuel Bourg <[email protected]> |
| 3 | Forwarded: no |
| 4 | --- a/pom.xml |
| 5 | +++ b/pom.xml |
| 6 | @@ -207,27 +207,32 @@ |
| 7 | <groupId>ant</groupId> |
| 8 | <artifactId>ant</artifactId> |
| 9 | <version>1.6.5</version> |
| 10 | + <scope>provided</scope> |
| 11 | </dependency> |
| 12 | <dependency> |
| 13 | <groupId>ant</groupId> |
| 14 | <artifactId>ant-launcher</artifactId> |
| 15 | <version>1.6.5</version> |
| 16 | <scope>test</scope> |
| 17 | + <scope>provided</scope> |
| 18 | </dependency> |
| 19 | <dependency> |
| 20 | <groupId>bcel</groupId> |
| 21 | <artifactId>bcel</artifactId> |
| 22 | <version>5.1</version> |
| 23 | + <optional>true</optional> |
| 24 | </dependency> |
| 25 | <dependency> |
| 26 | <groupId>xerces</groupId> |
| 27 | <artifactId>xercesImpl</artifactId> |
| 28 | <version>2.8.1</version> |
| 29 | + <optional>true</optional> |
| 30 | </dependency> |
| 31 | <dependency> |
| 32 | <groupId>commons-httpclient</groupId> |
| 33 | <artifactId>commons-httpclient</artifactId> |
| 34 | <version>3.0.1</version> |
| 35 | + <optional>true</optional> |
| 36 | </dependency> |
| 37 | <!-- could not find a copy of Ivy in M2's repository, |
| 38 | download http://www.jayasoft.org/downloads/ivy/1.4.1/ivy-1.4.1.jar |
| 39 | @@ -237,6 +242,7 @@ |
| 40 | <groupId>jayasoft</groupId> |
| 41 | <artifactId>ivy</artifactId> |
| 42 | <version>1.4.1</version> |
| 43 | + <scope>provided</scope> |
| 44 | </dependency> |
| 45 | <dependency> |
| 46 | <groupId>junit</groupId> |