|
|
@ -17,21 +17,19 @@
|
|
|
|
~ under the License.
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
<artifactId>android-plugin-feature</artifactId>
|
|
|
|
<artifactId>android-plugin-feature</artifactId>
|
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
|
|
<version>2.1.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.mobile.android.feature</artifactId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.mobile.android.feature</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
|
|
<version>2.1.1-SNAPSHOT</version>
|
|
|
|
<name>WSO2 Carbon - Android Device Management Feature</name>
|
|
|
|
<name>WSO2 Carbon - Android Device Management Feature</name>
|
|
|
|
<url>http://wso2.org</url>
|
|
|
|
<url>http://wso2.org</url>
|
|
|
|
<description>This feature contains the core bundles required for Android Device Management
|
|
|
|
<description>This feature contains the core bundles required for Android Device Management
|
|
|
@ -142,18 +140,14 @@
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<echo message="########### Create ANDROID Mobile plugin Management H2 Schema ###########" />
|
|
|
|
<echo message="########### Create ANDROID Mobile plugin Management H2 Schema ###########" />
|
|
|
|
<property name="db.dir"
|
|
|
|
<property name="db.dir" value="target/maven-shared-archive-resources/database" />
|
|
|
|
value="target/maven-shared-archive-resources/database"/>
|
|
|
|
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="dbURL"
|
|
|
|
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2MobileAndroid_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
|
|
|
value="jdbc:h2:file:${basedir}/${db.dir}/WSO2MobileAndroid_DB;DB_CLOSE_ON_EXIT=FALSE"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<mkdir dir="${basedir}/${db.dir}" />
|
|
|
|
<mkdir dir="${basedir}/${db.dir}" />
|
|
|
|
|
|
|
|
|
|
|
|
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}"
|
|
|
|
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
|
|
|
password="${password}"
|
|
|
|
|
|
|
|
autocommit="true" onerror="continue">
|
|
|
|
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|