<?xml version="1.0" encoding="UTF-8"?>
<project>

	<!-- 
	 * Copyright 2006 ServeBox Licensed under the Apache License, Version 2.0 (the "License");
	 * you may not use this file except in compliance with the License. You may obtain a copy
	 * of the License at
	 * 
	 * http://www.apache.org/licenses/LICENSE-2.0
	 * 
	 * Unless required by applicable law or agreed to in writing, software distributed under
	 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
	 * either express or implied. See the License for the specific language governing permissions
	 * and limitations under the License.
	-->
	<!-- 
	 * Base POM for ServeBox projects.
	 * ServeBox uses the webRelease and golgothaRelease for its own needs.
	-->
	
	<modelVersion>4.0.0</modelVersion>
	<groupId>servebox-template</groupId>
	<artifactId>parent-project</artifactId>
	<version>1.4</version>
	<packaging>pom</packaging>
	
	<build>

		<directory>target</directory>
		<outputDirectory>target/classes</outputDirectory>
		<finalName>${artifactId}-${version}</finalName>
		<testOutputDirectory>target/test-classes</testOutputDirectory>
		<sourceDirectory>src/main/java</sourceDirectory>
		<testSourceDirectory>src/test/java</testSourceDirectory>
	 
	    <!--<extensions>
	      <extension>
	        <groupId>org.apache.maven.wagon</groupId>
	         <artifactId>wagon-ftp</artifactId>
	      </extension>
	    </extensions>-->

	</build>

	<profiles>
		<profile>
			<id>Web-Distro</id>
			<activation>
				<property>
					<name>webRelease</name>
					<value>true</value>
				</property>
			</activation>
			<distributionManagement>
				<repository>
					<uniqueVersion>false</uniqueVersion>
					<id>FTP ServeBox</id>
					<name>ServeBox Web Repository</name>
					<url>ftp://ftp.servebox.com</url>
				</repository>
				<snapshotRepository>
					<uniqueVersion>false</uniqueVersion>
					<id>FTP ServeBox</id>
					<name>ServeBox Web Repository</name>
					<url>ftp://ftp.servebox.com</url>
				</snapshotRepository>
			</distributionManagement>
		</profile>
		<profile>
			<id>Golgotha-Distro</id>
			<activation>
				<property>
					<name>golgothaRelease</name>
					<value>true</value>
				</property>
			</activation>
			<distributionManagement>
				<repository>
					<uniqueVersion>false</uniqueVersion>
					<id>RandyDistro</id>
					<name>Golgotha-Randy Repository</name>
					<url>file:////sbserver-randy/Maven2-Repository</url>
					<layout>default</layout>
				</repository>
				<snapshotRepository>
					<uniqueVersion>true</uniqueVersion>
					<id>RandySnapDistro</id>
					<name>Golgotha-Randy Snapshots Repository</name>
					<url>file:////sbserver-randy/Maven2-Snapshot-Repository</url>
					<layout>default</layout>
				</snapshotRepository>
			</distributionManagement>
		</profile>
	</profiles>

</project>
