<?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>site</artifactId>
		<groupId>org.broadleafcommerce</groupId>
		<version>1.5.0-M2</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.broadleafcommerce</groupId>
	<artifactId>broadleaf-demo</artifactId>
	<packaging>war</packaging>
	<name>BroadleafCommerceDemo</name>
	<version>1.5.0-M2</version>
	<url>http://maven.apache.org</url>
	<properties>
		<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
	</properties>
	<build>
		<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
		<finalName>broadleafdemo</finalName>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>gwt-maven-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>compile</goal>
							<goal>test</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<style>DETAILED</style>
					<modules>
						<module>org.broadleafcommerce.gwt.demoAdmin</module>
					</modules>
					<inplace>false</inplace>
					<hostedWebapp>${webappDirectory}</hostedWebapp>
					<bindAddress>0.0.0.0</bindAddress>
					<debugPort>8001</debugPort>
					<runTarget>admin.html</runTarget>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<executions>
		          <execution>
		            <phase>compile</phase>
		            <goals>
		              <goal>exploded</goal>
		            </goals>
		          </execution>
		        </executions>
		        <configuration>
		          <webappDirectory>${webappDirectory}</webappDirectory>
		        </configuration>
			</plugin>
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>maven-jetty-plugin</artifactId>
				<version>6.1.22</version>
				<configuration>
					<webAppSourceDirectory>${webappDirectory}</webAppSourceDirectory>
					<contextPath>/broadleafdemo</contextPath>
					<scanIntervalSeconds>10</scanIntervalSeconds>
					<stopPort>9966</stopPort>
          			<stopKey>foo</stopKey>
					<connectors>
						<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
							<port>8080</port>
							<maxIdleTime>60000</maxIdleTime>
						</connector>
					</connectors>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.zeroturnaround</groupId>
				<artifactId>javarebel-maven-plugin</artifactId>
				<configuration>
    				<packaging>war</packaging>
    				<relativePath>../../</relativePath>
					<rootPath>$${rebel.root}</rootPath>
    			</configuration>
				<executions>
					<execution>
						<id>generate-rebel-xml</id>
						<phase>process-resources</phase>
						<goals>
							<goal>generate</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-framework-web</artifactId>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-usps</artifactId>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-profile</artifactId>
			<classifier>sources</classifier>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-admin-module</artifactId>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-admin-module</artifactId>
			<classifier>sources</classifier>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-open-admin-platform</artifactId>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-open-admin-platform</artifactId>
			<classifier>sources</classifier>
			<exclusions>
				<exclusion>
					<groupId>cobertura</groupId>
					<artifactId>cobertura</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>hsqldb</groupId>
			<artifactId>hsqldb</artifactId>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>commons-dbcp</groupId>
			<artifactId>commons-dbcp</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.tiles</groupId>
			<artifactId>tiles-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.tiles</groupId>
			<artifactId>tiles-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.tiles</groupId>
			<artifactId>tiles-jsp</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.annotation</groupId>
			<artifactId>jsr250-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-instrument</artifactId>
		</dependency>
		<dependency>
			<groupId>com.icegreen</groupId>
			<artifactId>greenmail</artifactId>
			<version>1.3</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
	</dependencies>
</project>