aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-tests/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-26 18:48:19 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-29 11:03:33 +0200
commit64ff328a9bc2cf0ea575599d37ea6dfe4ac6274e (patch)
tree86d40f3746b73da164aae16fce4eff24d2c0054f /it/it-tests/pom.xml
parente140eb43c7384fcaee539e9b1a07fae48cf95da2 (diff)
downloadsonarqube-64ff328a9bc2cf0ea575599d37ea6dfe4ac6274e.tar.gz
sonarqube-64ff328a9bc2cf0ea575599d37ea6dfe4ac6274e.zip
Fix execution of integration tests from command-line
Diffstat (limited to 'it/it-tests/pom.xml')
-rw-r--r--it/it-tests/pom.xml103
1 files changed, 103 insertions, 0 deletions
diff --git a/it/it-tests/pom.xml b/it/it-tests/pom.xml
new file mode 100644
index 00000000000..b24d0a74dbc
--- /dev/null
+++ b/it/it-tests/pom.xml
@@ -0,0 +1,103 @@
+<?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>
+
+ <parent>
+ <groupId>org.sonarsource.it</groupId>
+ <artifactId>it-parent</artifactId>
+ <version>5.2-SNAPSHOT</version>
+ </parent>
+ <artifactId>it-tests</artifactId>
+ <name>SonarQube Integration Tests :: Tests</name>
+
+ <properties>
+ <category>*</category>
+ <surefire.argLine>-Xmx128m -server</surefire.argLine>
+ <skipIts>false</skipIts>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.sonarsource.it</groupId>
+ <artifactId>it-plugins</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-ws-client</artifactId>
+ <version>5.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sonarsource.orchestrator</groupId>
+ <artifactId>sonar-orchestrator</artifactId>
+ <version>3.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.googlecode.json-simple</groupId>
+ <artifactId>json-simple</artifactId>
+ <version>1.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.skyscreamer</groupId>
+ <artifactId>jsonassert</artifactId>
+ <version>1.2.0</version>
+ <scope>test</scope>
+ </dependency>
+
+
+ <!-- Email notifications -->
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-email</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.subethamail</groupId>
+ <artifactId>subethasmtp</artifactId>
+ <version>3.1.6</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>${skipIts}</skipTests>
+ <includes>
+ <include>${category}/suite/*TestSuite.java</include>
+ <!-- not included in suites -->
+ <include>${category}/*Test.java</include>
+ </includes>
+ <excludes>
+ <!-- included into suites -->
+ <exclude>*/suite/*Test.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>