<?xml version="1.0" encoding="UTF-8"?>
<!--
   Copyright (c) 2008, 2012 Kasper Nielsen. All rights reserved.
   
   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.
-->
<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">
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.cakeframework</groupId>
  <artifactId>cake-root-pom</artifactId>
  <version>1.0.3</version>
  <packaging>pom</packaging>
  <name>Cake Root Pom</name>
  <description>Cake</description>
  <url>http://cakeframework.org/</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  
  <organization>
    <name>Cake</name>
    <url>http://www.cakeframework.org/</url>
  </organization>
  
  <inceptionYear>2008</inceptionYear>
  
  <issueManagement>
    <system>Github Issues</system>
    <url>https://github.com/cakeframework/cake/issues</url>
  </issueManagement>
  <ciManagement>
    <system>Jenkins</system>
    <url>https://cakeframework.ci.cloudbees.com/</url>
  </ciManagement>
  <mailingLists>
    <mailingList>
      <name>Cake Announce List</name>
      <subscribe>http://groups.google.com/group/cake-announce/subscribe</subscribe>
      <archive>http://groups.google.com/group/cake-announce</archive>
    </mailingList>
    <mailingList>
      <name>Cake User List</name>
      <subscribe>http://groups.google.com/group/cake-user/subscribe</subscribe>
      <post>cake-user@googlegroups.com</post>
      <archive>http://groups.google.com/group/cake-user</archive>
    </mailingList>
    <mailingList>
      <name>Cake Developer List</name>
      <subscribe>http://groups.google.com/group/cake-dev/subscribe</subscribe>
      <post>cake-user@googlegroups.com</post>
      <archive>http://groups.google.com/group/cake-dev</archive>
    </mailingList>
    <mailingList>
      <name>Cake Commits</name>
      <subscribe>http://groups.google.com/group/cake-dev/subscribe</subscribe>
      <archive>http://groups.google.com/group/cake-commits</archive>
    </mailingList>
  </mailingLists>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <prerequisites>
    <maven>3.0.4</maven>
  </prerequisites>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.5.1</version>
        <configuration>
          <source>1.7</source>
          <target>1.7</target>
          <encoding>UTF-8</encoding>
          <optimize>false</optimize>
          <debug>true</debug>
          <showDeprecation>true</showDeprecation>
        </configuration>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.12</version>
        <!--
        <configuration>
          <parallel>methods</parallel>
          <threadCount>8</threadCount>
        </configuration>
        -->
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>1.1.1</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.5</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-install-plugin</artifactId>
        <version>2.3.1</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>3.1</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>2.7</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.1.2</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.4</version>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.9.1</version>
        <dependencies>
          <dependency>
            <groupId>org.cakeframework.tools</groupId>
            <artifactId>cake-build-tool</artifactId>
            <version>1.0-SNAPSHOT</version>
          </dependency>
        </dependencies>
        <configuration>
          <configLocation>cake-build-tool/checkstyle.xml</configLocation>
          <headerLocation>cake-build-tool/LICENSE.txt</headerLocation>
          <enableRulesSummary>true</enableRulesSummary>
          <consoleOutput>true</consoleOutput>
          <includeTestSourceDirectory>true</includeTestSourceDirectory>
          <testSourceDirectory>src/test/java</testSourceDirectory>
        </configuration>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.8.1</version>
        <configuration>
          <excludePackageNames>*.internal.*:*.deprecated.*:*.tck.*:*.test.*:*.jcip.*:*.examples.*:</excludePackageNames>
          <aggregate>true</aggregate>
          <links>
            <link>http://download.oracle.com/javase/7/docs/api/</link>
          </links>
          <showPackage>false</showPackage>
          <showProtected>true</showProtected>
        </configuration>
      </plugin>
      
      <plugin>
        <groupId>com.googlecode.maven-overview-plugin</groupId>
        <artifactId>maven-overview-plugin</artifactId>
        <version>1.6</version>
      </plugin>
      
      <plugin>
        <groupId>org.pitest</groupId>
        <artifactId>pitest-maven</artifactId>
        <version>0.27</version>
        <configuration>
          <inScopeClasses><param>org.cakeframework*</param></inScopeClasses>
          <targetClasses><param>org.cakeframework*</param></targetClasses>
          <jvmArgs><value>-XX:-UseSplitVerifier</value></jvmArgs>
        </configuration>
      </plugin>
      
    </plugins>

  </build>
  
  <pluginRepositories>
    <pluginRepository>
      <id>atlassian-m2-repository</id>
      <name>Atlassian Maven 2.x Repository</name>
      <url>http://repository.atlassian.com/maven2</url>
    </pluginRepository>
  </pluginRepositories>

  <reporting>
    <plugins>
    
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.8.1</version>
        <configuration>
          <excludePackageNames>
            *.internal.*:*.tck.*:*.test.*:*.jcip.*:*.examples.*:*.testcases.*:</excludePackageNames>
          <aggregate>true</aggregate>
          <links>
            <link>http://download.oracle.com/javase/7/docs/api/</link>
          </links>
          <showPackage>false</showPackage>
          <showProtected>true</showProtected>
        </configuration>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.9.1</version>
        <configuration>
          <configLocation>cake-build-tool/checkstyle.xml</configLocation>
          <headerLocation>cake-build-tool/LICENSE.txt</headerLocation>
           <enableRulesSummary>true</enableRulesSummary>
          <consoleOutput>true</consoleOutput>
          <includeTestSourceDirectory>true</includeTestSourceDirectory>
          <testSourceDirectory>src/test/java</testSourceDirectory>
        </configuration>
      </plugin>
      
    </plugins>
  </reporting>

  <scm>
    <connection>scm:git:git@github.com:cakeframework/cake-tools.git</connection>
    <developerConnection>scm:git:git@github.com:cakeframework/cake-tools.git</developerConnection>
    <url>git@github.com:cakeframework/cake-tools.git</url>
  </scm>

  <developers>
    <developer>
      <id>kasperni</id>
      <name>Kasper Nielsen</name>
      <email>kasperni@gmail.com</email>
      <organization />
      <roles>
        <role>Despot</role>
      </roles>
    </developer>
  </developers>
  
  <profiles>

    <profile>
      <id>release-sign-artifacts</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <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>
    </profile>
    
    <profile>
      <id>coverage</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <property>
          <name>coverage</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>com.atlassian.maven.plugins</groupId>
            <artifactId>maven-clover2-plugin</artifactId>
            <version>3.1.6</version>
            <configuration>
              <includesTestSourceRoots>false</includesTestSourceRoots>
              <excludes>
                <!-- <exclude>**/tck/service/**/*.java</exclude> -->
                <!-- <exclude>**/examples/**/*.java</exclude> -->
                <!-- <exclude>**/test/**/*.java</exclude> -->
              </excludes>
              <jdk>1.7</jdk>
              <historyDir>${user.home}/cake/cloverhistory</historyDir>
              <generateHistorical>true</generateHistorical>
              <license><![CDATA[mPMQqhbVkUhlsExVlvqsAqVmOqthhBgRsmlEsWdjnjaESb
mi2Kbj6D9ZeMhGKCTUCjiPsQ2Ky>8G2<>3Bh3S5eJALAj<
popnTXOqQRqrNomopROsXOnpMOpoQnpRMpvxvstuXwpmOn
onmqmUUnpqovsrsmmmmmUUnpqovsrsmmmmmUU3XhbUUnmm
mm]]></license>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>
