KEYCLOAK-2641 Fixed location of module.xsl

This commit is contained in:
Tomas Kyjovsky 2016-03-30 14:48:19 +02:00
parent dfc4cf36a2
commit 47773371e3
2 changed files with 19 additions and 3 deletions

View file

@ -57,6 +57,9 @@
<unpacked.artifact.version>${auth.server.dist.version}</unpacked.artifact.version> <unpacked.artifact.version>${auth.server.dist.version}</unpacked.artifact.version>
<auth.server.home>${project.build.directory}/unpacked/${auth.server.dist.unpacked.folder.name}</auth.server.home> <auth.server.home>${project.build.directory}/unpacked/${auth.server.dist.unpacked.folder.name}</auth.server.home>
<!--used in profile auth-server-cluster. profile jpa sets this to true-->
<skip.h2.tcp>false</skip.h2.tcp>
</properties> </properties>
<profiles> <profiles>
@ -268,6 +271,7 @@
<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/com/${jdbc.mvn.artifactId}/main</jdbc.mvn.driver.deployment.dir>
<skip.h2.tcp>true</skip.h2.tcp>
</properties> </properties>
<build> <build>
<pluginManagement> <pluginManagement>
@ -344,7 +348,7 @@
<!-- create module.xml in modules --> <!-- create module.xml in modules -->
<transformationSet> <transformationSet>
<dir>${auth.server.home}/modules/system/layers/base/com/h2database/h2/main</dir> <dir>${auth.server.home}/modules/system/layers/base/com/h2database/h2/main</dir>
<stylesheet>src/main/resources/module.xsl</stylesheet> <stylesheet>src/main/resources/xslt/module.xsl</stylesheet>
<includes> <includes>
<include>module.xml</include> <include>module.xml</include>
</includes> </includes>
@ -366,6 +370,7 @@
<stylesheet>${common.resources}/datasource.xsl</stylesheet> <stylesheet>${common.resources}/datasource.xsl</stylesheet>
<includes> <includes>
<include>standalone.xml</include> <include>standalone.xml</include>
<include>standalone-ha.xml</include>
</includes> </includes>
<outputDir>${auth.server.home}/standalone/configuration</outputDir> <outputDir>${auth.server.home}/standalone/configuration</outputDir>
<parameters> <parameters>
@ -421,14 +426,13 @@
<artifactId>xml-maven-plugin</artifactId> <artifactId>xml-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>configure-wildfly-datasource</id> <id>jpa-h2-tcp</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<goals> <goals>
<goal>transform</goal> <goal>transform</goal>
</goals> </goals>
<configuration> <configuration>
<transformationSets> <transformationSets>
<!-- point KeycloakDS datasource to H2 running on TCP port -->
<transformationSet> <transformationSet>
<dir>${auth.server.home}/standalone/configuration</dir> <dir>${auth.server.home}/standalone/configuration</dir>
<includes> <includes>
@ -447,6 +451,18 @@
</parameter> </parameter>
</parameters> </parameters>
</transformationSet> </transformationSet>
</transformationSets>
<skip>${skip.h2.tcp}</skip>
</configuration>
</execution>
<execution>
<id>keycloak-ispn-caches</id>
<phase>process-resources</phase>
<goals>
<goal>transform</goal>
</goals>
<configuration>
<transformationSets>
<transformationSet> <transformationSet>
<dir>${auth.server.home}/standalone/configuration</dir> <dir>${auth.server.home}/standalone/configuration</dir>
<includes> <includes>