<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>org.corfudb</groupId>
    <artifactId>corfudb</artifactId>
    <version>0.1-SNAPSHOT</version>
    <packaging>jar</packaging>
    <name>CorfuDB</name>
    <url>http://www.corfudb.org</url>
    <description>A cloud scale-consistency platform</description>

    <organization>
        <name>CorfuDB</name>
        <url>http://www.corfudb.org</url>
    </organization>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    </properties>

    <scm>
        <connection>scm:git:git://github.com/CorfuDB/CorfuDB.git</connection>
        <developerConnection>scm:git:git://github.com:CorfuDB/CorfuDB.git</developerConnection>
        <url>http://github.com/CorfuDB/CorfuDB</url>
    </scm>

    <licenses>
        <license>
            <name>The Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Mahesh Balakrishnan</name>
        </developer>
        <developer>
            <name>Dahlia Malkhi</name>
        </developer>
        <developer>
            <name>Chris Rossbach</name>
        </developer>
        <developer>
            <name>Michael Wei</name>
            <email>mwei@cs.ucsd.edu</email>
        </developer>
    </developers>

    <reporting>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-javadoc-plugin</artifactId>
                    <configuration>
                        <links>
                            <link>http://docs.oracle.com/javase8/docs/api</link>
                        </links>
                        <failOnError>false</failOnError>
                        <additionalparam>-Xdoclint:none</additionalparam>
                    </configuration>
                </plugin>
            </plugins>
        </reporting>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.6</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.6</version>
        </dependency>
        <dependency>
            <groupId>org.apache.thrift</groupId>
            <artifactId>libthrift</artifactId>
            <version>0.9.2</version>
        </dependency>
        <dependency>
            <groupId>org.yaml</groupId>
            <artifactId>snakeyaml</artifactId>
            <version>1.15</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
            <artifactId>javax.json</artifactId>
            <version>1.0.4</version>
        </dependency>
        <dependency>
            <groupId>org.reflections</groupId>
            <artifactId>reflections</artifactId>
            <version>0.9.9</version>
        </dependency>
        <dependency>
            <groupId>gnu.getopt</groupId>
            <artifactId>java-getopt</artifactId>
            <version>1.0.13</version>
        </dependency>
        <dependency>
            <groupId>commons-pool</groupId>
            <artifactId>commons-pool</artifactId>
            <version>1.6</version>
        </dependency>
        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
            <version>2.6.0</version>
            <type>jar</type>
            <scope>compile</scope>
        </dependency>
	<dependency>
	    <groupId>org.rocksdb</groupId>
	    <artifactId>rocksdbjni</artifactId>
	    <version>3.6.2</version>
	</dependency>
        <dependency>
            <groupId>io.dropwizard.metrics</groupId>
            <artifactId>metrics-core</artifactId>
            <version>3.1.0</version>
        </dependency>
        <dependency>
			<groupId>org.apache.zookeeper</groupId>
			<artifactId>zookeeper</artifactId>
			<version>3.4.6</version>
        </dependency>
        <dependency>
            <groupId>com.thetransactioncompany</groupId>
            <artifactId>jsonrpc2-client</artifactId>
            <version>1.14.4</version>
        </dependency>
        <dependency>
            <groupId>com.esotericsoftware</groupId>
            <artifactId>kryo</artifactId>
            <version>3.0.1</version>
        </dependency>
        <!--
        <dependency>
            <groupId>com.esotericsoftware</groupId>
            <artifactId>kryonet</artifactId>
            <version>2.22.0-RC1</version>
        </dependency>
        -->
        <dependency>
            <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
            <artifactId>concurrentlinkedhashmap-lru</artifactId>
            <version>1.4.2</version>
        </dependency>
        <dependency>
            <groupId>org.scijava</groupId>
            <artifactId>native-lib-loader</artifactId>
            <version>2.0.2</version>
        </dependency>
        <dependency>
            <groupId>com.boundary</groupId>
            <artifactId>high-scale-lib</artifactId>
            <version>1.0.6</version>
        </dependency>
        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>3.0.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.github.marschall</groupId>
            <artifactId>junit-lambda</artifactId>
            <version>0.2.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.jmeter</groupId>
            <artifactId>ApacheJMeter_core</artifactId>
            <version>2.13</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <artifactId>commons-math3</artifactId>
                    <groupId>commons-math3</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-pool2</artifactId>
                    <groupId>commons-pool2</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.jmeter</groupId>
            <artifactId>ApacheJMeter_java</artifactId>
            <version>2.13</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <artifactId>commons-math3</artifactId>
                    <groupId>commons-math3</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-pool2</artifactId>
                    <groupId>commons-pool2</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.apache.jmeter</groupId>
            <artifactId>ApacheJMeter_functions</artifactId>
            <version>2.13</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <artifactId>commons-math3</artifactId>
                    <groupId>commons-math3</groupId>
                </exclusion>
                <exclusion>
                    <artifactId>commons-pool2</artifactId>
                    <groupId>commons-pool2</groupId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.9.1</version>
                <executions>
                    <execution>
                        <phase>generate-sources</phase>
                        <goals><goal>add-source</goal></goals>
                        <configuration>
                            <sources>
                                <source>${project.build.directory}/generated-sources/thrift</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <!-- Make a folder `target/libs/` with all the dependencies -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <version>2.8</version>
                <executions>
                    <execution>
                        <id>copy-dependencies</id>
                        <phase>package</phase>
                        <goals>
                            <goal>copy-dependencies</goal>
                        </goals>
                        <configuration>
                            <outputDirectory>${project.build.directory}/libs/</outputDirectory>
                            <excludeArtifactIds>jdk.tools-1.8.jar</excludeArtifactIds>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <compilerVersion>1.8</compilerVersion>
                    <source>1.8</source>
                    <target>1.8</target>
                    <showDeprecation>true</showDeprecation>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
            <!-- Make a folder `target/*-shaded.jar/` with this project and all its dependencies -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>2.3</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
						<configuration>
							<filters>
								<filter>
								<artifact>*:*</artifact>
								<excludes>
									<exclude>META-INF/*.SF</exclude>
									<exclude>META-INF/*.DSA</exclude>
									<exclude>META-INF/*.RSA</exclude>
                                </excludes>
								</filter>
							</filters>
						</configuration>
                    </execution>
                </executions>
                <configuration>
                    <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar
                    </outputFile>
                </configuration>
            </plugin>
            <!-- Add a license to all files using mvn license:format -->
            <plugin>
                <groupId>com.mycila.maven-license-plugin</groupId>
                <artifactId>maven-license-plugin</artifactId>
                <version>1.8</version>
                <configuration>
                    <header>LICENSE.txt</header>
                    <strictCheck>true</strictCheck>
                </configuration>
            </plugin>
            <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.10.1</version>
            <configuration>
                <additionalparam>-Xdoclint:none</additionalparam>
            </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.thrift.tools</groupId>
                <artifactId>maven-thrift-plugin</artifactId>
                <version>0.1.11</version>
                <configuration>
                </configuration>
                <executions>
                    <execution>
                        <id>thrift-sources</id>
                        <phase>generate-sources</phase>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>thrift-test-sources</id>
                        <phase>generate-test-sources</phase>
                        <goals>
                            <goal>testCompile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>jdeb</artifactId>
                <groupId>org.vafer</groupId>
                <version>1.3</version>
                <executions>
                    <execution>
                      <phase>package</phase>
                      <goals>
                        <goal>jdeb</goal>
                      </goals>
                      <configuration>
                        <dataSet>
                          <data>
                            <src>${project.build.directory}/${project.build.finalName}-shaded.jar</src>
                            <type>file</type>
                            <mapper>
                              <type>perm</type>
                              <prefix>/usr/share/corfudb/lib</prefix>
                            </mapper>
                          </data>
                          <data>
                            <src>bin</src>
                            <type>directory</type>
                            <mapper>
                                <type>perm</type>
                                <prefix>/usr/share/corfudb/bin</prefix>
                                <filemode>755</filemode>
                            </mapper>
                           </data>
                           <data>
                               <type>link</type>
                               <linkName>/usr/bin/corfuDBLaunch</linkName>
                               <linkTarget>/usr/share/corfudb/bin/corfuDBLaunch.sh</linkTarget>
                               <symlink>true</symlink>
                               <mapper>
                                   <type>perm</type>
                                   <filemode>755</filemode>
                                </mapper>
                            </data>
                           <data>
                               <type>link</type>
                               <linkName>/usr/bin/corfuDBTest</linkName>
                               <linkTarget>/usr/share/corfudb/bin/corfuDBTest.sh</linkTarget>
                               <symlink>true</symlink>
                               <mapper>
                                   <type>perm</type>
                                   <filemode>755</filemode>
                                </mapper>
                            </data>

                        </dataSet>
                      </configuration>
                  </execution>
                  <execution>
                      <id>deb-sequencer-package</id>
                      <phase>package</phase>
                      <goals>
                        <goal>jdeb</goal>
                      </goals>
                      <configuration>
                          <deb>${project.build.directory}/${project.build.finalName}-sequencer.deb</deb>
                          <controlDir>src/deb/control_sequencer</controlDir>
                          <dataSet>
                          <data>
                              <src>conf/sequencer.yml</src>
                            <type>file</type>
                            <mapper>
                              <type>perm</type>
                              <prefix>/etc/corfudb</prefix>
                            </mapper>
                            </data>
                            <data>
                                <src>src/deb/init.d/CorfuDB-sequencer</src>
                                <type>file</type>
                                <mapper>
                                    <type>perm</type>
                                    <prefix>/etc/init.d</prefix>
                                    <filemode>755</filemode>
                                </mapper>
                            </data>
                        </dataSet>
                      </configuration>
                  </execution>
                  <execution>
                      <id>deb-logunit-package</id>
                      <phase>package</phase>
                      <goals>
                        <goal>jdeb</goal>
                      </goals>
                      <configuration>
                          <deb>${project.build.directory}/${project.build.finalName}-logunit.deb</deb>
                          <controlDir>src/deb/control_logunit</controlDir>
                          <dataSet>
                          <data>
                              <src>conf/logunit.yml</src>
                            <type>file</type>
                            <mapper>
                              <type>perm</type>
                              <prefix>/etc/corfudb</prefix>
                            </mapper>
                            </data>
                            <data>
                                <src>src/deb/init.d/CorfuDB-logunit</src>
                                <type>file</type>
                                <mapper>
                                    <type>perm</type>
                                    <prefix>/etc/init.d</prefix>
                                    <filemode>755</filemode>
                                </mapper>
                            </data>
                        </dataSet>
                      </configuration>
                    </execution>
                  <execution>
                      <id>deb-configmaster-package</id>
                      <phase>package</phase>
                      <goals>
                        <goal>jdeb</goal>
                      </goals>
                      <configuration>
                          <deb>${project.build.directory}/${project.build.finalName}-configmaster.deb</deb>
                          <controlDir>src/deb/control_configmaster</controlDir>
                          <dataSet>
                          <data>
                              <src>conf/configmaster.yml</src>
                            <type>file</type>
                            <mapper>
                              <type>perm</type>
                              <prefix>/etc/corfudb</prefix>
                            </mapper>
                            </data>
                            <data>
                                <src>src/deb/init.d/CorfuDB-configmaster</src>
                                <type>file</type>
                                <mapper>
                                    <type>perm</type>
                                    <prefix>/etc/init.d</prefix>
                                    <filemode>755</filemode>
                                </mapper>
                            </data>
                        </dataSet>
                      </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.github.maven-nar</groupId>
                <artifactId>nar-maven-plugin</artifactId>
                <version>3.2.2</version>
                <extensions>true</extensions>
                <configuration>
                    <javah>
                        <includes>
                            <include>**/InMemoryStream.class</include>
                        </includes>
                        <excludes>
                        </excludes>
                    </javah>
                    <c>
                        <sourceDirectory>src/main/c</sourceDirectory>
                    </c>
                    <libraries>
                        <library>
                            <!-- this should actually be jni, but due to nar bug using jnilib instead of dynlib on mac os X, it is set to shared-->
                            <type>shared</type>
                            <narSystemPackage>org.corfudb.client.view</narSystemPackage>
                        </library>
                    </libraries>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.github.eirslett</groupId>
                <artifactId>frontend-maven-plugin</artifactId>
                <version>0.0.23</version>
                <configuration>
                    <workingDirectory>src/main/frontend</workingDirectory>
                </configuration>
                <executions>
                    <execution>
                        <id>install node and npm</id>
                        <goals>
                            <goal>install-node-and-npm</goal>
                        </goals>
                        <configuration>
                            <nodeVersion>v0.12.0</nodeVersion>
                            <npmVersion>2.3.0</npmVersion>
                        </configuration>
                    </execution>
                    <execution>
                        <id>npm install</id>
                        <goals>
                            <goal>npm</goal>
                        </goals>
                        <configuration>
                            <arguments>install</arguments>
                        </configuration>
                    </execution>
                    <execution>
                        <id>bower install</id>
                        <goals>
                            <goal>bower</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>gulp build</id>
                        <goals>
                            <goal>gulp</goal>
                        </goals>
                        <configuration>
                            <arguments>build</arguments>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.eluder.coveralls</groupId>
                <artifactId>coveralls-maven-plugin</artifactId>
                <version>3.1.0</version>
                <configuration>
                    <jacocoReports>
                    </jacocoReports>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <version>0.7.4.201502262128</version>
                <configuration>
                    <excludes>
                        <excludes>**/thrift/**/*.class</excludes>
                    </excludes>
                </configuration>
                <executions>
                    <execution>
                        <id>prepare-agent</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.18.1</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <version>2.18.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.bazaarvoice.maven.plugins</groupId>
                <artifactId>process-exec-maven-plugin</artifactId>
                <version>0.7</version>
                <executions>
                    <!--Start process 1, eg., a dropwizard app dependency-->
                    <execution>
                        <id>redis-process</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>redis</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>redis-server</argument>
                                <argument>--port 12900</argument>
                            </arguments>
                        </configuration>
                    </execution>
                    <execution>
                        <id>configmaster-process-1</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>configmaster-1</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>java</argument>
                                <argument>-cp</argument>
                                <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                                <argument>org.corfudb.infrastructure.ConfigParser</argument>
                                <argument>${basedir}/conf/it_configmaster_1.yml</argument>
                            </arguments>
                            <processLogFile>${project.build.directory}/it_configmaster_1.log</processLogFile>
                            <healthcheckUrl>http://localhost:12700/corfu</healthcheckUrl>
                        </configuration>
                    </execution>
                    <execution>
                        <id>configmaster-process-2</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>configmaster-2</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>java</argument>
                                <argument>-cp</argument>
                                <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                                <argument>org.corfudb.infrastructure.ConfigParser</argument>
                                <argument>${basedir}/conf/it_configmaster_2.yml</argument>
                            </arguments>
                            <processLogFile>${project.build.directory}/it_configmaster_2.log</processLogFile>
                            <healthcheckUrl>http://localhost:12701/corfu</healthcheckUrl>
                        </configuration>
                    </execution>
                    <execution>
                        <id>logunit-process</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>logunit-1</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>java</argument>
                                <argument>-cp</argument>
                                <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                                <argument>org.corfudb.infrastructure.ConfigParser</argument>
                                <argument>${basedir}/conf/it_logunit_1.yml</argument>
                            </arguments>
                            <processLogFile>${project.build.directory}/it_logunit_1.log</processLogFile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>logunit2-process</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>logunit-2</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>java</argument>
                                <argument>-cp</argument>
                                <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                                <argument>org.corfudb.infrastructure.ConfigParser</argument>
                                <argument>${basedir}/conf/it_logunit_2.yml</argument>
                            </arguments>
                            <processLogFile>${project.build.directory}/it_logunit_2.log</processLogFile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>rockslogunit-process</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>rockslogunit</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>java</argument>
                                <argument>-cp</argument>
                                <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                                <argument>org.corfudb.infrastructure.ConfigParser</argument>
                                <argument>${basedir}/conf/rockslogunit.yml</argument>
                            </arguments>
                            <processLogFile>${project.build.directory}/rockslogunit.log</processLogFile>
                        </configuration>
                    </execution>
                    <execution>
                    <id>sequencer-process</id>
                    <phase>pre-integration-test</phase>
                    <goals>
                        <goal>start</goal>
                    </goals>
                    <configuration>
                        <name>sequencer-1</name>
                        <waitForInterrupt>false</waitForInterrupt>
                        <waitAfterLaunch>5</waitAfterLaunch>
                        <arguments>
                            <argument>java</argument>
                            <argument>-cp</argument>
                            <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                            <argument>org.corfudb.infrastructure.ConfigParser</argument>
                            <argument>${basedir}/conf/it_sequencer_1.yml</argument>
                        </arguments>
                        <processLogFile>${project.build.directory}/it_sequencer_1.log</processLogFile>
                    </configuration>
                    </execution>
                    <execution>
                        <id>sequencer-2-process</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>start</goal>
                        </goals>
                        <configuration>
                            <name>sequencer-2</name>
                            <waitForInterrupt>false</waitForInterrupt>
                            <waitAfterLaunch>5</waitAfterLaunch>
                            <arguments>
                                <argument>java</argument>
                                <argument>-cp</argument>
                                <argument>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</argument>
                                <argument>org.corfudb.infrastructure.ConfigParser</argument>
                                <argument>${basedir}/conf/it_sequencer_2.yml</argument>
                            </arguments>
                            <processLogFile>${project.build.directory}/it_sequencer_2.log</processLogFile>
                        </configuration>
                    </execution>
                    <!--Stop all processes in reverse order-->
                    <execution>
                        <id>stop-all</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>stop-all</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>com.lazerycode.jmeter</groupId>
                <artifactId>jmeter-maven-plugin</artifactId>
                <version>1.10.1</version>
                <executions>
                    <execution>
                        <id>jmeter-tests</id>
                        <phase>integration-test</phase>
                        <goals>
                            <goal>jmeter</goal>
                        </goals>
                        <configuration>
			<testFilesIncluded>
			<jMeterTestFile>rockslogunit.jmx</jMeterTestFile>
			<jMeterTestFile>logunit.jmx</jMeterTestFile>
			</testFilesIncluded>
                         <!--   <skipTests>${skipTests}</skipTests> -->
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <id>default</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
			    <tasks>
				<delete dir="${project.build.directory}/testFile"/>
			    </tasks>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>

    <resources>
        <resource>
            <directory>src/main/frontend/build/</directory>
        </resource>
    </resources>

    </build>
</project>
