<?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.perfrepo</groupId>
   <artifactId>perfrepo-parent</artifactId>
   <version>1.1</version>
   <packaging>pom</packaging>
   <name>Performance Results Repository - Parent</name>
   <description>Performance Results Repository Application</description>
   <url>https://github.com/PerfRepo/PerfRepo</url>
   <licenses>
      <license>
         <name>Apache License, Version 2.0</name>
         <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      </license>
   </licenses>
   <scm>
      <url>https://github.com/PerfRepo/PerfRepo.git</url>
   </scm>
   <properties>
      <arquillian.version>1.0.3.Final</arquillian.version>
      <commons.io.version>2.1</commons.io.version>
      <commons.lang.version>2.4</commons.lang.version>
      <commons.collections.version>3.2</commons.collections.version>
      <commons.beanutils.version>1.9.2</commons.beanutils.version>
      <commons.codec.version>1.9</commons.codec.version>
      <guava.version>12.0</guava.version>
      <maven.compiler.plugin.version>2.3.2</maven.compiler.plugin.version>
      <maven.compiler.source>1.7</maven.compiler.source>
      <maven.compiler.target>1.7</maven.compiler.target>
      <maven.jboss.as.plugin.version>7.3.Final</maven.jboss.as.plugin.version>
      <maven.surefire.plugin.version>2.4.3</maven.surefire.plugin.version>
      <maven.war.plugin.version>2.1.1</maven.war.plugin.version>
      <maven.javadoc.plugin.version>2.9</maven.javadoc.plugin.version>
      <maven.source.plugin.version>2.2.1</maven.source.plugin.version>
      <maven.release.plugin.version>2.1</maven.release.plugin.version>
      <jboss.bom.version>1.0.5.Final</jboss.bom.version>
      <jfreechart.version>1.0.13</jfreechart.version>
      <junit.version>4.8.1</junit.version>
      <jsflot.version>0.7.0-fix</jsflot.version>
      <maven.gpg.plugin.version>1.5</maven.gpg.plugin.version>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      <richfaces.version>4.5.0.Alpha2</richfaces.version>
      <urlrewritefilter.version>4.0.3</urlrewritefilter.version>
   </properties>
   <modules>
      <module>web</module>
      <module>model</module>
      <module>client</module>
   </modules>
   <developers>
      <developer>
         <name>Pavel Drozd</name>
         <email>pdrozd@redhat.com</email>
         <timezone>2</timezone>
         <url>http://community.jboss.org/people/pdrozd</url>
      </developer>
      <developer>
         <name>Michal Linhard</name>
         <email>mlinhard@redhat.com</email>
         <timezone>2</timezone>
         <url>http://community.jboss.org/people/mlinhard</url>
      </developer>
      <developer>
         <name>Jiri Holusa</name>
         <email>jholusa@redhat.com</email>
         <timezone>2</timezone>
         <url>http://community.jboss.org/people/jholusa</url>
      </developer>
   </developers>
   <dependencyManagement>
      <dependencies>
         <dependency>
            <groupId>org.jboss.bom</groupId>
            <artifactId>jboss-javaee-6.0-with-tools</artifactId>
            <version>${jboss.bom.version}</version>
            <type>pom</type>
            <scope>import</scope>
         </dependency>
         <dependency>
            <groupId>org.jboss.bom</groupId>
            <artifactId>jboss-javaee-6.0-with-hibernate</artifactId>
            <version>${jboss.bom.version}</version>
            <type>pom</type>
            <scope>import</scope>
         </dependency>
         <dependency>
            <groupId>org.jboss.bom</groupId>
            <artifactId>jboss-javaee-6.0-with-resteasy</artifactId>
            <version>${jboss.bom.version}</version>
            <type>pom</type>
            <scope>import</scope>
         </dependency>
         <dependency>
            <groupId>org.jboss.arquillian</groupId>
            <artifactId>arquillian-bom</artifactId>
            <version>${arquillian.version}</version>
            <scope>import</scope>
            <type>pom</type>
         </dependency>
         <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${junit.version}</version>
         </dependency>
      </dependencies>
   </dependencyManagement>
   <build>
      <finalName>${project.artifactId}</finalName>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>${maven.release.plugin.version}</version>
            <configuration>
               <autoVersionSubmodules>true</autoVersionSubmodules>
               <pushChanges>false</pushChanges>
               <localCheckout>true</localCheckout>
            </configuration>
         </plugin>
         <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>${maven.compiler.plugin.version}</version>
            <configuration>
               <source>${maven.compiler.source}</source>
               <target>${maven.compiler.target}</target>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
            <version>${maven.source.plugin.version}</version>
            <executions>
               <execution>
                  <id>attach-sources</id>
                  <goals>
                     <goal>jar</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>${maven.gpg.plugin.version}</version>
            <configuration>
               <useAgent>true</useAgent>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>${maven.gpg.plugin.version}</version>
            <executions>
               <execution>
                  <id>sign-artifacts</id>
                  <phase>verify</phase>
                  <goals>
                     <goal>sign</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
   <profiles>
      <profile>
         <id>javadoc</id>
         <build>
            <plugins>
               <plugin>
                  <groupId>org.apache.maven.plugins</groupId>
                  <artifactId>maven-javadoc-plugin</artifactId>
                  <version>${maven.javadoc.plugin.version}</version>
                  <executions>
                     <execution>
                        <id>attach-javadocs</id>
                        <goals>
                           <goal>jar</goal>
                        </goals>
                     </execution>
                  </executions>
               </plugin>
            </plugins>
         </build>
      </profile>
   </profiles>
</project>
