<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.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>  
  <modelVersion>4.0.0</modelVersion>
  <groupId>info.archinnov</groupId>
  <artifactId>achilles</artifactId>
  <version>1.7.3</version>
  <packaging>jar</packaging>
  <description>A fully featured EntityManager for Cassandra</description>
  <inceptionYear>2012</inceptionYear>
  <name>achilles</name>
  <url>https://github.com/doanduyhai/achilles</url>

  <licenses>
	<license>
 		<name>Apache License, Version 2.0</name>
            	<url>http://www.apache.org/licenses/LICENSE-2.0</url>
            	<distribution>repo</distribution>
	</license>
  </licenses>

  <developers>
    <developer>
      <id>doanduyhai</id>
      <name>DuyHai DOAN</name>
      <email>doanduyhai@gmail.com</email>
      <url>http://doanduyhai.wordpress.com</url>
      <roles>
        <role>Lead Developer</role>
      </roles>
    </developer>
  </developers>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <cassandra.version>1.2.0</cassandra.version>
    <hector.version>1.1-2</hector.version>
    <cglib.version>2.2.2</cglib.version>
    <jackson.version>1.9.3</jackson.version>
            <!-- Maven plugins -->
     <maven.compiler.version>2.4</maven.compiler.version>
     <maven.enforcer.version>1.0.1</maven.enforcer.version>
     <maven.surefire.version>2.12</maven.surefire.version>
  </properties>

  <dependencies>        
        <dependency>
        	<groupId>org.apache.cassandra</groupId>
        	<artifactId>cassandra-all</artifactId>
        	<version>${cassandra.version}</version>
        	<exclusions>
        		<exclusion>
        			<artifactId>guava</artifactId>
        			<groupId>com.google.guava</groupId>
        		</exclusion>
        		<exclusion>
        			<artifactId>slf4j-api</artifactId>
        			<groupId>org.slf4j</groupId>
        		</exclusion>
        		<exclusion>
        			<artifactId>jackson-core-asl</artifactId>
        			<groupId>org.codehaus.jackson</groupId>
        		</exclusion>
        		<exclusion>
        			<artifactId>jackson-mapper-asl</artifactId>
        			<groupId>org.codehaus.jackson</groupId>
        		</exclusion>
        	</exclusions>
        </dependency>
        <dependency>
        	<groupId>org.apache.cassandra</groupId>
        	<artifactId>cassandra-thrift</artifactId>
        	<version>${cassandra.version}</version>
        </dependency>          
 		 <dependency>
 		 	<groupId>org.hectorclient</groupId>
 		 	<artifactId>hector-core</artifactId>
 		 	<version>${hector.version}</version>
 		 	<exclusions>
 		 		<exclusion>
 		 			<groupId>org.apache.cassandra</groupId>
 		 			<artifactId>cassandra-thrift</artifactId>
 		 		</exclusion>
        		<exclusion>
        			<groupId>org.slf4j</groupId>
        			<artifactId>slf4j-api</artifactId>
        		</exclusion>
 		 		<exclusion>
 		 			<groupId>com.google.guava</groupId>
 		 			<artifactId>guava</artifactId>
 		 		</exclusion>        		
 		 	</exclusions>	
 		 </dependency>
 		 <dependency>
		  <groupId>com.datastax.cassandra</groupId>
		  <artifactId>cassandra-driver-core</artifactId>
		  <version>1.0.0-beta2</version>
		  <exclusions>
			  <exclusion>
	 		 	<groupId>com.google.guava</groupId>
	 		 	<artifactId>guava</artifactId>
	 		  </exclusion>
 		  </exclusions>
		 </dependency>
 		 <dependency>
 		 	<groupId>commons-io</groupId>
 		 	<artifactId>commons-io</artifactId>
 		 	<version>2.4</version>
 		 </dependency>
 		 <dependency>
 		 	<groupId>cglib</groupId>
 		 	<artifactId>cglib-nodep</artifactId>
 		 	<version>${cglib.version}</version>
 		 </dependency>

		<!-- TEST  -->
        <dependency>
        	<groupId>org.easytesting</groupId>
        	<artifactId>fest-assert-core</artifactId>
        	<version>2.0M8</version>
        	<scope>test</scope>
        </dependency>        
	  	<dependency>
	  		<groupId>org.mockito</groupId>
	  		<artifactId>mockito-core</artifactId>
	  		<version>1.9.5</version>
	  		<scope>test</scope>
	  	</dependency>
 		 <dependency>
            <groupId>org.cassandraunit</groupId>
            <artifactId>cassandra-unit</artifactId>
            <version>1.1.2.1</version>
            <scope>test</scope>
            <exclusions>
            	<exclusion>
            		<artifactId>cassandra-all</artifactId>
            		<groupId>org.apache.cassandra</groupId>
            	</exclusion>
            	<exclusion>
            		<artifactId>hector-core</artifactId>
            		<groupId>org.hectorclient</groupId>
            	</exclusion>
            	<exclusion>
            		<artifactId>hector-core</artifactId>
            		<groupId>org.hectorclient</groupId>
            	</exclusion>
            </exclusions>
        </dependency>
 		 <dependency>
 		 	<groupId>junit</groupId>
 		 	<artifactId>junit</artifactId>
 		 	<version>4.10</version>
 		 	<scope>test</scope>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.easytesting</groupId>
 		 	<artifactId>fest-util</artifactId>
 		 	<version>1.2.3</version>
 		 	<scope>test</scope>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.powermock</groupId>
 		 	<artifactId>powermock-api-mockito</artifactId>
 		 	<version>1.5</version>
 		 	<scope>test</scope>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.codehaus.jackson</groupId>
 		 	<artifactId>jackson-core-asl</artifactId>
 		 	<version>${jackson.version}</version>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.codehaus.jackson</groupId>
 		 	<artifactId>jackson-mapper-asl</artifactId>
 		 	<version>${jackson.version}</version>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.codehaus.jackson</groupId>
 		 	<artifactId>jackson-xc</artifactId>
 		 	<version>${jackson.version}</version>
 		 </dependency>
 		 <dependency>
 		 	<groupId>commons-collections</groupId>
 		 	<artifactId>commons-collections</artifactId>
 		 	<version>3.2.1</version>
 		 </dependency>
 		 <dependency>
 		 	<groupId>com.google.guava</groupId>
 		 	<artifactId>guava</artifactId>
 		 	<version>13.0</version>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.springframework</groupId>
 		 	<artifactId>spring-beans</artifactId>
 		 	<version>3.2.0.RELEASE</version>
 		 	<scope>provided</scope>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.springframework</groupId>
 		 	<artifactId>spring-context</artifactId>
 		 	<version>3.2.0.RELEASE</version>
 		 	<scope>provided</scope>
 		 </dependency>
 		 <dependency>
 		 	<groupId>org.hibernate.javax.persistence</groupId>
 		 	<artifactId>hibernate-jpa-2.0-api</artifactId>
 		 	<version>1.0.1.Final</version>
 		 </dependency>
  </dependencies>
