<?xml version="1.0"?>
<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/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>org.connectopensource</groupId>
        <artifactId>Webservices</artifactId>
        <version>4.2.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>DirectWebservices</artifactId>
    <packaging>jar</packaging>
    <name>Direct Manager Web services</name>
    
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-codegen-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>process-resources</phase>
                        <configuration>
                            <defaultOptions>
                                <extraargs>
                                    <extraarg>-verbose</extraarg>
                                    <extraarg>-all</extraarg>
                                    <extraarg>-dns</extraarg>
                                    <extraarg>false</extraarg>
                                    <extraarg>-noTypes</extraarg>
                                    <extraarg>-mark-generated</extraarg>
                                    <!-- next two are a pair -->
                                    <extraarg>-wsdlLocation</extraarg>
                                    <extraarg />
                                    <extraarg>-p</extraarg>
                                    <extraarg>http://nhind.org/config=gov.hhs.fha.nhinc.direct.config</extraarg>
                                    <extraarg>-p</extraarg>
                                    <extraarg>http://nhind.org/config/exception=gov.hhs.fha.nhinc.direct.config.exception</extraarg>
                                    <extraarg>-p</extraarg>
                                    <extraarg>http://impl.service.config.nhindirect.org/=gov.hhs.fha.nhinc.direct.config.service</extraarg>
                                </extraargs>
                            </defaultOptions>
                        </configuration>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
