<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>
    <artifactId>ipf-commons-ihe-xacml20-model</artifactId>
    <name>ipf-commons-ihe-xacml20-model</name>
    <description>Support for XACML 2.0-based integration profiles: data types</description>


    <parent>
        <groupId>org.openehealth.ipf.commons</groupId>
        <artifactId>ipf-commons-ihe-xacml20</artifactId>
        <version>4.5.0</version>
    </parent>

    <dependencies>
        <dependency>
            <groupId>org.glassfish.jaxb</groupId>
            <artifactId>jaxb-runtime</artifactId>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <version>${jaxb-plugin-version}</version>
                <dependencies>
                    <dependency>
                        <groupId>org.glassfish.jaxb</groupId>
                        <artifactId>jaxb-jxc</artifactId>
                        <version>${jaxb-version}</version>
                    </dependency>
                    <dependency>
                        <groupId>org.glassfish.jaxb</groupId>
                        <artifactId>jaxb-runtime</artifactId>
                        <version>${jaxb-version}</version>
                    </dependency>
                </dependencies>
                <executions>
                    <execution>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>schemagen</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <sources>
                        <source>src/main/java/org/openehealth/ipf/commons/ihe/xacml20/model/CodeFirstSchema.java</source>
                    </sources>
                    <clearOutputDir>false</clearOutputDir>
                    <outputDirectory>${project.build.outputDirectory}</outputDirectory>
                    <createJavaDocAnnotations>false</createJavaDocAnnotations>
                    <locale>en</locale>
                    <transformSchemas>
                        <transformSchema>
                            <uri>http://www.openehealth.org/ipf/ppq</uri>
                            <toPrefix>ipf</toPrefix>
                            <toFile>ipf-ppq.xsd</toFile>
                        </transformSchema>
                        <transformSchema>
                            <uri>dummy</uri>
                            <toPrefix>dummy</toPrefix>
                            <toFile>dummy.xsd</toFile>
                        </transformSchema>
                    </transformSchemas>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
