<commit_before><?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/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <groupId>uk.ac.soton.itinnovation.experimedia</groupId>
    <artifactId>experimedia-arch-ecc</artifactId>
    <version>2.1</version>
    <name>Experiment Content Component</name>
    <packaging>pom</packaging>

    <prerequisites>
        <maven>3.0.0</maven>
    </prerequisites>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <ecc.java.version>1.7</ecc.java.version>

        <ecc.javadocpath>doc/javaDoc</ecc.javadocpath>
        <ecc.assemblypath>src/assembly</ecc.assemblypath>

        <!-- Global thirdparty jar versions -->
        <ecc.junit.version>4.11</ecc.junit.version>
        <ecc.slf4j.version>1.7.7</ecc.slf4j.version>
        <ecc.gson.version>2.2.2</ecc.gson.version>
        <ecc.owlimstore.version>1.3</ecc.owlimstore.version>
        <ecc.jodatime.version>2.1</ecc.jodatime.version>
        <ecc.sardine.version>5.1</ecc.sardine.version>

        <!-- Maven plugin versions -->
        <ecc.surefire.version>2.17</ecc.surefire.version>
        <ecc.javadocplugin.version>2.9.1</ecc.javadocplugin.version>
        <ecc.licenseplugin.version>1.7</ecc.licenseplugin.version>
        <ecc.reportplugin.version>2.7</ecc.reportplugin.version>
        <ecc.resourceplugin.version>2.6</ecc.resourceplugin.version>
        <ecc.assemblyplugin.version>2.4</ecc.assemblyplugin.version>
        <ecc.checkstyleplugin.version>2.12.1</ecc.checkstyleplugin.version>
        <ecc.cleanplugin.version>2.5</ecc.cleanplugin.version>
        <ecc.siteplugin.version>3.3</ecc.siteplugin.version>
        <ecc.compilerplugin.version>3.1</ecc.compilerplugin.version>
        <ecc.versionsplugin.version>2.1</ecc.versionsplugin.version>
        <exec.maven.mojo.ver>1.3.1</exec.maven.mojo.ver>
        <ecc.deployplugin.version>2.8.1</ecc.deployplugin.version>
        <ecc.installplugin.version>2.5.1</ecc.installplugin.version>
        <ecc.jarplugin.version>2.5</ecc.jarplugin.version>
        <ecc.jxrplugin.version>2.3</ecc.jxrplugin.version>
        <ecc.surefirereportplugin.version>2.17</ecc.surefirereportplugin.version>
        <ecc.pmdplugin.version>3.1</ecc.pmdplugin.version>

        <!--License-->
        <license.licenseName>lgpl_v2_1</license.licenseName>
        <project.inceptionYear>2013</project.inceptionYear>
        <project.organization.name>University of Southampton IT Innovation Centre</project.organization.name>
    </properties>

    <!--License-->
    <licenses>
        <license>
            <name>LGPL 2.1</name>
            <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <build>
        <plugins>
            <!-- Plug-in to build the project with UTF-8 encoding __________ -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
            </plugin>
            <!--Remove generated license file on clean-->
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <version>${ecc.cleanplugin.version}</version>
                <configuration>
                    <filesets>
                        <fileset>
                            <directory>.</directory>
                            <includes>
                                <include>LICENSE.txt</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>
        </plugins>

        <pluginManagement>
            <plugins>

                <!-- Compiler configuration ____________________________________ -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${ecc.compilerplugin.version}</version>
                    <configuration>
                        <source>${ecc.java.version}</source>
                        <target>${ecc.java.version}</target>
                        <encoding>${project.build.sourceEncoding}</encoding>
                        <showDeprecation>true</showDeprecation>
                        <showWarnings>true</showWarnings>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>${ecc.deployplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>${ecc.installplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${ecc.jarplugin.version}</version>
                </plugin>

                <!-- Packaging configuration ___________________________________ -->
                <!--
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${ecc.assemblyplugin.version}</version>
                    <configuration>
                        <descriptors>
                            <descriptor>${ecc.assemblypath}/eccSourceAssembly.xml</descriptor>
                        </descriptors>
                    </configuration>
                </plugin>
-->
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>${ecc.licenseplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>${ecc.cleanplugin.version}</version>                    
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${ecc.surefire.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${ecc.javadocplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-project-info-reports-plugin</artifactId>
                    <version>${ecc.reportplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${ecc.assemblyplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>${ecc.checkstyleplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>${ecc.resourceplugin.version}</version>
                    <configuration>
                        <encoding>${project.build.sourceEncoding}</encoding>
                    </configuration>
                </plugin>                                                                                
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>${ecc.siteplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>${ecc.versionsplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jxr-plugin</artifactId>
                    <version>${ecc.jxrplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>${ecc.pmdplugin.version}</version>
                </plugin>  
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-report-plugin</artifactId>
                    <version>${ecc.surefirereportplugin.version}</version>
                </plugin>                
            </plugins>
        </pluginManagement>

    </build>

    <!-- PROFILES __________________________________________________________ -->
    <profiles>

        <!-- profile for jenkins -->
        <profile>
            <id>jenkins</id>

            <reporting>
                <excludeDefaults>true</excludeDefaults>
                <outputDirectory>${basedir}/target/site</outputDirectory>
                <plugins>

                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jxr-plugin</artifactId>
                        <version>${ecc.jxrplugin.version}</version>
                    </plugin>

                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <version>${ecc.reportplugin.version}</version>
                        <configuration>
                            <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                            <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>index</report>
                                    <report>dependencies</report>
                                    <report>dependency-convergence</report>
                                    <report>plugin-management</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                    <!-- Check code conformance __________________________________ -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-checkstyle-plugin</artifactId>
                        <version>${ecc.checkstyleplugin.version}</version>
                        <configuration>
                            <configLocation>checkStyle/checkstyle.xml</configLocation>
                            <headerLocation>checkStyle/regexp.header</headerLocation>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>checkstyle</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                    <!-- report on whether the plugin versions are okay -->
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>versions-maven-plugin</artifactId>
                        <version>${ecc.versionsplugin.version}</version>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>dependency-updates-report</report>
                                    <report>plugin-updates-report</report>
                                    <report>property-updates-report</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                    <!-- report on tests -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-report-plugin</artifactId>
                        <version>${ecc.surefirereportplugin.version}</version>
                    </plugin>

                    <!-- report some bugs -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-pmd-plugin</artifactId>
                        <version>${ecc.pmdplugin.version}</version>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>pmd</report>
                                    <report>cpd</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                </plugins>
            </reporting>

        </profile>

        <profile>
            <id>releasesrc</id>
            <activation>
                <property>
                    <name>releasesrc</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyLocationEnabled>false</dependencyLocationEnabled>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <configuration>
                                    <aggregate>false</aggregate>
                                </configuration>
                                <id>attach-javadocs</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>javadoc</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <configuration>
                            <reportPlugins>
                                <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>license-maven-plugin</artifactId>
                                </plugin>
                                <plugin>
                                    <groupId>org.apache.maven.plugins</groupId>
                                    <artifactId>maven-project-info-reports-plugin</artifactId>
                                    <reportSets>
                                        <reportSet>
                                            <reports>
                                                <report>index</report>
                                            </reports>
                                        </reportSet>
                                    </reportSets>
                                </plugin>
                            </reportPlugins>
                        </configuration>
                    </plugin>
                </plugins>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-assembly-plugin</artifactId>
                            <configuration>
                                <descriptors>
                                    <descriptor>${ecc.assemblypath}/src.xml</descriptor>
                                </descriptors>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-project-info-reports-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>add-licenses</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>index</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <configuration>
                                <quiet>true</quiet>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>license-maven-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>third-party-report</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>third-party-report</goal>
                                    </goals>
                                    <configuration>
                                        <useMissingFile>true</useMissingFile>
                                    </configuration>
                                </execution>
                                <execution>
                                    <id>update-project-license</id>
                                    <goals>
                                        <goal>update-project-license</goal>
                                    </goals>
                                    <phase>package</phase>
                                </execution>
                                <execution>
                                    <id>license-list</id>
                                    <goals>
                                        <goal>license-list</goal>
                                    </goals>
                                    <configuration>
                                        <detail>true</detail>
                                    </configuration>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>

            </build>
            <reporting>
                <excludeDefaults>true</excludeDefaults>
                <outputDirectory>${project.build.directory}/site</outputDirectory>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                            <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>index</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                    </plugin>
                </plugins>
            </reporting>
        </profile>

        <profile>
            <id>releasebin</id>
            <activation>
                <property>
                    <name>releasebin</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyLocationEnabled>false</dependencyLocationEnabled>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <configuration>
                                    <aggregate>false</aggregate>
                                </configuration>
                                <id>attach-javadocs</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>javadoc</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <configuration>
                            <reportPlugins>
                                <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>license-maven-plugin</artifactId>
                                </plugin>
                                <plugin>
                                    <groupId>org.apache.maven.plugins</groupId>
                                    <artifactId>maven-project-info-reports-plugin</artifactId>
                                    <reportSets>
                                        <reportSet>
                                            <reports>
                                                <report>index</report>
                                            </reports>
                                        </reportSet>
                                    </reportSets>
                                </plugin>
                            </reportPlugins>
                        </configuration>
                    </plugin>
                </plugins>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-assembly-plugin</artifactId>
                            <configuration>
                                <descriptors>
                                    <descriptor>${ecc.assemblypath}/bin.xml</descriptor>
                                </descriptors>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-project-info-reports-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>add-licenses</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>index</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <configuration>
                                <quiet>true</quiet>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>license-maven-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>third-party-report</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>third-party-report</goal>
                                    </goals>
                                    <configuration>
                                        <useMissingFile>true</useMissingFile>
                                    </configuration>
                                </execution>
                                <execution>
                                    <id>update-project-license</id>
                                    <goals>
                                        <goal>update-project-license</goal>
                                    </goals>
                                    <phase>package</phase>
                                </execution>
                                <execution>
                                    <id>license-list</id>
                                    <goals>
                                        <goal>license-list</goal>
                                    </goals>
                                    <configuration>
                                        <detail>true</detail>
                                    </configuration>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>

            </build>
            <reporting>
                <excludeDefaults>true</excludeDefaults>
                <outputDirectory>${project.build.directory}/site</outputDirectory>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                            <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>index</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                    </plugin>
                </plugins>
            </reporting>
        </profile>

    </profiles>

    <!-- 3rd party repositories _____________________________________________  -->
    <repositories>

        <repository>
            <id>central</id>
            <url>http://repo1.maven.org/maven2/</url>
        </repository>

        <!-- repository>
            <id>uk.ac.soton.itinnovation</id>
            <url>http://repo.it-innovation.soton.ac.uk/maven2/release/</url>
        </repository -->

    </repositories>

    <!-- Modules _____________________________________________________________ -->
    <modules>
        <module>common</module>
        <module>amqpAPI</module><commit_msg>Uncomments repository reference to use IT Innovation repository<commit_after><?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/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>
    <groupId>uk.ac.soton.itinnovation.experimedia</groupId>
    <artifactId>experimedia-arch-ecc</artifactId>
    <version>2.1</version>
    <name>Experiment Content Component</name>
    <packaging>pom</packaging>

    <prerequisites>
        <maven>3.0.0</maven>
    </prerequisites>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <ecc.java.version>1.7</ecc.java.version>

        <ecc.javadocpath>doc/javaDoc</ecc.javadocpath>
        <ecc.assemblypath>src/assembly</ecc.assemblypath>

        <!-- Global thirdparty jar versions -->
        <ecc.junit.version>4.11</ecc.junit.version>
        <ecc.slf4j.version>1.7.7</ecc.slf4j.version>
        <ecc.gson.version>2.2.2</ecc.gson.version>
        <ecc.owlimstore.version>1.3</ecc.owlimstore.version>
        <ecc.jodatime.version>2.1</ecc.jodatime.version>
        <ecc.sardine.version>5.1</ecc.sardine.version>

        <!-- Maven plugin versions -->
        <ecc.surefire.version>2.17</ecc.surefire.version>
        <ecc.javadocplugin.version>2.9.1</ecc.javadocplugin.version>
        <ecc.licenseplugin.version>1.7</ecc.licenseplugin.version>
        <ecc.reportplugin.version>2.7</ecc.reportplugin.version>
        <ecc.resourceplugin.version>2.6</ecc.resourceplugin.version>
        <ecc.assemblyplugin.version>2.4</ecc.assemblyplugin.version>
        <ecc.checkstyleplugin.version>2.12.1</ecc.checkstyleplugin.version>
        <ecc.cleanplugin.version>2.5</ecc.cleanplugin.version>
        <ecc.siteplugin.version>3.3</ecc.siteplugin.version>
        <ecc.compilerplugin.version>3.1</ecc.compilerplugin.version>
        <ecc.versionsplugin.version>2.1</ecc.versionsplugin.version>
        <exec.maven.mojo.ver>1.3.1</exec.maven.mojo.ver>
        <ecc.deployplugin.version>2.8.1</ecc.deployplugin.version>
        <ecc.installplugin.version>2.5.1</ecc.installplugin.version>
        <ecc.jarplugin.version>2.5</ecc.jarplugin.version>
        <ecc.jxrplugin.version>2.3</ecc.jxrplugin.version>
        <ecc.surefirereportplugin.version>2.17</ecc.surefirereportplugin.version>
        <ecc.pmdplugin.version>3.1</ecc.pmdplugin.version>

        <!--License-->
        <license.licenseName>lgpl_v2_1</license.licenseName>
        <project.inceptionYear>2013</project.inceptionYear>
        <project.organization.name>University of Southampton IT Innovation Centre</project.organization.name>
    </properties>

    <!--License-->
    <licenses>
        <license>
            <name>LGPL 2.1</name>
            <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
            <distribution>repo</distribution>
        </license>
    </licenses>

    <build>
        <plugins>
            <!-- Plug-in to build the project with UTF-8 encoding __________ -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
            </plugin>
            <!--Remove generated license file on clean-->
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <version>${ecc.cleanplugin.version}</version>
                <configuration>
                    <filesets>
                        <fileset>
                            <directory>.</directory>
                            <includes>
                                <include>LICENSE.txt</include>
                            </includes>
                        </fileset>
                    </filesets>
                </configuration>
            </plugin>
        </plugins>

        <pluginManagement>
            <plugins>

                <!-- Compiler configuration ____________________________________ -->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${ecc.compilerplugin.version}</version>
                    <configuration>
                        <source>${ecc.java.version}</source>
                        <target>${ecc.java.version}</target>
                        <encoding>${project.build.sourceEncoding}</encoding>
                        <showDeprecation>true</showDeprecation>
                        <showWarnings>true</showWarnings>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>${ecc.deployplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>${ecc.installplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>${ecc.jarplugin.version}</version>
                </plugin>

                <!-- Packaging configuration ___________________________________ -->
                <!--
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${ecc.assemblyplugin.version}</version>
                    <configuration>
                        <descriptors>
                            <descriptor>${ecc.assemblypath}/eccSourceAssembly.xml</descriptor>
                        </descriptors>
                    </configuration>
                </plugin>
-->
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>${ecc.licenseplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-clean-plugin</artifactId>
                    <version>${ecc.cleanplugin.version}</version>                    
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>${ecc.surefire.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <version>${ecc.javadocplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-project-info-reports-plugin</artifactId>
                    <version>${ecc.reportplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>${ecc.assemblyplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <version>${ecc.checkstyleplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>${ecc.resourceplugin.version}</version>
                    <configuration>
                        <encoding>${project.build.sourceEncoding}</encoding>
                    </configuration>
                </plugin>                                                                                
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-site-plugin</artifactId>
                    <version>${ecc.siteplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.codehaus.mojo</groupId>
                    <artifactId>versions-maven-plugin</artifactId>
                    <version>${ecc.versionsplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jxr-plugin</artifactId>
                    <version>${ecc.jxrplugin.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>${ecc.pmdplugin.version}</version>
                </plugin>  
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-report-plugin</artifactId>
                    <version>${ecc.surefirereportplugin.version}</version>
                </plugin>                
            </plugins>
        </pluginManagement>

    </build>

    <!-- PROFILES __________________________________________________________ -->
    <profiles>

        <!-- profile for jenkins -->
        <profile>
            <id>jenkins</id>

            <reporting>
                <excludeDefaults>true</excludeDefaults>
                <outputDirectory>${basedir}/target/site</outputDirectory>
                <plugins>

                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jxr-plugin</artifactId>
                        <version>${ecc.jxrplugin.version}</version>
                    </plugin>

                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <version>${ecc.reportplugin.version}</version>
                        <configuration>
                            <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                            <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>index</report>
                                    <report>dependencies</report>
                                    <report>dependency-convergence</report>
                                    <report>plugin-management</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                    <!-- Check code conformance __________________________________ -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-checkstyle-plugin</artifactId>
                        <version>${ecc.checkstyleplugin.version}</version>
                        <configuration>
                            <configLocation>checkStyle/checkstyle.xml</configLocation>
                            <headerLocation>checkStyle/regexp.header</headerLocation>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>checkstyle</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                    <!-- report on whether the plugin versions are okay -->
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>versions-maven-plugin</artifactId>
                        <version>${ecc.versionsplugin.version}</version>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>dependency-updates-report</report>
                                    <report>plugin-updates-report</report>
                                    <report>property-updates-report</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                    <!-- report on tests -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-report-plugin</artifactId>
                        <version>${ecc.surefirereportplugin.version}</version>
                    </plugin>

                    <!-- report some bugs -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-pmd-plugin</artifactId>
                        <version>${ecc.pmdplugin.version}</version>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>pmd</report>
                                    <report>cpd</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>

                </plugins>
            </reporting>

        </profile>

        <profile>
            <id>releasesrc</id>
            <activation>
                <property>
                    <name>releasesrc</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyLocationEnabled>false</dependencyLocationEnabled>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <configuration>
                                    <aggregate>false</aggregate>
                                </configuration>
                                <id>attach-javadocs</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>javadoc</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <configuration>
                            <reportPlugins>
                                <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>license-maven-plugin</artifactId>
                                </plugin>
                                <plugin>
                                    <groupId>org.apache.maven.plugins</groupId>
                                    <artifactId>maven-project-info-reports-plugin</artifactId>
                                    <reportSets>
                                        <reportSet>
                                            <reports>
                                                <report>index</report>
                                            </reports>
                                        </reportSet>
                                    </reportSets>
                                </plugin>
                            </reportPlugins>
                        </configuration>
                    </plugin>
                </plugins>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-assembly-plugin</artifactId>
                            <configuration>
                                <descriptors>
                                    <descriptor>${ecc.assemblypath}/src.xml</descriptor>
                                </descriptors>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-project-info-reports-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>add-licenses</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>index</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <configuration>
                                <quiet>true</quiet>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>license-maven-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>third-party-report</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>third-party-report</goal>
                                    </goals>
                                    <configuration>
                                        <useMissingFile>true</useMissingFile>
                                    </configuration>
                                </execution>
                                <execution>
                                    <id>update-project-license</id>
                                    <goals>
                                        <goal>update-project-license</goal>
                                    </goals>
                                    <phase>package</phase>
                                </execution>
                                <execution>
                                    <id>license-list</id>
                                    <goals>
                                        <goal>license-list</goal>
                                    </goals>
                                    <configuration>
                                        <detail>true</detail>
                                    </configuration>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>

            </build>
            <reporting>
                <excludeDefaults>true</excludeDefaults>
                <outputDirectory>${project.build.directory}/site</outputDirectory>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                            <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>index</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                    </plugin>
                </plugins>
            </reporting>
        </profile>

        <profile>
            <id>releasebin</id>
            <activation>
                <property>
                    <name>releasebin</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>license-maven-plugin</artifactId>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyLocationEnabled>false</dependencyLocationEnabled>
                        </configuration>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <executions>
                            <execution>
                                <configuration>
                                    <aggregate>false</aggregate>
                                </configuration>
                                <id>attach-javadocs</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>javadoc</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <configuration>
                            <reportPlugins>
                                <plugin>
                                    <groupId>org.codehaus.mojo</groupId>
                                    <artifactId>license-maven-plugin</artifactId>
                                </plugin>
                                <plugin>
                                    <groupId>org.apache.maven.plugins</groupId>
                                    <artifactId>maven-project-info-reports-plugin</artifactId>
                                    <reportSets>
                                        <reportSet>
                                            <reports>
                                                <report>index</report>
                                            </reports>
                                        </reportSet>
                                    </reportSets>
                                </plugin>
                            </reportPlugins>
                        </configuration>
                    </plugin>
                </plugins>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-assembly-plugin</artifactId>
                            <configuration>
                                <descriptors>
                                    <descriptor>${ecc.assemblypath}/bin.xml</descriptor>
                                </descriptors>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-project-info-reports-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>add-licenses</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>index</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <configuration>
                                <quiet>true</quiet>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>license-maven-plugin</artifactId>
                            <executions>
                                <execution>
                                    <id>third-party-report</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>third-party-report</goal>
                                    </goals>
                                    <configuration>
                                        <useMissingFile>true</useMissingFile>
                                    </configuration>
                                </execution>
                                <execution>
                                    <id>update-project-license</id>
                                    <goals>
                                        <goal>update-project-license</goal>
                                    </goals>
                                    <phase>package</phase>
                                </execution>
                                <execution>
                                    <id>license-list</id>
                                    <goals>
                                        <goal>license-list</goal>
                                    </goals>
                                    <configuration>
                                        <detail>true</detail>
                                    </configuration>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>

            </build>
            <reporting>
                <excludeDefaults>true</excludeDefaults>
                <outputDirectory>${project.build.directory}/site</outputDirectory>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-project-info-reports-plugin</artifactId>
                        <configuration>
                            <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                            <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
                        </configuration>
                        <reportSets>
                            <reportSet>
                                <reports>
                                    <report>index</report>
                                </reports>
                            </reportSet>
                        </reportSets>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                    </plugin>
                </plugins>
            </reporting>
        </profile>

    </profiles>

    <!-- 3rd party repositories _____________________________________________  -->
    <repositories>

        <repository>
            <id>central</id>
            <url>http://repo1.maven.org/maven2/</url>
        </repository>

        <repository>
            <id>uk.ac.soton.itinnovation</id>
            <url>http://repo.it-innovation.soton.ac.uk/maven2/release/</url>
        </repository>

    </repositories>

    <!-- Modules _____________________________________________________________ -->
    <modules>
        <module>common</module>
        <module>amqpAPI</module>
{'fraction_non_alphanumeric': 0.09977205571971295, 'fraction_numerical': 0.003512030392570705, 'mean_word_length': 0.9089151034616129, 'pattern_counts': {'":': 0, '<': 1715, '<?xml version=': 2, '>': 1715, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 198, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '148576', 'n_tokens_mistral': 14039, 'n_tokens_neox': 12003, 'n_words': 1306}