mirror of
https://repository.entgra.net/community/product-uem-community.git
synced 2025-10-06 02:02:27 +00:00
Merge pull request 'fix to create heart beat h2 schema' (#1) from amalka.subasinghe/community-product:master into master
Reviewed-on: https://repository.entgra.net/community/community-product/pulls/1
This commit is contained in:
commit
bcb4b436c3
@ -182,6 +182,30 @@
|
|||||||
</target>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>create-heartbeat-schema</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<echo message="########### Create heart beat H2 Schema ###########" />
|
||||||
|
<property name="db.dir" value="target/${wso2am}/repository/database" />
|
||||||
|
<property name="userid" value="wso2carbon" />
|
||||||
|
<property name="password" value="wso2carbon" />
|
||||||
|
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/HEART_BEAT_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
||||||
|
|
||||||
|
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
||||||
|
<classpath refid="maven.dependency.classpath" />
|
||||||
|
<classpath refid="maven.compile.classpath" />
|
||||||
|
<classpath refid="maven.runtime.classpath" />
|
||||||
|
<fileset file="${basedir}/target/${entgra-iot-pro}/dbscripts/heart-beat/h2.sql" />
|
||||||
|
</sql>
|
||||||
|
<echo message="##################### END ####################" />
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user