<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">
  <modelVersion>4.0.0</modelVersion>
  
  <parent>
    <groupId>org.mule.modules</groupId>
    <artifactId>mule-module-workday-financials</artifactId>
    <version>4.1.1</version>
  </parent>
  
  <artifactId>mule-module-workday-professionalservicesautomation</artifactId>
  <packaging>mule-module</packaging>
  <name>Mule Workday Financials Connector - Professional Services Automation</name>
  <description>Mule Workday Financials Connector - Professional Services Automation</description>
  
    <build>
    <plugins>
      <plugin>
        <artifactId>cxf-codegen-plugin</artifactId>
        <groupId>org.apache.cxf</groupId>
        <version>${cxf.version}</version>
        <executions>
          <execution>
            <phase>validate</phase>
            <configuration>
              <wsdlOptions>
	              <wsdlOption>
                      <wsdl>${basedir}/src/main/resources/wsdl/${workday.version}/Professional_Services_Automation.wsdl</wsdl>
                      <extraargs>
                          <extraarg>-p</extraarg>
                          <extraarg>com.workday.professionalservices</extraarg>
                          <extraarg>-xjc-Xbg</extraarg>
                          <extraarg>-xjc-Xcollection-setter-injector</extraarg>
                          <extraarg>-exceptionSuper</extraarg>
                          <extraarg>java.lang.RuntimeException</extraarg>
                      </extraargs>
                      <bindingFiles>
                          <bindingFile>${basedir}/src/main/resources/binding.xml</bindingFile>
                      </bindingFiles>
                  </wsdlOption>
              </wsdlOptions>
            </configuration>
            <goals>
              <goal>wsdl2java</goal>
            </goals>
          </execution>
        </executions>
        <dependencies>
          <!-- Boolean getters -->
          <dependency>
              <groupId>org.apache.cxf.xjcplugins</groupId>
              <artifactId>cxf-xjc-boolean</artifactId>
              <version>2.6.0</version>
          </dependency>
          <!-- Collection Setters -->
          <dependency>
              <groupId>net.java.dev.vcc.thirdparty</groupId>
              <artifactId>collection-setter-injector</artifactId>
              <version>0.5.0-1</version>
          </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>
  
</project>
