Added profile jdbc-driver-depencency
to arq. testsuite; changed jdbc module path from layers/base/com/${db} to layers/base/test/jdbc/${db}
This commit is contained in:
parent
b5b0f433ac
commit
c94b7922aa
5 changed files with 48 additions and 8 deletions
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
<xsl:variable name="newDriverDefinition">
|
<xsl:variable name="newDriverDefinition">
|
||||||
<xsl:if test="$driver != 'h2'">
|
<xsl:if test="$driver != 'h2'">
|
||||||
<driver name="{$driver}" module="com.{$driver}" />
|
<driver name="{$driver}" module="test.jdbc.{$driver}" />
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<xsl:param name="version" select="''"/>
|
<xsl:param name="version" select="''"/>
|
||||||
|
|
||||||
<xsl:variable name="newModuleDefinition">
|
<xsl:variable name="newModuleDefinition">
|
||||||
<module xmlns="urn:jboss:module:1.1" name="com.{$database}">
|
<module xmlns="urn:jboss:module:1.1" name="test.jdbc.{$database}">
|
||||||
<resources>
|
<resources>
|
||||||
<resource-root path="{$database}-{$version}.jar"/>
|
<resource-root path="{$database}-{$version}.jar"/>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -403,7 +403,7 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>jpa</id>
|
<id>jpa</id>
|
||||||
<properties>
|
<properties>
|
||||||
<jdbc.mvn.driver.deployment.dir>${auth.server.home}/modules/system/layers/base/com/${jdbc.mvn.artifactId}/main</jdbc.mvn.driver.deployment.dir>
|
<jdbc.mvn.driver.deployment.dir>${auth.server.home}/modules/system/layers/base/test/jdbc/${jdbc.mvn.artifactId}/main</jdbc.mvn.driver.deployment.dir>
|
||||||
<skip.h2.tcp>true</skip.h2.tcp>
|
<skip.h2.tcp>true</skip.h2.tcp>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<xsl:param name="version" select="''"/>
|
<xsl:param name="version" select="''"/>
|
||||||
|
|
||||||
<xsl:variable name="newModuleDefinition">
|
<xsl:variable name="newModuleDefinition">
|
||||||
<module xmlns="urn:jboss:module:1.3" name="com.{$database}">
|
<module xmlns="urn:jboss:module:1.3" name="test.jdbc.{$database}">
|
||||||
<resources>
|
<resources>
|
||||||
<resource-root path="{$database}-{$version}.jar"/>
|
<resource-root path="{$database}-{$version}.jar"/>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -487,6 +487,46 @@
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>jdbc-driver-dependency</id>
|
||||||
|
<activation>
|
||||||
|
<property>
|
||||||
|
<name>jdbc.mvn.artifactId</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>${jdbc.mvn.groupId}</groupId>
|
||||||
|
<artifactId>${jdbc.mvn.artifactId}</artifactId>
|
||||||
|
<version>${jdbc.mvn.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<rules>
|
||||||
|
<requireProperty>
|
||||||
|
<property>jdbc.mvn.groupId</property>
|
||||||
|
</requireProperty>
|
||||||
|
<requireProperty>
|
||||||
|
<property>jdbc.mvn.version</property>
|
||||||
|
</requireProperty>
|
||||||
|
</rules>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
|
||||||
<!-- Profiles for migration tests-->
|
<!-- Profiles for migration tests-->
|
||||||
|
|
||||||
|
@ -890,10 +930,10 @@
|
||||||
|
|
||||||
<!-- CLI -->
|
<!-- CLI -->
|
||||||
<!--
|
<!--
|
||||||
- This dependency must come after org.bouncycastle dependencies since it contains BC classes,
|
- This dependency must come after org.bouncycastle dependencies since it contains BC classes,
|
||||||
- and MAC signature check on classes would fail otherwise with:
|
- and MAC signature check on classes would fail otherwise with:
|
||||||
- 'java.lang.SecurityException: JCE cannot authenticate the provider BC'
|
- 'java.lang.SecurityException: JCE cannot authenticate the provider BC'
|
||||||
-->
|
-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-client-cli-dist</artifactId>
|
<artifactId>keycloak-client-cli-dist</artifactId>
|
||||||
|
|
Loading…
Reference in a new issue