aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-09 14:36:53 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-09 14:38:08 +0200
commit03970eafff028da26540ef814619a02168a57618 (patch)
tree6699f9f3fba13d421ed5a5d26725985e28f59f7a /pom.xml
parent2442eb65831fbe560a7530b6eb3452b4a5e63238 (diff)
downloadsonarqube-03970eafff028da26540ef814619a02168a57618.tar.gz
sonarqube-03970eafff028da26540ef814619a02168a57618.zip
Execute tests on non-h2 databases with the profile named "dbTests"
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 1a5f3b22833..e54d1df203f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1474,6 +1474,36 @@
<skipTests>true</skipTests>
</properties>
</profile>
+ <profile>
+ <!-- SonarSource internal use -->
+ <id>dbTests</id>
+ <activation>
+ <property>
+ <name>dbTests</name>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jtds</groupId>
+ <artifactId>jtds</artifactId>
+ </dependency>
+ <dependency>
+ <!-- this artifact is located in the SonarSource internal repository -->
+ <groupId>com.oracle</groupId>
+ <artifactId>ojdbc6</artifactId>
+ <version>11.2.0.3.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
</project>