|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
|
|
|
|
~
|
|
|
|
~ WSO2 Inc. licenses this file to you under the Apache License,
|
|
|
|
~ Version 2.0 (the "License"); you may not use this file except
|
|
|
|
~ in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing,
|
|
|
|
~ software distributed under the License is distributed on an
|
|
|
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
~ KIND, either express or implied. See the License for the
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>android-plugin</artifactId>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
<version>5.0.7-SNAPSHOT</version>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.mobile.android.ui</artifactId>
|
|
|
|
<name>WSO2 Carbon - Mobile Android UI</name>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.entgra.emm</groupId>
|
|
|
|
<artifactId>io.entgra.emm.android.agent.release</artifactId>
|
|
|
|
<type>apk</type>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.entgra.emm</groupId>
|
|
|
|
<artifactId>io.entgra.emm.android.agent.debug</artifactId>
|
|
|
|
<type>apk</type>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-jar</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.mobile.android.emulator</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${project.basedir}/target/
|
|
|
|
</outputDirectory>
|
|
|
|
<destFileName>JavaApp.jar</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.entgra.emm</groupId>
|
|
|
|
<artifactId>io.entgra.emm.android.agent.release</artifactId>
|
|
|
|
<type>apk</type>
|
|
|
|
<version>${android.agent.version}</version>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${project.basedir}/target/</outputDirectory>
|
|
|
|
<destFileName>android-agent.apk</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
<artifactItem>
|
|
|
|
<groupId>io.entgra.emm</groupId>
|
|
|
|
<artifactId>io.entgra.emm.android.agent.debug</artifactId>
|
|
|
|
<type>apk</type>
|
|
|
|
<version>${android.agent.version}</version>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
<outputDirectory>${project.basedir}/target/</outputDirectory>
|
|
|
|
<destFileName>client-debug.apk</destFileName>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>${maven-antrun-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<configuration>
|
|
|
|
<target>
|
|
|
|
<ant antfile="build.xml" target="zip" />
|
|
|
|
</target>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.5.5</version>
|
|
|
|
<configuration>
|
|
|
|
<finalName>${project.artifactId}-${carbon.devicemgt.plugins.version}</finalName>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/assembly/src.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-archive</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|