<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-hl7v3</artifactId>
    <name>ipf-commons-ihe-hl7v3</name>
    <description>HL7v3-specific IHE support</description>

    <parent>
        <groupId>org.openehealth.ipf.commons</groupId>
        <artifactId>ipf-commons-ihe</artifactId>
        <version>3.0.0</version>
    </parent>

    <properties>
        <osgi.import.pkg>
            groovy.util,
            groovy.xml,
            org.joda.time,
            org.joda.time.format,
            org.openehealth.ipf.modules.hl7.message,
            ca.uhn.hl7v2.model,
            org.slf4j.*;version="[1.6,2)",
            *
        </osgi.import.pkg>
        <osgi.export.pkg>
            org.openehealth.ipf.commons.ihe.hl7v3.*,
            '=schema.HL7V3.NE2008.coreschemas',
            '=schema.HL7V3.NE2008.multicacheschemas',
            schematron.*,
            wsdl.*
        </osgi.export.pkg>
        <osgi.fragment.host>org.apache.cxf.cxf-core</osgi.fragment.host>
    </properties>
    
    <dependencies>
        <!-- Dependencies for main -->
        <dependency>
            <groupId>org.openehealth.ipf.commons</groupId>
            <artifactId>ipf-commons-ihe-hl7v2</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.openehealth.ipf.commons</groupId>
            <artifactId>ipf-commons-ihe-ws</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.openehealth.ipf.commons</groupId>
            <artifactId>ipf-commons-xml</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
        </dependency>        

        <!-- Dependencies for test -->
        <dependency>
            <artifactId>xmlunit</artifactId>
            <groupId>xmlunit</groupId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
        </dependency>
        <dependency>
            <groupId>org.openehealth.ipf.gazelle</groupId>
            <artifactId>ipf-gazelle-validation-profiles-iti-pixpdq</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>


    <distributionManagement>
        <site>
            <id>${site.deploy.id}</id>
            <url>${site.deploy.url}${project.artifactId}</url>
        </site>
    </distributionManagement>

</project>