XML Descriptor

# XML-Descriptor

Java library descriptor is a simple XML-file that specifies version number, paths to Java ARchives and optionally some other information.

Table of Contents Primary Sections Optional Sections Examples

## Primary Sections

    <version>
        /* Version of the library */
    </version>

    <archives>
        /* The list of paths to Java ARchives and/or
           directories with archives, one per line */
    </archives>

## Optional Sections

    <skip_packages>
        /* The list of packages, that
           should not be checked, one per line */
    </skip_packages>

    <packages>
        /* The list of packages, that
           should be checked, one per line.
           Other packages will not be checked. */
    </packages>

## Examples

JDO:

    <version>
        2.2
    </version>

    <archives>
        installed/jdo/2.2/jdo2-api-2.2.jar
    </archives>

JDK:

    <version>
        1.6.0
    </version>

    <archives>
        installed/jdk/1.6.0/jre/lib/jsse.jar
        installed/jdk/1.6.0/jre/lib/jce.jar
        installed/jdk/1.6.0/jre/lib/rt.jar
    </archives>

Jackrabbit:

    <version>
        2.2.8
    </version>

    <archives>
        installed/jackrabbit/2.2.8/jackrabbit-standalone-2.2.8.jar
    </archives>

    <skip_packages>
        org.apache.jackrabbit.core
        org.apache.jackrabbit.standalone.cli.core
        org.apache.jackrabbit.test
        x2006.main
    </skip_packages>

    <packages>
        org.apache.jackrabbit
        org.apache.jcr
    </packages>