pom.xml

<project xmlns=http://maven.apache.org/POM/4.0.0&#8221; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance&#8221;

  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&#8221;>

  <modelVersion>4.0.0</modelVersion>

  <groupId>sling</groupId>

  <artifactId>falcon</artifactId>

  <version>0.0.1-SNAPSHOT</version>

  <packaging>jar</packaging>

  <name>falcon</name>

  <url>http://maven.apache.org</url>

  <properties>

    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <suiteXmlFile>testng.xml</suiteXmlFile>

  <skipTests>false</skipTests>

  </properties>

  <dependencies>

        <dependency>

<groupId>org.testng</groupId>

<artifactId>testng</artifactId>

<version>6.8.8</version>

</dependency>

<!– Adding Selenium dependency –>

<dependency>

<groupId>org.seleniumhq.selenium</groupId>

<artifactId>selenium-server</artifactId>

<version>2.45.0</version>

</dependency>

<dependency>

  <groupId>org.apache.directory.studio</groupId>

  <artifactId>org.apache.logging.log4j</artifactId>

  <version>1.2.17</version>

</dependency>

<dependency>

  <groupId>com.google.code.gson</groupId>

  <artifactId>gson</artifactId>

  <version>2.3.1</version>

</dependency>

<dependency>

  <groupId>mysql</groupId>

  <artifactId>mysql-connector-java</artifactId>

  <version>5.1.18</version>

</dependency>

  <dependency>

  <groupId>com.jcraft</groupId>

  <artifactId>jsch</artifactId>

  <version>0.1.51</version>

</dependency>

  <dependency>

  <groupId>junit</groupId>

  <artifactId>junit</artifactId>

  <version>4.11</version>

  <scope>test</scope>

  </dependency>

  </dependencies>

  <build>

  

  <plugins>

      <plugin>

  <groupId>org.apache.maven.plugins</groupId>

  <artifactId>maven-project-info-reports-plugin</artifactId>

  <version>2.7</version>

  </plugin>

  

  <plugin>

<artifactId>mavensurefireplugin</artifactId>

<version>2.10</version>

</plugin>

<plugin>

        <groupId>org.codehaus.cargo</groupId>

        <artifactId>cargo-maven2-plugin</artifactId>

        <version>1.1.4</version>

        <configuration>

          <container>

            <containerId>tomcat7x</containerId>

            <zipUrlInstaller>

              <url>http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.22/bin/apache-tomcat-7.0.22.zip</url>

            </zipUrlInstaller>

          </container>

          <configuration>

            <properties>

              <cargo.servlet.port>8180</cargo.servlet.port>

              <cargo.tomcat.ajp.port>8109</cargo.tomcat.ajp.port>

            </properties>

          </configuration>

        </configuration>

        <executions>

          <!– start server before integration tests –>

          <execution>

            <id>start-container</id>

            <phase>pre-integration-test</phase>

            <goals>

              <goal>start</goal>

            </goals>

          </execution>

          <!– stop server after integration tests –>

          <execution>

            <id>stop-container</id>

            <phase>post-integration-test</phase>

            <goals>

              <goal>stop</goal>

            </goals>

          </execution>

        </executions>

        

      </plugin>

      

    </plugins>

</build>

  <reporting>

  <plugins>

      <plugin>

  <groupId>org.apache.maven.plugins</groupId>

  <artifactId>maven-project-info-reports-plugin</artifactId>

  <version>2.7</version>

  </plugin>

   <plugin>

  <groupId>org.apache.maven.plugins</groupId>

  <artifactId>mavensurefire-report-plugin</artifactId>

  <version>2.17</version>

  </plugin>

  </plugins>

</reporting>

</project>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s