Skip to content

Commit

Permalink
improved sqlserver testing (jdbc driver now available through maven)
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Jun 18, 2018
1 parent 719fd3f commit a6b3615
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build-system/pom.xml
Expand Up @@ -75,6 +75,7 @@
<hibernate.version>5.2.12.Final</hibernate.version>
<h2.version>1.4.193</h2.version>
<jdbc.postgres>42.2.2</jdbc.postgres>
<jdbc.sqlserver>6.4.0.jre8</jdbc.sqlserver>
<jdbc.mariadb>1.5.5</jdbc.mariadb>
<jdbc.mysql>6.0.6</jdbc.mysql>
<wicket.version>7.10.0</wicket.version>
Expand Down Expand Up @@ -885,6 +886,11 @@
<artifactId>postgresql</artifactId>
<version>${jdbc.postgres}</version>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>${jdbc.sqlserver}</version>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
Expand Down Expand Up @@ -1470,13 +1476,9 @@
<!-- it's used for bamboo build to load jdbc libraries which can not
be installed to public maven repository (MS SQL, ORACLE) -->
<additionalClasspathElements>
<additionalClasspathElement>/opt/jenkins_db_configs/mssqljdbc4.jar</additionalClasspathElement>
<additionalClasspathElement>/opt/jenkins_db_configs/ojdbc7.jar</additionalClasspathElement>
<!-- used running tests on windows machines -->
<additionalClasspathElement>c:\midpoint\jdbc-drivers\sqljdbc42.jar</additionalClasspathElement>
<additionalClasspathElement>c:\midpoint\jdbc-drivers\ojdbc7.jar</additionalClasspathElement>
<additionalClasspathElement>c:\Program Files\Microsoft JDBC DRIVER
4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
<dependencies>
Expand Down
5 changes: 5 additions & 0 deletions repo/repo-sql-impl-test/pom.xml
Expand Up @@ -129,6 +129,11 @@
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.evolveum.midpoint.infra</groupId>
<artifactId>common</artifactId>
Expand Down

0 comments on commit a6b3615

Please sign in to comment.