<?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>translator-coherence</artifactId>
    <groupId>org.jboss.teiid.connectors.sandbox</groupId>
    <version>7.7.0.CR1</version>
    <name>Coherence Translator</name>
    <description>This is the tranlator for a Coherence connector</description>

    <dependencies>
    
         <dependency>
        	<artifactId>connector-coherence</artifactId>
    		<groupId>org.jboss.teiid.connectors.sandbox</groupId>
    		<version>7.7.0.CR1</version>
    		<scope>compile</scope>
			<classifier>lib</classifier>
        </dependency>   
			<dependency>
				<groupId>org.jboss.teiid</groupId>
				<artifactId>teiid-common-core</artifactId>
				<version>${project.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.teiid</groupId>
				<artifactId>teiid-common-core</artifactId>
				<type>test-jar</type>
				<version>${project.version}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.jboss.teiid</groupId>
				<artifactId>teiid-api</artifactId>
				<version>7.7.0.CR1</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.teiid</groupId>
				<artifactId>teiid-api</artifactId>
				<type>test-jar</type>
				<version>${project.version}</version>
				<scope>test</scope>
			</dependency>
        	<dependency>
				<groupId>org.jboss.teiid</groupId>
				<artifactId>teiid-engine</artifactId>
				<type>test-jar</type>
				<version>${project.version}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.jboss.teiid</groupId>
				<artifactId>teiid-metadata</artifactId>
				<type>test-jar</type>
				<version>7.7.0.CR1</version>
				<scope>test</scope>
			</dependency>
        
       <!--   
        <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-api</artifactId>
            <version>7.7.0.CR1</version>
        </dependency>
        <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-common-core</artifactId>
            <version>7.7.0.CR1</version>
        </dependency>
        -->
        <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-engine</artifactId>
            <version>7.7.0.CR1</version>
        </dependency>  
        <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-metadata</artifactId>
            <version>7.7.0.CR1</version>
        </dependency>    
         <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-runtime</artifactId>
            <version>7.7.0.CR1</version>
        </dependency>   
         <dependency>
            <groupId>org.jboss.teiid</groupId>
            <artifactId>teiid-client</artifactId>
            <version>7.7.0.CR1</version>
        </dependency>             

        <dependency>
            <groupId>javax.resource</groupId>
            <artifactId>connector-api</artifactId>
             <version>1.5</version>
        </dependency>
        
    	<dependency>
	      	<groupId>coherence</groupId>
    	  	<artifactId>coherence</artifactId>
    	  	<version>3.6.1</version>
     	 	<scope>system</scope>
      		<systemPath>${basedir}/../connector-coherence/lib/coherence.jar</systemPath>
   	    </dependency> 
		
   	 	<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.4</version>
			<scope>test</scope>
		</dependency> 	
		
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.5</version>
			<scope>test</scope>
		</dependency>	
		
            <dependency>
                <groupId>org.jboss.man</groupId>
                <artifactId>jboss-managed</artifactId>
                <version>2.1.0.SP1</version>
            </dependency>  	
            							
            <dependency>    
                <groupId>org.jboss</groupId>
                <artifactId>jboss-vfs</artifactId>
                <version>2.1.2.GA</version>
            </dependency>  
            
 			<dependency>
				<groupId>javax.transaction</groupId>
                <artifactId>jta</artifactId>
				<version>1.1</version>
			</dependency>                  							
    </dependencies>

    	<build>
	<!-- This section defines the default plugin settings inherited by child projects. -->
		<pluginManagement>
			<plugins>
		<!-- Fixes how test resources of a project can be used in projects dependent on it  -->
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jar-plugin</artifactId>
					<version>2.2</version>
				</plugin>
				<plugin>
				  <artifactId>maven-assembly-plugin</artifactId>
				  <version>2.2-beta-6-m1-jboss</version>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
	  <!-- Specify the compiler options and settings -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<showDeprecation>false</showDeprecation>
					<showWarnings>false</showWarnings>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<includes>
						<include>**/*TestCase.java</include>
						<include>**/*Test.java</include>
						<include>**/Test*.java</include>
					</includes>
					<excludes>
						<exclude>**/Abstract*TestCase.java</exclude>
			<!-- hack to prevent anonymous inner classes in Tests from being run as tests -->
						<include>**/Test*$*.java</include>
					</excludes>
					<systemProperties>
						<property>
							<name>user.dir</name>
							<value>${basedir}/target</value>
						</property>
						<property>
							<name>java.io.tmpdir</name>
							<value>${basedir}/target</value>
						</property>
					</systemProperties>
				</configuration>
			</plugin>
      <!-- 
      Build a test-jar for each project, so that src/test/* resources and classes can be used
      in other projects.  Also customize how the jar files are assembled.
      -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<archive>
						<manifest>
							<addDefaultSpecificationEntries> true</addDefaultSpecificationEntries>
							<addDefaultImplementationEntries> true</addDefaultImplementationEntries>
						</manifest>
						<manifestEntries>
							<Implementation-URL>${project.url}</Implementation-URL>
						</manifestEntries>
					</archive>
				</configuration>
			</plugin>

		</plugins>
	</build>
    

</project>
