<?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>
        <artifactId>sandbox</artifactId>
        <groupId>org.jboss.teiid.connectors</groupId>
        <version>7.7.0.CR1</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>connector-coherence</artifactId>
    <groupId>org.jboss.teiid.connectors.sandbox</groupId>
    <name>Coherence Connector</name>
    <version>7.7.0.CR1</version>
    <packaging>rar</packaging>
    <description>This connector reads data from a Coherence cache</description>
    <dependencies>
        <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-api</artifactId>
            <version>7.7.0.CR1</version>
             <scope>provided</scope>
        </dependency>
        
        <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-common-core</artifactId>  
            <version>7.7.0.CR1</version>
             <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.resource</groupId>
            <artifactId>connector-api</artifactId>
             <version>1.5</version>
              <scope>provided</scope>
        </dependency>
			<dependency>
				<groupId>javax.transaction</groupId>
                <artifactId>jta</artifactId>
				<version>1.1</version>
				<scope>provided</scope>
			</dependency>        
        
    	<dependency>
	      	<groupId>coherence</groupId>
    	  	<artifactId>coherence</artifactId>
    	  	<version>3.6.1</version>
     	 	<scope>system</scope>
      		<systemPath>${basedir}/lib/coherence.jar</systemPath>
   	    </dependency>  
   	    
   	    
   	 	<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>		
			<version>4.4</version>
			<scope>test</scope>
		</dependency>           
        
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <executions>
                    <execution>
                        <id>build_jar</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>deploy_jar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                        <configuration>
                            <classifier>lib</classifier>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
