<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>ch.bbv.fsm</groupId>
	<artifactId>fsm</artifactId>
	<packaging>pom</packaging>
	<name>bbvfsm - Parent Project.</name>
	<version>2.0.0</version>
	<description>bbvfsm - Hierarchical State Machine. Parent Project.</description>
	<url>http://bbvfsm.googlecode.com</url>

	<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>


	<organization>
		<name>bbv Software Services AG</name>
		<url>http://www.bbv.ch</url>
	</organization>


	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<junit.version>4.8.2</junit.version>
		<java.source.version>1.6</java.source.version>
		<slf4j.version>1.6.4</slf4j.version>
		<logback.version>0.9.29</logback.version>
		<guava.version>10.0.1</guava.version>
		<cglib.version>2.2.2</cglib.version>
		<mockito.version>1.8.4</mockito.version>
		<hamcrest.version>1.2.1</hamcrest.version>
	</properties>

	<modules>
		<module>fsm-api</module>
		<module>fsm-impl</module>
	</modules>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.google.guava</groupId>
				<artifactId>guava</artifactId>
				<version>${guava.version}</version>
			</dependency>
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-api</artifactId>
				<version>${slf4j.version}</version>
			</dependency>
			<dependency>
				<groupId>cglib</groupId>
				<artifactId>cglib</artifactId>
				<version>${cglib.version}</version>
			</dependency>

			<!-- Test -->
			<dependency>
				<groupId>ch.qos.logback</groupId>
				<artifactId>logback-classic</artifactId>
				<version>${logback.version}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit-dep</artifactId>
				<version>${junit.version}</version>
				<type>jar</type>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.hamcrest</groupId>
				<artifactId>hamcrest-library</artifactId>
				<version>${hamcrest.version}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.hamcrest</groupId>
				<artifactId>hamcrest-core</artifactId>
				<version>${hamcrest.version}</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.mockito</groupId>
				<artifactId>mockito-core</artifactId>
				<version>${mockito.version}</version>
				<scope>test</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>
	<developers>
		<developer>
			<id>kuu</id>
			<name>Ueli Kurmann</name>
			<email>ueli.kurmann@bbv.ch</email>
			<organization>bbv Software Services AG</organization>
			<organizationUrl>http://www.bbv.ch</organizationUrl>
			<roles>
				<role>Developer</role>
			</roles>
		</developer>
		<developer>
			<id>wel</id>
			<name>Lukas Weibel</name>
			<email>lukas.weibel@bbv.ch</email>
			<organization>bbv Software Services AG</organization>
			<organizationUrl>http://www.bbv.ch</organizationUrl>
			<roles>
				<role>Skivvy</role>
			</roles>
		</developer>
	</developers>

	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>2.1</version>
					<configuration>
						<source>${java.source.version}</source>
						<target>${java.source.version}</target>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.felix</groupId>
					<artifactId>maven-bundle-plugin</artifactId>
					<version>2.3.5</version>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.7</version>
				<executions>
					<execution>
						<phase>verify</phase>
						<goals>
							<goal>check</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<includeTestSourceDirectory>true</includeTestSourceDirectory>
					<configLocation>${basedir}/common/bbvfsm-cs.xml</configLocation>
					<propertiesLocation>${basedir}/common/checkstyle_maven.properties</propertiesLocation>
					<failsOnError>true</failsOnError>
					<failOnViolation>true</failOnViolation>
					<consoleOutput>true</consoleOutput>
					<violationSeverity>info</violationSeverity>
				</configuration>
			</plugin>
      		<plugin>
		        <groupId>org.apache.maven.plugins</groupId>
		        <artifactId>maven-gpg-plugin</artifactId>
		        <version>1.4</version>
		        <executions>
		          <execution>
		            <id>sign-artifacts</id>
		            <phase>verify</phase>
		            <goals>
		              <goal>sign</goal>
		            </goals>
		          </execution>
		        </executions>
      		</plugin>			
		</plugins>
	</build>

	<distributionManagement>
		<repository>
			<id>nexus-bbv</id>
			<name>Nexus Staging Repo</name>
			<url>http://javabuild.bbv.ch/nexus/content/repositories/snapshots</url>
		</repository>
	</distributionManagement>

	<scm>
		<url>https://bbvfsm.googlecode.com/svn/trunk/fsm</url>
		<connection>scm:svn:https://bbvfsm.googlecode.com/svn/trunk/fsm</connection>
	</scm>
</project>