<?xml version="1.0" encoding="UTF-8"?>
<!-- WARNING: never add dependencies through the Eclipse Maven2 Plugin! If you do, all comments and formatting in this file will be lost! -->
<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">
    <!-- basic setup -->
    <modelVersion>4.0.0</modelVersion>
    <groupId>de.tngtech</groupId>
    <artifactId>elftale</artifactId>
    <packaging>war</packaging>
    <version>3.0-SNAPSHOT</version>
    <name>ELF TALE</name>
    <inceptionYear>2006</inceptionYear>

    <!-- list developers for the project reports -->
    <developers>
        <developer>
            <id>sob</id>
            <name>Bernd Stolle</name>
            <email>bernd.stolle@tngtech.com</email>
            <organization>TNG Technology Consulting GmbH</organization>
            <organizationUrl>http://www.tngtech.com</organizationUrl>
            <roles>
                <role>Developer</role>
            </roles>
        </developer>
        <developer>
            <id>mrg</id>
            <name>Gerhard Mueller</name>
            <email>Gerhard.Mueller@tngtech.com</email>
            <organization>TNG Technology Consulting GmbH</organization>
            <organizationUrl>http://www.tngtech.com</organizationUrl>
            <roles>
                <role>Developer</role>
            </roles>
        </developer>
    </developers>


    <!-- information (and possibly configuration) for continouus integration -->
    <ciManagement>
        <system>Cruise Control</system>
        <url>http://elftale:9999/</url>
    </ciManagement>

    <!-- the source code repository -->
    <scm>
        <url>http://elftale/svn/elftale-ng/trunk</url>
        <connection>scm:svn:http://elftale/svn/elftale-ng/trunk</connection>
        <developerConnection>scm:svn:http://elftale/svn/elftale-ng/trunk</developerConnection>
    </scm>

    <issueManagement>
        <system>trac</system>
        <url>http://elftale/projects/elftale</url>
    </issueManagement>

    <profiles>
        <!-- see http://maven.apache.org/guides/introduction/introduction-to-profiles.html -->
        <profile>
            <id>env-dev</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <testng.xmlconfigfile>src/test/testng-configs/testng.xml</testng.xmlconfigfile>
                <cargo.wait>false</cargo.wait>
            </properties>
        </profile>

        <profile>
            <id>env-cint</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>cint</value>
                </property>
            </activation>
            <properties>
                <testng.xmlconfigfile>src/test/testng-configs/testng-cint.xml</testng.xmlconfigfile>
            </properties>
        </profile>

        <profile>
            <id>env-cint-nightly</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>cint-nightly</value>
                </property>
            </activation>
            <properties>
                <testng.xmlconfigfile>src/test/testng-configs/testng-cint-nightly.xml</testng.xmlconfigfile>
            </properties>
        </profile>


        <profile>
            <id>env-productionready</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>productionready</value>
                </property>
            </activation>
            <properties>
                <testng.xmlconfigfile>src/test/testng-configs/testng-productionready.xml</testng.xmlconfigfile>
                <cargo.wait>false</cargo.wait>
            </properties>
        </profile>

        <profile>
            <id>env-localization-productionready</id>
            <activation>
                <property>
                    <name>env</name>
                    <value>localization-productionready</value>
                </property>
            </activation>
            <properties>
                <testng.xmlconfigfile>src/test/testng-configs/testng-localization-productionready.xml</testng.xmlconfigfile>
                <cargo.wait>false</cargo.wait>
            </properties>
        </profile>

        <profile>
            <id>env-cs</id> <!-- cargo start -->
            <activation>
                <property>
                    <name>env</name>
                    <value>cs</value>
                </property>
            </activation>
            <properties>
                <testng.xmlconfigfile>src/test/testng-configs/testng-nothing.xml</testng.xmlconfigfile>
                <cargo.wait>true</cargo.wait>
            </properties>
        </profile>
    </profiles>

    <!-- configure alternate (private) repositories -->
    <repositories>
        <repository>
            <id>private</id>
            <name>My private repository</name>
            <url>http://elftale:8081/artifactory/repo</url>
        </repository>

        <!-- repository for the spring-tapestry library that extends tapestry-annotations-->
        <!-- contains also newest versions of testng for maven2 -->
        <repository>
            <id>howardlewisship.com</id>
            <name>Tapestry @ JavaForge</name>
            <url>http://howardlewisship.com/repository/</url>
        </repository>

    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>apache-snapshots</id>
            <url>http://people.apache.org/maven-snapshot-repository</url>
        </pluginRepository>
        <pluginRepository>
            <id>private</id>
            <name>My private repository</name>
            <url>http://elftale:8081/artifactory/repo</url>
        </pluginRepository>
    </pluginRepositories>

    <!-- some configuration -->
    <properties>
        <tapestry.version>4.1.2</tapestry.version>
    </properties>

    <!-- dependencies -->
    <dependencies>
        <!-- Tapestry -->
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-framework</artifactId>
            <version>${tapestry.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-contrib</artifactId>
            <version>${tapestry.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-annotations</artifactId>
            <version>${tapestry.version}</version>
        </dependency>

        <dependency>
            <groupId>com.javaforge.tapestry</groupId>
            <artifactId>tapestry-flash</artifactId>
            <version>1.0.0</version>
            <exclusions>
                <exclusion>
                    <groupId>tapestry</groupId>
                    <artifactId>tapestry</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>tapestry</groupId>
                    <artifactId>tapestry-annotations</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <!-- libraries needed for spring & tapestry integration -->
        <dependency>
            <groupId>com.javaforge.tapestry</groupId>
            <artifactId>tapestry-spring</artifactId>
            <version>1.0.0</version>
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <groupId>tapestry</groupId>
                    <artifactId>tapestry</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>tapestry</groupId>
                    <artifactId>tapestry-annotations</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.javaforge.tapestry</groupId>
            <artifactId>tapestry-testng</artifactId>
            <version>1.0.0-20061122.201931-3</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>tapestry</groupId>
                    <artifactId>tapestry</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>tapestry</groupId>
                    <artifactId>tapestry-annotations</artifactId>
                </exclusion>                
            </exclusions>
        </dependency>


        <!-- Hibernate -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate</artifactId>
            <version>3.2.4.sp1</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-annotations</artifactId>
            <version>3.3.0.ga</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-commons-annotations</artifactId>
            <version>3.3.0.ga</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>3.0.0.ga</version>
        </dependency>
        <dependency>
            <groupId>net.sf.ehcache</groupId>
            <artifactId>ehcache</artifactId>
            <version>1.3.0</version>
        </dependency>

        <!-- Spring -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring</artifactId>
            <version>2.0.5</version>
        </dependency>

        <dependency>
            <groupId>org.reflexiveframework</groupId>
            <artifactId>reflexive</artifactId>
            <version>1.0</version>
            <exclusions>
                <exclusion>
                    <artifactId>cglib-full</artifactId>
                    <groupId>cglib</groupId>
                </exclusion>
            </exclusions>
        </dependency>

        <!-- date/time handling -->
        <dependency>
            <groupId>joda-time</groupId>
            <artifactId>joda-time</artifactId>
            <version>1.3</version>
            <scope>compile</scope>
        </dependency>

        <!-- mail sending -->
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
            <version>1.4</version>
        </dependency>

        <!-- templating -->
        <dependency>
            <groupId>velocity</groupId>
            <artifactId>velocity</artifactId>
            <version>1.5</version>
            <scope>compile</scope>
        </dependency>

        <!-- UUID generator -->
        <dependency>
            <groupId>org.safehaus.jug</groupId>
            <artifactId>jug</artifactId>
            <version>2.0.0</version>
            <classifier>asl</classifier>
            <scope>compile</scope>
        </dependency>

        <!-- click stream analysis -->
        <dependency>
            <groupId>opensymphony</groupId>
            <artifactId>clickstream</artifactId>
            <version>1.0.2</version>
        </dependency>

        <!-- standard stuff -->
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.13</version>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.3</version>
        </dependency>
        <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2</version>
        </dependency>
        <dependency>
            <groupId>commons-beanutils</groupId>
            <artifactId>commons-beanutils</artifactId>
            <version>1.7.0</version>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>1.3.1</version> <!-- 1.3.2 is current -->
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
            <version>3.0.1</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>commons-codec</groupId>
            <artifactId>commons-codec</artifactId>
            <version>1.3</version>
        </dependency>

        <!-- compile time dependencies that are not allowed int the .war file -->
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.4</version>
            <scope>provided</scope>
        </dependency>

        <!-- runtime only dependencies (like database drivers) -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.0.5</version>
            <scope>runtime</scope>
        </dependency>
        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <version>1.2.2</version>
            <scope>runtime</scope>
        </dependency>

        <!-- dependencies for testing -->
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <classifier>jdk15</classifier>
            <version>5.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>2.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymockclassextension</artifactId>
            <version>2.2.2</version>
            <scope>test</scope>
        </dependency>

        <!-- for aspect based code quality tests -->
        <dependency>
            <groupId>aspectj</groupId>
            <artifactId>aspectjrt</artifactId>
            <version>1.5.2a</version>
        </dependency>
        <!-- selenium driver for integration tests with JUnit/TestNG -->
        <dependency>
            <groupId>org.openqa.selenium.client-drivers</groupId>
            <artifactId>selenium-java-client-driver</artifactId>
            <version>0.9.0</version>
            <scope>test</scope>
        </dependency>

        <!-- XML handling -->
        <dependency>
            <groupId>xom</groupId>
            <artifactId>xom</artifactId>
            <version>1.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>xmlParserAPIs</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xalan</groupId>
                    <artifactId>xalan</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>jaxen</groupId>
                    <artifactId>jaxen</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>jaxen</groupId>
            <artifactId>jaxen</artifactId>
            <version>1.1.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xerces</groupId>
                    <artifactId>xercesImpl</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xom</groupId>
                    <artifactId>xom</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.2.2</version>
            <scope>compile</scope>
        </dependency>
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.6.1</version>
            <exclusions>
                <exclusion>
                    <groupId>xml-apis</groupId>
                    <artifactId>xml-apis</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

    </dependencies>

    <!-- build settings -->
    <build>
        <sourceDirectory>src/main/java</sourceDirectory>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <directory>src/main/java/</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.hbm.xml</include>
                    <include>**/*.jwc</include>
                    <include>**/*.script</include>
                    <include>**/*.page</include>
                    <include>**/*.html</include>
                    <include>**/jaxb.index</include>
                    <include>**/*.email</include>
                </includes>
            </resource>
        </resources>

        <testResources>
            <testResource>
                <directory>src/test/java/</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.hbm.xml</include>
                    <include>**/*.email</include>
                    <include>**/*.template</include>
                    <include>**/*.xml</include>
                </includes>
            </testResource>
            <testResource>
                <directory>src/test/resources</directory>
            </testResource>
        </testResources>

        <finalName>elftale</finalName>

        <plugins>
            <!-- add some buildinformation to the created artifacts -->
            <plugin>
                <groupId>com.tngtech.mavenplugins</groupId>
                <artifactId>tngtech-maven-buildinfo-plugin</artifactId>
                <version>1.0.6</version>
                <executions>
                    <execution>
                        <id>extract</id>
                        <configuration>
                            <systemProperties>
                                <systemProperty>os.name</systemProperty>
                                <systemProperty>user.name</systemProperty>
                                <systemProperty>user.dir</systemProperty>
                            </systemProperties>
                            <outputFile>${project.build.directory}/classes/${project.artifactId}-buildinfo.xml</outputFile>
                        </configuration>
                        <goals>
                            <goal>extract</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <!-- set the compiler to JDK 6.0, standard is JDK 1.4 -->
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>compile</id>
                        <configuration>
                            <verbose>false</verbose>
                            <ajdtBuildDefFile>build.ajproperties</ajdtBuildDefFile>
                        </configuration>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <verbose>false</verbose>
                    <complianceLevel>1.5</complianceLevel>
                    <source>1.5</source>
                    <target>1.5</target>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.4.esg1</version>
                <!-- could be used for new TestNG version (not working currently) -->
                <!-- <version>2.8-SNAPSHOT</version> -->
                <configuration>
                    <!-- old: cint-nightly tests run out of memory in Sun JDK if this is missing...
                 this does not work any more, as the forkMode is none. Please use
                   set MAVEN_OPTS=-Xmx556M
                 or something similar -->
                    <!-- <argLine>-Xmx556M</argLine> -->

                    <!-- as we have patched classes (classes that are also inside other jars) we cannot
                    accept the reordering that occurres when having the default fork mode "once"
                    see
                      http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/SurefireBooter.java?view=markup
                    and
                      http://svn.apache.org/viewvc/maven/plugins/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java?view=markup
                    The problem is that the plugin writes out the classpath to a property file, and the
                    order of the entries seems to get lost by that.
                    If we don't fork, the classpath stays intact.
                    This was researched by Gerhard Müller
                    -->
                    <!--
                    <forkMode>none</forkMode>
                    -->
                    <suiteXmlFiles>
                        <suiteXmlFile>${testng.xmlconfigfile}</suiteXmlFile>
                    </suiteXmlFiles>
                </configuration>
            </plugin>

            <!-- requirements for selenium testing -->
            <plugin>
                <!-- cargo starts an application server during the maven build and deploys our .war file to it -->
                <groupId>org.codehaus.cargo</groupId>
                <artifactId>cargo-maven2-plugin</artifactId>
                <version>0.3.1</version>
                <!-- the server is needed for integration tests, so we start it before the tests run and stop it afterwards -->
                <executions>
                    <execution>
                        <id>start-container</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>stop-container</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <!-- wait = false means that maven will continue once the container is up and not wait for Ctrl+C -->
                    <wait>${cargo.wait}</wait>
                    <container>
                        <!-- install a Tomcat 5.x into a temporary directory -->
                        <containerId>tomcat5x</containerId>
<!--                        <home>${env.CATALINA5_HOME}</home> -->
                        <zipUrlInstaller>
                            <url>http://elftale/apache-tomcat-5.5.23.zip</url>
                            <installDir>${java.io.tmpdir}/cargoinstalls</installDir>
                        </zipUrlInstaller>
                        <output>${project.build.directory}/tomcat5x-container.log</output>
                        <append>false</append>
                        <log>${project.build.directory}/tomcat5x-cargo.log</log>
                    </container>
                    <configuration>
                        <!-- configure an instance of the container -->
                        <type>standalone</type>
                        <home>${project.build.directory}/tomcat5x</home>
                        <properties>
                            <cargo.servlet.port>8080</cargo.servlet.port>
                            <cargo.logging>high</cargo.logging>
                        </properties>
                        <deployables>
                            <!-- cargo automatically deploys the projects .war file with the context $artifactId-$version, we set it here to something fixed that can be referrenced in tests -->
                            <deployable>
                                <properties>
                                    <context>elftale</context>
                                </properties>
                            </deployable>
                        </deployables>
                    </configuration>
                </configuration>
            </plugin>
            <plugin>
                <!-- start a selenium-rc server before the integration test phase, that way, selenium can be driven through JUnit/TestNG tests -->
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>selenium-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>start-selenium</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start-server</goal>
                        </goals>
                        <configuration>
                            <background>true</background>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.1.3</version>
                <configuration>
                    <webAppSourceDirectory>src/main/webapp</webAppSourceDirectory>
                    <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
                    <contextPath>/elftale</contextPath>
                    <!--
                    <webDefaultXml>src/test/config/jetty/webdefault.xml</webDefaultXml>
                    -->
                    <systemProperties>
                        <systemProperty>
                            <name>org.apache.tapestry.disable-caching</name>
                            <value>true</value>
                        </systemProperty>
                    </systemProperties>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.0.4</version>
                    </dependency>
                    <dependency>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                        <version>1.2.13</version>
                    </dependency>
                </dependencies>
            </plugin>


            <!-- see http://mojo.codehaus.org/exec-maven-plugin/introduction.html -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>exec-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>java</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

        </plugins>
    </build>


    <!-- from http://maven.apache.org/guides/mini/guide-multiple-repositories.html -->
    <!-- repositories>
        <repository>
        <id>openqa</id>
        <name>OpenQA Maven Proxy</name>
        <url>http://maven.openqa.org</url>
        <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        </snapshots>
        </repository>
        </repositories -->

    <!-- configuration for project reports/documentation -->
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
            </plugin>
            <!-- cross referrenced source code -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jxr-maven-plugin</artifactId>
            </plugin>
            <!-- dependency analysis -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jdepend-maven-plugin</artifactId>
                <version>2.0-beta-1</version>
            </plugin>
            <!-- list TODOs -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>taglist-maven-plugin</artifactId>
                <configuration>
                    <tags>
                        <tag>TODO</tag>
                        <tag>FIXME</tag>
                    </tags>
                </configuration>
            </plugin>
            <!-- findbugs -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>findbugs-maven-plugin</artifactId>
                <version>1.1</version>
                <configuration>
                    <effort>Default</effort>
                    <xmlOutput>true</xmlOutput>
                    <threshold>Normal</threshold>
                    <debug>true</debug>
                    <excludeFilterFile>${basedir}/src/test/config/findbugs/findbugs-excludes.xml</excludeFilterFile>
                    <includeFilterFile>${basedir}/src/test/config/findbugs/findbugs-includes.xml</includeFilterFile>
                </configuration>
            </plugin>
            <!-- code coverage -->
            <!-- we have to use 2.0 here, see: http://jira.codehaus.org/browse/MCOBERTURA-57 -->
            <!-- plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.0</version>
                </plugin -->
            <!-- generate javadoc when building the site -->
            <!--
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            -->
            <!-- Generate a test report. Because of a known issue in the plugin, it currently reruns the tests before the report is generated. (http://jira.codehaus.org/browse/MSUREFIREREP-6) -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
            </plugin>
            <!-- changelog and activity reports, only works if <scm> is properly configured -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changelog-plugin</artifactId>
                <version>2.0</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <configuration>
                    <configLocation>src/test/config/checkstyle/elftale-checkstyle-config.xml</configLocation>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

</project>


