diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-17 16:21:03 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-17 16:21:03 +0200 |
commit | 0d1b0b7a200c12d6f966cf1d7e7ec23d3db30760 (patch) | |
tree | 0f8246b9a049619fac4da03881ff9b256d6fd7c6 /sonar-db | |
parent | 20d34c482023e2fedc45f6917c67d372cbcbda0f (diff) | |
download | sonarqube-0d1b0b7a200c12d6f966cf1d7e7ec23d3db30760.tar.gz sonarqube-0d1b0b7a200c12d6f966cf1d7e7ec23d3db30760.zip |
SONAR-6552 fix maven dependency for SQLServer tests
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/pom.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sonar-db/pom.xml b/sonar-db/pom.xml index 02ea2ab18a1..51e80f759c2 100644 --- a/sonar-db/pom.xml +++ b/sonar-db/pom.xml @@ -160,4 +160,43 @@ </plugin> </plugins> </build> + + <profiles> + <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> </project> |