<?xml version="1.0" encoding="UTF-8"?>
<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">

    <parent>
        <groupId>org.mule.tools.devkit</groupId>
        <artifactId>mule-devkit-parent</artifactId>
        <version>3.3.2</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>org.mule.modules</groupId>
    <artifactId>mule-module-sugarcrm</artifactId>
    <version>1.0.1</version>
    <packaging>mule-module</packaging>
    <name>Mule Sugar CRM Connector</name>

    <properties>
       <category>Standard</category>
       <licensePath>LICENSE.md</licensePath>
       <cxf.version>2.5.2</cxf.version>
       <mule.module.utils.version>1.1.2</mule.module.utils.version>
       <jersey.version>1.3</jersey.version>
       <ws.version>1.1</ws.version>
       <spring.version>3.1.1.RELEASE</spring.version>
       <devkit.studio.package.skip>false</devkit.studio.package.skip>
       <licm.version>1.1.2</licm.version>
    </properties>

    <build>
        <plugins>
<!--            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <autoVersionSubmodules>true</autoVersionSubmodules>
                    <pushChanges>false</pushChanges>
                </configuration>
                <version>2.2.2</version>
            </plugin>
-->
            <plugin>
		        <groupId>org.apache.maven.plugins</groupId>
		        <artifactId>maven-surefire-plugin</artifactId>
		        <version>2.12</version>
		        <configuration>
		          <excludes>
		            <exclude>**/*Driver*.java</exclude>
		          </excludes>
		        </configuration>
      		</plugin>
              <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.1</version>
                <executions>
                  <execution>
                    <!-- <id>add-source</id> -->
                    <phase>validate</phase>
                    <goals>
                      <goal>add-source</goal>
                    </goals>
                    <configuration>
                      <sources>
                        <source>src/main/generated</source>
                      </sources>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
        </plugins>
    </build>

	<dependencies>
        <dependency>
          <groupId>org.mule.modules</groupId>
          <artifactId>mule-module-scripting</artifactId>
          <version>3.2.0</version>
          <scope>test</scope>
        </dependency>

        <dependency>
          <groupId>com.mulesoft.modules</groupId>
          <artifactId>mule-modules-utils</artifactId>
          <version>${mule.module.utils.version}</version>
        </dependency>
        <dependency>
          <groupId>com.zaubersoftware</groupId>
          <artifactId>commons-ws</artifactId>
          <version>${ws.version}</version>
        </dependency>


        <!-- CXF -->
		<dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-api</artifactId>
            <version>${cxf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-transports-http</artifactId>
            <version>${cxf.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>${cxf.version}</version>
        </dependency>

    	<dependency>
    	    <groupId>org.springframework</groupId>
    	    <artifactId>spring-context</artifactId>
    	    <version>${spring.version}</version>
    	    <scope>provided</scope>
    	</dependency>

        <dependency>
           <groupId>aspectj</groupId>
           <artifactId>aspectjtools</artifactId>
           <version>1.5.3</version>
       </dependency>

        <dependency>
            <groupId>com.mulesoft.licm</groupId>
            <artifactId>licm</artifactId>
            <version>${licm.version}</version>
        </dependency>
	</dependencies>

    <repositories>
        <repository>
            <id>mulesoft-snapshots</id>
            <name>MuleSoft Snapshots Repository</name>
            <url>http://repository.mulesoft.org/snapshots/</url>
        </repository>
        
        <repository>
            <id>mulesoft-releases</id>
            <name>MuleSoft Releases Repository</name>
            <url>http://repository.mulesoft.org/releases/</url>
            <layout>default</layout>
        </repository>
        
        <repository>
            <id>mule-ee-releases</id>
            <name>Mule Release Repository</name>
            <url>http://dev.ee.mulesource.com/repository/content/repositories/releases/</url>
        </repository>
 
        <repository>
            <id>mule-ee-dependencies</id>
            <name>Mule EE Dependencies</name>
            <url>http://dev.ee.mulesource.com/repository/content/groups/mule-ee-dependencies/</url>
        </repository>
    </repositories>

    <scm>
        <connection>scm:git:git://github.com:mulesoft/sugarcrm-connector.git</connection>
        <developerConnection>scm:git:git@github.com:mulesoft/sugarcrm-connector.git</developerConnection>
        <url>http://github.com/mulesoft/sugarcrm-connector</url>
    </scm>
    
</project>