<build>
  	<finalName>achilles</finalName>
    <plugins>
          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>${maven.compiler.version}</version>
              <configuration>
                  <source>1.6</source>
                  <target>1.6</target>
              </configuration>
          </plugin>
  			<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <version>${maven.enforcer.version}</version>
                <executions>
                    <execution>
                        <id>enforce-versions</id>
                        <goals>
                            <goal>enforce</goal>
                        </goals>
                        <configuration>
                            <rules>
                                <requireMavenVersion>
                                    <version>[3.0.4,)</version>
                                </requireMavenVersion>
                                <requireJavaVersion>
                                    <version>[1.6.0,)</version>
                                </requireJavaVersion>
                            </rules>
                        </configuration>
                    </execution>
                </executions>
            </plugin>      
			 <plugin>
			        <groupId>org.apache.maven.plugins</groupId>
			        <artifactId>maven-gpg-plugin</artifactId>
			        <executions>
			          <execution>
			            <id>sign-artifacts</id>
			            <phase>verify</phase>
			            <goals>
			              <goal>sign</goal>
			            </goals>
			          </execution>
			        </executions>
			      </plugin>                
			<plugin>
            	<groupId>org.apache.maven.plugins</groupId>
            	<artifactId>maven-surefire-plugin</artifactId>
            	<version>${maven.surefire.version}</version>
				<configuration>			
					<includes>
						<include>**/info/archinnov/**/*.java</include>
						<include>**/integration/tests/*.java</include>
					</includes>	 
				</configuration>
          	</plugin>		  
        <plugin>
      		<groupId>org.apache.maven.plugins</groupId>
      		<artifactId>maven-site-plugin</artifactId>
      		<version>3.0</version>
      		<configuration>
      			<reportPlugins>
					<plugin>
            			<groupId>org.apache.maven.plugins</groupId>
            			<artifactId>maven-surefire-plugin</artifactId>
            			<version>2.12</version>
						<configuration>			
							<includes>
								<include>**/info/archinnov/**/*.java</include>
								<include>**/integration/tests/*.java</include>
							</includes>	 
						</configuration>
          			</plugin>
					<plugin>
			            <groupId>org.codehaus.mojo</groupId>
			            <artifactId>cobertura-maven-plugin</artifactId>
			            <version>2.4</version>
			            <configuration>
			              <formats>
			                <format>xml</format>
			                <format>html</format>
			              </formats>
			            </configuration>
			          </plugin>	          						      		   	      			
      			</reportPlugins>
      		</configuration>
      	</plugin>	    
    </plugins> 
  </build>  
	<scm>
		<url>https://github.com/doanduyhai/achilles</url>
		<connection>scm:git:git@github.com:doanduyhai/Achilles</connection>
		<developerConnection>scm:git:git@github.com:doanduyhai/Achilles</developerConnection>
	</scm>
	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/doanduyhai/achilles/issues</url>
	</issueManagement>
	<repositories>
		<repository>
			<id>sonatype-nexus-snapshots</id>
			<name>OSS Snapshot</name>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</repository>
	</repositories>
</project>