[GRADLE-1204] Support translation of config-level exclude rules to POM <exclusions> Created: 03/Nov/10  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.9.1
Fix Version/s: 0.9-rc-3

Type: New Feature
Reporter: Andrew Phillips Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

Currently, as documented, only dependency-level exclude rules are processed in the Maven POM [1]. It would be useful to be able to convert configuration-level exclude rules as well.

The code changes to implement this [2], as well as a modified sample project [3] to demonstrate, are available in the following fork:

https://github.com/demobox/gradle

The fork also includes a fix to ensure the XmlTransformerTest works on Windows [4].

Please email demobox1 [at] yahoo [dot] co [dot] uk if a pull request would be useful.

[1] http://www.gradle.org/0.9-preview-1/docs/userguide/userguide_single.html, "30.6.4.2. Dependency mapping"
[2] https://github.com/demobox/gradle/commit/dbb9ed1fd43d4dccd9fccebd65d5b150d787a8ac
[3] https://github.com/demobox/gradle/commit/bb0104dbf12b98aead7e37232695397948902a03
[4] https://github.com/demobox/gradle/commit/2f64419c3d99315a776290efd43ec0f65233da34



 Comments   
Comment by Andrew Phillips [ 03/Nov/10 ]

@Hans: I've been in touch with Adam about this issue, so if there are any questions he should know a bit more

Comment by Adam Murdoch [ 11/Nov/10 ]

Applied. Thank you for the patch.

Generated at Wed Jun 30 11:49:38 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.