<?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">
	<modelVersion>4.0.0</modelVersion>

	<groupId>org.apache.maven</groupId>
	<artifactId>test</artifactId>
	<packaging>pom</packaging>
	<version>
		${prj.ver.maj}.${prj.ver.min}.${prj.ver.inc}${prj.ver.suf}
	</version>

	<name>Test Archiva</name>
	<description>
		${pom.name} [version ${pom.version}]. Confluence:
		${kb.confluence.url}/display/${prj.confluence.path}
	</description>

	<build>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>

				<artifactId>wagon-webdav</artifactId>
				<version>1.0-beta-2</version>
			</extension>
		</extensions>
	</build>

	<issueManagement>
		<system>jira</system>

		<url>${kb.jira.url}/browse/${prj.jira.key}</url>
	</issueManagement>
	<ciManagement>
		<system>hudson</system>
		<url>
			${kb.hudson.url}/view/${prj.hudson.view.root}
			-=${prj.svn.branch}=-/
		</url>
	</ciManagement>
	<inceptionYear>2005</inceptionYear>

	<licenses>
		<license>
			<name>KB Internal License</name>
			<distribution>repo</distribution>
			<comments>This is internal project of KB.</comments>
		</license>
	</licenses>

	<organization>
		<name>KB, a.s.</name>
		<url>http://www.kb.cz/</url>
	</organization>

	<properties>
		<!--
			- common settings
		-->
		<kb.svn.url>http://svn-server/renaissance</kb.svn.url>

		<kb.svn.view.url>http://svn-server/renaissance</kb.svn.view.url>
		<kb.site.url>http://tools-server/projects</kb.site.url>
		<kb.site.dir>
			scp://tools-server/home/tools/var/maven-sites
		</kb.site.dir>
		<kb.jira.url>http://jira-server/jira</kb.jira.url>
		<kb.confluence.url>
			http://confluence-server/confluence
		</kb.confluence.url>
		<kb.hudson.url>http://tools-server/hudson</kb.hudson.url>

		<!-- Project configuration -->
		<prj.url.root>${pom.groupId}</prj.url.root>
		<prj.hudson.view.root>${pom.groupId}</prj.hudson.view.root>
		<prj.svn>${kb.svn.url}/${prj.svn.path}</prj.svn>
		<prj.svn.tagBase>${prj.svn}/tags</prj.svn.tagBase>
		<prj.svn.branch>trunk</prj.svn.branch>

		<prj.java.version>1.5</prj.java.version>
		<prj.source.encoding>UTF-8</prj.source.encoding>

		<!--
			- Project specific
		-->
		<!-- version -->
		<prj.ver.maj>2</prj.ver.maj>
		<prj.ver.min>0</prj.ver.min>
		<prj.ver.inc>4</prj.ver.inc>
		<prj.ver.suf>-SNAPSHOT</prj.ver.suf><!--  !!! Increase this value after release. -->

		<!-- paths and identificators in external systems -->
		<prj.url.relative>
			${prj.url.root}/${prj.ver.maj}.${prj.ver.min}${prj.ver.suf}
		</prj.url.relative>
		<prj.svn.path>test/maven-arch/test-arch</prj.svn.path>
		<prj.jira.key>TSTARCH</prj.jira.key>

		<prj.confluence.path>TEST/Archiva</prj.confluence.path>
	</properties>

	<!-- MRM-731 : variable in url pom are not replaced. -->
	<url>http://j.random.server.com/docs/${project.groupId}/${project.artifactId}/${project.version}</url>

	<scm>
		<connection>scm:svn:${prj.svn}/${prj.svn.branch}</connection>
		<developerConnection>
			scm:svn:${prj.svn}/${prj.svn.branch}
		</developerConnection>

		<url>${kb.svn.view.url}/${prj.svn.path}/${prj.svn.branch}</url>
	</scm>

	<distributionManagement>
		<repository>
			<id>internal</id>
			<name>Internal Release Repository</name>
			<url>
				dav:http://tools-server/archiva/repository/internal
			</url>

			<uniqueVersion>false</uniqueVersion>
		</repository>
		<snapshotRepository>
			<id>snapshots</id>
			<name>Internal Snapshot Repository</name>
			<url>
				dav:http://tools-server/archiva/repository/snapshots
			</url>
			<uniqueVersion>false</uniqueVersion>

		</snapshotRepository>
		<site>
			<id>website</id>
			<name>Internal Maven Website</name>
			<url>${kb.site.dir}/${prj.url.relative}</url>
		</site>
	</distributionManagement>

</project>
