<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>
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>
	<groupId>net.sf.opk</groupId>
	<artifactId>opk-parent</artifactId>
	<version>2</version>
	<packaging>pom</packaging>
	<name>Parent POM</name>
	<description>Parent POM for all projects with group ID net.sf.opk.</description>
	<url>http://opk.sf.net/${project.artifactId}/</url>
	<inceptionYear>2011</inceptionYear>
	<scm>
		<url>http://svn.code.sf.net/p/opk/code/opk-parent/tags/opk-parent-2</url>
		<connection>scm:svn:svn://svn.code.sf.net/p/opk/code/opk-parent/tags/opk-parent-2</connection>
		<developerConnection>scm:svn:https://svn.code.sf.net/p/opk/code/opk-parent/tags/opk-parent-2</developerConnection>
	</scm>
	<licenses>
		<license>
			<name>Apache 2</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
			<comments>A business-friendly OSS license</comments>
		</license>
	</licenses>
	<developers>
		<developer>
			<id>opwvhk</id>
			<name>Oscar Westra van Holthe - Kind</name>
			<email>oscar@westravanholthe.nl</email>
			<url>http://oscar.westravanholthe.nl/</url>
			<roles>
				<role>architect</role>
				<role>developer</role>
			</roles>
			<timezone>1</timezone>
		</developer>
	</developers>
	<organization>
		<!-- Not really an organization, but the owner of the copyrights. -->
		<name>Oscar Westra van Holthe - Kind</name>
		<url>http://oscar.westravanholthe.nl/</url>
	</organization>
	<distributionManagement>
		<site>
			<id>opk.sf.net</id>
			<name>Project website at SourceForge</name>
			<url>scp://shell.sourceforge.net/home/project-web/opk/htdocs</url>
		</site>
	</distributionManagement>
	<properties>
		<!-- Build configurations -->
		<jdk.version>1.7</jdk.version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.4</version>
				<reportSets>
					<reportSet>
						<reports>
							<!-- Note: do not omit the index report unless you're creating an index.html elsewhere. -->
							<report>index</report>
							<report>modules</report>
							<report>license</report>
							<report>scm</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
				<version>2.11</version>
			</plugin>
			<!-- Should be re-enabled when it supports JDK7. Until then it fails all tests in the test report.
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.5.1</version>
			</plugin>
			-->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.8</version>
				<reportSets>
					<reportSet>
						<reports>
							<report>javadoc</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
		</plugins>
	</reporting>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.2</version>
				<configuration>
					<compilerVersion>${jdk.version}</compilerVersion>
					<source>${jdk.version}</source>
					<target>${jdk.version}</target>
					<encoding>${project.build.sourceEncoding}</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.5</version>
				<configuration>
					<encoding>${project.build.sourceEncoding}</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.11</version>
				<configuration>
					<!-- The argLine is needed for Cobertura, and requires a forked test process. -->
					<argLine>-XX:+UseSplitVerifier</argLine>
					<forkMode>once</forkMode>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.2.2</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.0</version>
				<executions>
					<execution>
						<id>attach-descriptor</id>
						<goals>
							<goal>attach-descriptor</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.8</version>
				<configuration>
					<show>protected</show>
				</configuration>
			</plugin>
		</plugins>
		<extensions>
			<!-- For URLs, add SSH / SCP / SFTP support -->
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-ssh</artifactId>
				<version>2.2</version>
			</extension>
		</extensions>
	</build>
	<profiles>
		<profile>
			<id>disable-test-report-for-parent-pom</id>
			<!-- Unlike the other reports, the surefire report does not skip itself if there is nothing to report. -->
			<activation>
				<file>
					<missing>src/test/java</missing>
				</file>
			</activation>
			<properties>
				<skipSurefireReport>true</skipSurefireReport>
			</properties>
		</profile>
		<profile>
			<id>parent-site-as-sibling</id>
			<activation>
				<file>
					<exists>README_parentPom.txt</exists>
				</file>
			</activation>
			<distributionManagement>
				<site>
					<id>opk.sf.net</id>
					<url>scp://shell.sourceforge.net/home/project-web/opk/htdocs/opk-parent</url>
				</site>
			</distributionManagement>
		</profile>
	</profiles>
</project>
