diff options
-rw-r--r-- | pom.xml | 30 | ||||
-rw-r--r-- | server/sonar-server/pom.xml | 37 | ||||
-rw-r--r-- | sonar-db/pom.xml | 39 |
3 files changed, 76 insertions, 30 deletions
@@ -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> |