<?xml version="1.0"?>
<!--
/*************************************************************************
 *
 * ADOBE CONFIDENTIAL
 * __________________
 *
 *  Copyright 2011 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 * NOTICE:  All information contained herein is, and remains
 * the property of Adobe Systems Incorporated and its suppliers,
 * if any.  The intellectual and technical concepts contained
 * herein are proprietary to Adobe Systems Incorporated and its
 * suppliers and may be covered by U.S. and Foreign Patents,
 * patents in process, and are protected by trade secret or copyright law.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe Systems Incorporated.
 **************************************************************************/
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.adobe.granite</groupId>
        <artifactId>parent</artifactId>
        <version>7</version>
        <relativePath>../../parent</relativePath>
    </parent>

    <artifactId>com.adobe.granite.fragment.xml</artifactId>
    <version>0.1.0</version>
    <packaging>jar</packaging>

    <name>Adobe Granite System Bundle Extension: XML APIs</name>
    <description>
        Adds the XML API packages to the system bundle exports.
        The list of packages is derived from the packages available
        in the Java 6 platform. To use more recent XML APIs either
        modify this bundle to also export those package from the
        platform or install respective API bundles.
    </description>

    <scm>
        <connection>scm:svn:http://svn.day.com/repos/granite/tags/com.adobe.granite.fragment.xml-0.1.0</connection>
        <developerConnection>scm:svn:http://svn.day.com/repos/granite/tags/com.adobe.granite.fragment.xml-0.1.0</developerConnection>
        <url>http://svn.day.com/repos/granite/tags/com.adobe.granite.fragment.xml-0.1.0</url>
    </scm>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <executions>
                    <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>manifest</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <instructions>
                        <Fragment-Host>
                            system.bundle;extension:=framework
                        </Fragment-Host>
                    </instructions>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <forceCreation>true</forceCreation>
                    <archive>
                        <manifestFile>
                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
                        </manifestFile>
                        <manifestEntries>
                            <Export-Package>
                                javax.xml,
                                javax.xml.bind,
                                javax.xml.bind.annotation,
                                javax.xml.bind.annotation.adapters,
                                javax.xml.bind.attachment,
                                javax.xml.bind.helpers,
                                javax.xml.bind.util,
                                javax.xml.crypto,
                                javax.xml.crypto.dom,
                                javax.xml.crypto.dsig,
                                javax.xml.crypto.dsig.dom,
                                javax.xml.crypto.dsig.keyinfo,
                                javax.xml.crypto.dsig.spec,
                                javax.xml.datatype,
                                javax.xml.namespace,
                                javax.xml.parsers,
                                javax.xml.soap,
                                javax.xml.stream,
                                javax.xml.stream.events,
                                javax.xml.stream.util,
                                javax.xml.transform,
                                javax.xml.transform.dom,
                                javax.xml.transform.sax,
                                javax.xml.transform.stax,
                                javax.xml.transform.stream,
                                javax.xml.validation,
                                javax.xml.ws,
                                javax.xml.ws.handler,
                                javax.xml.ws.handler.soap,
                                javax.xml.ws.http,
                                javax.xml.ws.soap,
                                javax.xml.ws.spi,
                                javax.xml.xpath,
                                org.w3c.dom,
                                org.w3c.dom.bootstrap,
                                org.w3c.dom.css,
                                org.w3c.dom.events,
                                org.w3c.dom.html,
                                org.w3c.dom.ls,
                                org.w3c.dom.ranges,
                                org.w3c.dom.stylesheets,
                                org.w3c.dom.traversal,
                                org.w3c.dom.views,
                                org.w3c.dom.xpath,
                                org.xml.sax,
                                org.xml.sax.ext,
                                org.xml.sax.helpers
                            </Export-Package>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
