<?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>BroadleafCommerce</artifactId>
    <groupId>org.broadleafcommerce</groupId>
    <version>1.1.0-M2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.broadleafcommerce</groupId>
  <artifactId>BroadleafCommerceIntegrationTests</artifactId>
  <name>BroadleafCommerceIntegrationTests</name>
  <version>1.1.0-M2</version>
  <url>http://maven.apache.org</url>
  <build>
  	<plugins>
  		<plugin>
  			<groupId>org.apache.maven.plugins</groupId>
  			<artifactId>maven-antrun-plugin</artifactId>
  			<version>1.3</version>
  			<executions>
		        <!-- this ant script runs testng natively -->
		        <execution>
		          <id>testng</id>
		          <phase>test</phase>
		          <configuration>
		            <tasks unless="maven.test.skip">
		              <path id="test.path">
		              	<pathelement location="../BroadleafCommerceFramework/target/instrumented" />
		              	<pathelement location="../BroadleafCommerceFrameworkWeb/target/instrumented" />
		              	<pathelement location="../BroadleafCommerceProfile/target/instrumented" />
		              	<pathelement location="../BroadleafCommerceProfileWeb/target/instrumented" />
		              	<pathelement location="../BroadleafCommerceUSPS/target/instrumented" />
		              	<path refid="maven.test.classpath" />
		              	<pathelement location="../../BroadleafCommerceConfig/src" />
		              </path>
		              <taskdef resource="testngtasks" classpath="testng.jar" classpathref="test.path" />
		              <taskdef classpathref="test.path" resource="tasks.properties" />
		              <copy file="../BroadleafCommerceFramework/target/instrumented/cobertura.ser" tofile="target/instrumented/cobertura.ser" />
		              <cobertura-merge datafile="target/instrumented/cobertura.ser">
					    <fileset dir="../BroadleafCommerceFrameworkWeb/target/instrumented">
					        <include name="cobertura.ser" />
					    </fileset>
					    <fileset dir="../BroadleafCommerceProfile/target/instrumented">
					        <include name="cobertura.ser" />
					    </fileset>
					    <fileset dir="../BroadleafCommerceProfileWeb/target/instrumented">
					        <include name="cobertura.ser" />
					    </fileset>
					    <fileset dir="../BroadleafCommerceUSPS/target/instrumented">
					        <include name="cobertura.ser" />
					    </fileset>
					  </cobertura-merge>
		              <testng classpathref="test.path" outputdir="target/test-reports" haltonfailure="true">
		              	<jvmarg value="-Xmx512M" />
		                <sysproperty key="net.sourceforge.cobertura.datafile" file="target/instrumented/cobertura.ser" />
		                <xmlfileset dir="src/test/resources" includes="*testng.xml" />
		              </testng>
		              <junitreport todir="target/test-reports">
		                <fileset dir="target/test-reports">
		                  <include name="**/*.xml" />
		                </fileset>
		                <report format="noframes" todir="target/test-reports" />
		              </junitreport>
		              <cobertura-report format="html" destdir="target/cobertura-reports" datafile="target/instrumented/cobertura.ser">
			            <fileset dir="../BroadleafCommerceFramework/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceFrameworkWeb/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceProfile/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceProfileWeb/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceUSPS/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
				      </cobertura-report>
				      <cobertura-report format="xml" destdir="target/cobertura-reports" datafile="target/instrumented/cobertura.ser">
			            <fileset dir="../BroadleafCommerceFramework/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceFrameworkWeb/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceProfile/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceProfileWeb/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
			            <fileset dir="../BroadleafCommerceUSPS/src/main/java">
			                <include name="**/*.java" />
			                <exclude name="**/*.xml" />
			            </fileset>
				      </cobertura-report>
		            </tasks>
		          </configuration>
		          <goals><goal>run</goal></goals>
		        </execution>
		      </executions>
		      <dependencies>
		        <dependency>
		          <groupId>ant</groupId>
		          <artifactId>ant-junit</artifactId>
		          <version>1.6.2</version>
		        </dependency>
		      </dependencies>
  		</plugin>
  		<plugin>
	      <groupId>org.apache.maven.plugins</groupId>
	      <artifactId>maven-surefire-plugin</artifactId>
	      <configuration>
	        <skip>true</skip>
	      </configuration>
	    </plugin>
  	</plugins>
  </build>
  <dependencies>
  	<dependency>
  		<groupId>org.broadleafcommerce</groupId>
  		<artifactId>broadleaf-framework-web</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.broadleafcommerce</groupId>
  		<artifactId>broadleaf-framework</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.broadleafcommerce</groupId>
  		<artifactId>broadleaf-profile</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.broadleafcommerce</groupId>
  		<artifactId>broadleaf-profile-web</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.broadleafcommerce</groupId>
  		<artifactId>broadleaf-usps</artifactId>
  	</dependency>
  	<dependency>
  		<groupId>org.broadleafcommerce</groupId>
  		<artifactId>broadleaf-cybersource</artifactId>
  	</dependency>
  	<dependency>
    	<groupId>com.icegreen</groupId>
    	<artifactId>greenmail</artifactId>
    </dependency>
  	<dependency>
    	<groupId>org.easymock</groupId>
    	<artifactId>easymock</artifactId>
    </dependency>
  	<dependency>
    	<groupId>org.easymock</groupId>
    	<artifactId>easymockclassextension</artifactId>
    </dependency>
  	<dependency>
    	<groupId>org.testng</groupId>
    	<artifactId>testng</artifactId>
    	<type>jar</type>
	    <classifier>jdk15</classifier>
    </dependency>
    <dependency>
  		<groupId>cobertura</groupId>
  		<artifactId>cobertura</artifactId>
  	</dependency>
  	<dependency>
    	<groupId>org.springframework</groupId>
    	<artifactId>spring-test</artifactId>
    </dependency>
    <dependency>
    	<groupId>javax.servlet</groupId>
    	<artifactId>servlet-api</artifactId>
    </dependency>
    <dependency>
    	<groupId>javax.servlet.jsp</groupId>
    	<artifactId>jsp-api</artifactId>
    </dependency>
  	<dependency>
		<groupId>commons-dbcp</groupId>
		<artifactId>commons-dbcp</artifactId>
	</dependency>
	<dependency>
		<groupId>hsqldb</groupId>
		<artifactId>hsqldb</artifactId>
	</dependency>
	<dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
	</dependency>
  </dependencies>
</project>