<?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/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.broadleafcommerce</groupId>
	<artifactId>broadleafcommerce-boot-starter-admin</artifactId>
	<version>5.0.0-BOOT-SNAPSHOT</version>
	<packaging>jar</packaging>
	<name>BroadleafCommerce Admin Starter</name>

	<licenses>
		<license>
			<name>Broadleaf Fair Use 1.0</name>
			<url>http://license.broadleafcommerce.org/fair_use_license-1.0.txt</url>
			<distribution>repo</distribution>
			<comments>Fair Use Community License</comments>
		</license>
		<license>
			<name>Broadleaf End User License Agreement 1.1</name>
			<url>http://license.broadleafcommerce.org/commercial_license-1.1.txt</url>
			<distribution>repo</distribution>
			<comments>Commercial License Applicable When Bounds of Fair Use License Are Exceeded</comments>
		</license>
	</licenses>

	<developers>
		<developer>
			<id>architect</id>
			<email>architect@broadleafcommerce.org</email>
			<organization>Broadleaf Commerce</organization>
			<organizationUrl>http://www.broadleafcommerce.org</organizationUrl>
			<timezone>-6</timezone>
		</developer>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<maven.compiler.source>1.7</maven.compiler.source>
		<maven.compiler.target>1.7</maven.compiler.target>
		<database.starter.version>5.0.0-BOOT-SNAPSHOT</database.starter.version>
		<broadleaf.bom.version>5.0.0-BOOT-SNAPSHOT</broadleaf.bom.version>
		<spring.boot.version>1.3.5.RELEASE</spring.boot.version>
		<project.uri>${project.baseUri}</project.uri>
	</properties>

	<scm>
		<connection>scm:git:git@github.com:BroadleafCommerce/AdminStarter.git</connection>
		<developerConnection>scm:git:git@github.com:BroadleafCommerce/AdminStarter.git</developerConnection>
		<url>https://github.com/BroadleafCommerce/AdminStarter</url>
		<tag>HEAD</tag>
	</scm>

	<distributionManagement>
		<snapshotRepository>
			<id>snapshots</id>
			<url>http://nexus.broadleafcommerce.org/nexus/content/repositories/framework-snapshots/</url>
		</snapshotRepository>
		<repository>
			<id>releases</id>
			<url>http://nexus.broadleafcommerce.org/nexus/content/repositories/framework-releases/</url>
		</repository>
	</distributionManagement>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.zeroturnaround</groupId>
					<artifactId>jrebel-maven-plugin</artifactId>
					<version>1.1.3</version>
					<dependencies>
						<dependency>
							<groupId>org.codehaus.plexus</groupId>
							<artifactId>plexus-utils</artifactId>
							<version>1.4.1</version>
							<scope>runtime</scope>
						</dependency>
					</dependencies>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>1.8</version>
				<configuration>
					<verbose>false</verbose>
					<addSvnKeyWords>false</addSvnKeyWords>
					<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
					<organizationName>Broadleaf Commerce</organizationName>
					<inceptionYear>2009</inceptionYear>
					<licenseName>blc_dual</licenseName>
					<licenseResolver>${project.uri}/licenses</licenseResolver>
					<excludes>
						<exclude>**/*.sql</exclude>
						<exclude>**/*.html</exclude>
						<exclude>**/*font-awesome*</exclude>
						<exclude>**/*jquery*</exclude>
						<exclude>**/*modernizr*</exclude>
						<exclude>**/*responsive-tables*</exclude>
						<exclude>**/spectrum.css</exclude>
						<exclude>**/spectrum.js</exclude>
						<exclude>**/redactor.js</exclude>
						<exclude>**/fontcolor.js</exclude>
						<exclude>**/fontsize.js</exclude>
						<exclude>**/typeahead.bundle.js</exclude>
						<exclude>**/sitemap/**/*.xml</exclude>
					</excludes>
				</configuration>
				<executions>
					<execution>
						<id>first</id>
						<goals>
							<goal>update-file-header</goal>
						</goals>
						<phase>process-sources</phase>
						<configuration>
							<roots>
								<root>src/main</root>
								<root>src/test</root>
							</roots>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-dependencies</artifactId>
				<version>${spring.boot.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<dependency>
				<groupId>com.broadleafcommerce</groupId>
				<artifactId>broadleaf-enterprise-bom</artifactId>
				<version>${broadleaf.bom.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
			<dependency>
				<groupId>com.broadleafcommerce</groupId>
				<artifactId>broadleafcommerce-boot-starter-database</artifactId>
				<version>${database.starter.version}</version>
				<optional>true</optional>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<profiles>
		<profile>
			<id>blc-development</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.zeroturnaround</groupId>
						<artifactId>jrebel-maven-plugin</artifactId>
						<executions>
							<execution>
								<id>generate-rebel-xml</id>
								<phase>process-resources</phase>
								<goals>
									<goal>generate</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<dependencies>
		<dependency>
			<groupId>com.broadleafcommerce</groupId>
			<artifactId>broadleafcommerce-boot-starter-database</artifactId>
		</dependency>
		<dependency>
			<groupId>org.broadleafcommerce</groupId>
			<artifactId>broadleaf-admin-module</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-autoconfigure</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-configuration-processor</artifactId>
			<optional>true</optional>
		</dependency>
		<dependency>
		    <groupId>org.apache.tomcat</groupId>
		    <artifactId>tomcat-jdbc</artifactId>
		</dependency>

		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-entitymanager</artifactId>
			<exclusions>
				<exclusion>
					<!--exclude the outdated javassist, since we explicitly
						declare the newer one (note that the groupId has changed) -->
					<artifactId>javassist</artifactId>
					<groupId>javassist</groupId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>

	<repositories>
		<repository>
			<id>community-snapshots</id>
			<name>community-snapshots</name>
			<url>http://nexus.broadleafcommerce.org/nexus/content/groups/community-snapshots/</url>
		</repository>
		<repository>
			<id>community-releases</id>
			<name>community-releases</name>
			<url>http://nexus.broadleafcommerce.org/nexus/content/groups/community-releases/</url>
		</repository>
	</repositories>
</project>