aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-17 16:21:03 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-17 16:21:03 +0200
commit0d1b0b7a200c12d6f966cf1d7e7ec23d3db30760 (patch)
tree0f8246b9a049619fac4da03881ff9b256d6fd7c6 /server/sonar-server/pom.xml
parent20d34c482023e2fedc45f6917c67d372cbcbda0f (diff)
downloadsonarqube-0d1b0b7a200c12d6f966cf1d7e7ec23d3db30760.tar.gz
sonarqube-0d1b0b7a200c12d6f966cf1d7e7ec23d3db30760.zip
SONAR-6552 fix maven dependency for SQLServer tests
Diffstat (limited to 'server/sonar-server/pom.xml')
-rw-r--r--server/sonar-server/pom.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/server/sonar-server/pom.xml b/server/sonar-server/pom.xml
index b83c1d783da..ec53f2d96d1 100644
--- a/server/sonar-server/pom.xml
+++ b/server/sonar-server/pom.xml
@@ -316,6 +316,43 @@
</plugins>
</build>
</profile>
+ <profile>
+ <!-- SonarSource internal use -->
+ <id>dbTests</id>
+ <activation>
+ <property>
+ <name>dbTests</name>
+ </property>
+ </activation>
+ <properties>
+ <junitGroups>org.sonar.test.DbTests</junitGroups>
+ </properties>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.postgresql</groupId>
+ <artifactId>postgresql</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>
+ <dependency>
+ <groupId>com.microsoft.sqljdbc</groupId>
+ <artifactId>sqljdbc41</artifactId>
+ <version>4.1</version>
+ <scope>system</scope>
+ <systemPath>${project.basedir}/../../sonar-application/src/main/assembly/lib/jdbc/mssql/sqljdbc41.jar</systemPath>
+ </dependency>
+ </dependencies>
+ </profile>
+
</profiles>