
<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>
    <groupId>org.jvnet.ogc</groupId>
    <artifactId>ws-notification-schema</artifactId>
    <packaging>jar</packaging>
    <name>OASIS WS-Notification Schema</name>
    <parent>
        <groupId>org.jvnet.ogc</groupId>
        <artifactId>ws-notification</artifactId>
        <version>1.1.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
    <dependencies>
        <dependency>
            <groupId>org.jvnet.jaxb2_commons</groupId>
            <artifactId>jaxb2-basics-runtime</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sun.xml.bind</groupId>
            <artifactId>jaxb-impl</artifactId>
        </dependency>
        <dependency>
            <groupId>org.jvnet.ogc</groupId>
            <artifactId>ws-addressing-schema</artifactId>
            <version>${project.version}</version>
        </dependency> 
    </dependencies>
    <build>
        <defaultGoal>install</defaultGoal>
        <plugins>
            <plugin>
                <groupId>org.jvnet.jaxb2.maven2</groupId>
                <artifactId>maven-jaxb2-plugin</artifactId>
                <configuration>
                    <schemaIncludes>
                        <value>wsn/t-1.xsd</value>
                        <value>wsn/b-2_local.xsd</value>
                        <value>wsn/bf-2.xsd</value>
                        <value>wsn/br-2_local.xsd</value>
                        <value>wsn/ws-addr.xsd</value>
                        <value>wsn/xml.xsd</value>
                    </schemaIncludes>
                    <episodes>
                        <episode>
                            <groupId>org.jvnet.ogc</groupId>
                            <artifactId>ws-addressing-schema</artifactId>
                        </episode>                        
                    </episodes>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>process-sources</phase>
                        <configuration>
                            <tasks>
                                <delete dir="${basedir}/target/generated-sources/xjc/org/w3"/>
                            </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>