mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Add required changes for android sense
This commit is contained in:
parent
f535b1d9cc
commit
4b8662f58f
@ -259,6 +259,37 @@
|
|||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<!-- Creating Virtual Firealarm Plugin Management schema -->
|
||||||
|
<id>create-android-sense-plugin-mgt-schema</id>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<tasks>
|
||||||
|
<echo message="########### Create Android Sense plugin Management H2 Schema ###########"/>
|
||||||
|
<property name="db.dir"
|
||||||
|
value="target/wso2carbon-core-${carbon.kernel.version}/repository/database"/>
|
||||||
|
<property name="userid" value="wso2carbon"/>
|
||||||
|
<property name="password" value="wso2carbon"/>
|
||||||
|
<property name="dbURL"
|
||||||
|
value="jdbc:h2:file:${basedir}/${db.dir}/AndroidSenseDM_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}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/plugins/android_sense/h2.sql"/>
|
||||||
|
</sql>
|
||||||
|
<echo message="##################### END ####################"/>
|
||||||
|
</tasks>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
<!--<execution>-->
|
<!--<execution>-->
|
||||||
<!--<!– Creating IDP Management schema –>-->
|
<!--<!– Creating IDP Management schema –>-->
|
||||||
<!--<id>create-idp-mgt-schema</id>-->
|
<!--<id>create-idp-mgt-schema</id>-->
|
||||||
|
|||||||
@ -239,6 +239,16 @@
|
|||||||
<include>**/cdm-datasources.xml</include>
|
<include>**/cdm-datasources.xml</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>
|
||||||
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/datasources/devicemgt
|
||||||
|
</directory>
|
||||||
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/datasources
|
||||||
|
</outputDirectory>
|
||||||
|
<includes>
|
||||||
|
<include>*/**</include>
|
||||||
|
</includes>
|
||||||
|
</fileSet>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>src/repository/resources</directory>
|
<directory>src/repository/resources</directory>
|
||||||
<outputDirectory>${pom.artifactId}-${pom.version}/repository/resources</outputDirectory>
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/resources</outputDirectory>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user