- Documentation (2.5.1-local-20221102182706)
- Release Notes
- Tutorials
- Reference
- Introduction
- Settings Files
- Ivy Files
- Ant Tasks
- artifactproperty
- artifactreport
- buildlist
- buildnumber
- buildobr
- cachefileset
- cachepath
- checkdepsupdate
- cleancache
- configure
- convertmanifest
- convertpom
- deliver
- dependencytree
- findrevision
- fixdeps
- info
- install
- listmodules
- makepom
- post resolve tasks
- publish
- report
- repreport
- resolve
- resources
- retrieve
- settings
- var
- Using standalone
- OSGi
- Developer doc
exclude
Tag: exclude Parent: dependencies
[since 2.0]
This feature gives you more control on a dependency for which you do not control its Ivy file. It allows to exclude artifacts, modules or organizations from the list of dependencies for the whole module.
It is very similar to the dependency exclude element, except that it applies to a whole module, which can be very useful when a lot of dependencies transitively bring a module you don’t want.
Attributes
Attribute | Description | Required |
---|---|---|
org |
the organization of the dependency module or artifact to exclude, or a regexp matching this organization |
No, defaults to |
module |
the name of the dependency module or the artifact to exclude, or a regexp matching this module name |
No, defaults to |
artifact |
the name of an artifact of the dependency module to add to the exclude list, or an expression matching this name (see |
No, defaults to |
type |
the type of the artifact of the dependency module to add to the exclude list, or a regexp matching this name |
No, defaults to |
ext |
the extension of the artifact of the dependency module to add to the exclude list, or an expression matching this name (see |
No, defaults to the value of |
matcher |
the matcher to use to match the modules to excludes |
No, defaults to |
conf |
comma separated list of the master configurations in which this artifact should be included.
|
No, defaults to |