Imports
The <imports> element declares 0..n <import> instructions. Top-level import statements are restricted to uri-based import statements.
An <import> directive instructs the indexto include an external module definition into the library. Importing a module enables projects and resources declared within modules to reference resources as <dependencies> via <include> elements.
Import XML Element
<import uri="[module-uri]"/>
XML Attributes
uri | The required module artifact uri. |
Example
Example imports declaration.
<imports> <import uri="link:module:junit"/> <import uri="link:module:ant"/> </imports>
The above example includes module defintions for the JUnit and Ant modules into a library.