aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml30
-rw-r--r--server/sonar-server/pom.xml37
-rw-r--r--sonar-db/pom.xml39
3 files changed, 76 insertions, 30 deletions
diff --git a/pom.xml b/pom.xml
index b21b09e3d06..fd58a84439b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1499,36 +1499,6 @@
</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>
- </dependencies>
- </profile>
-
- <profile>
<!-- add microbenchmarks module to IDE -->
<id>includeMicrobenchmarkModule</id>
<modules>
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>
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>