|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
~ Copyright (c) 2015, 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/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<artifactId>android-plugin</artifactId>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
<version>5.0.5-SNAPSHOT</version>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.mobile.android.core</artifactId>
|
|
|
|
<packaging>bundle</packaging>
|
|
|
|
<name>WSO2 Carbon - Mobile Device Management Android Core Impl</name>
|
|
|
|
<description>WSO2 Carbon - Mobile Device Management Android Core Implementation</description>
|
|
|
|
<url>http://wso2.org</url>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-scr-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
|
|
|
<Bundle-Name>${project.artifactId}</Bundle-Name>
|
|
|
|
<Bundle-Version>${carbon.devicemgt.plugins.version}</Bundle-Version>
|
|
|
|
<Bundle-Description>Device Management Mobile Android Impl Bundle</Bundle-Description>
|
|
|
|
<Private-Package>org.wso2.carbon.device.mgt.mobile.android.core.internal</Private-Package>
|
|
|
|
<Import-Package>
|
|
|
|
org.osgi.framework,
|
|
|
|
org.osgi.service.component,
|
|
|
|
org.apache.commons.logging,
|
|
|
|
javax.xml,
|
|
|
|
javax.xml.stream,
|
|
|
|
javax.xml.bind.*,
|
|
|
|
javax.sql,
|
|
|
|
javax.xml.parsers; version=0.0.0,
|
|
|
|
org.w3c.dom,
|
|
|
|
javax.naming,
|
|
|
|
org.wso2.carbon.context,
|
|
|
|
org.wso2.carbon.utils.*,
|
|
|
|
org.wso2.carbon.device.mgt.mobile.android.common.*,
|
|
|
|
org.wso2.carbon.device.mgt.common.*,
|
|
|
|
org.wso2.carbon.device.mgt.core.*,
|
|
|
|
org.wso2.carbon.ndatasource.core,
|
|
|
|
org.wso2.carbon.policy.mgt.common.*,
|
|
|
|
org.wso2.carbon.policy.mgt.core.*,
|
|
|
|
org.wso2.carbon.registry.core,
|
|
|
|
org.wso2.carbon.registry.core.session,
|
|
|
|
org.wso2.carbon.registry.core.service,
|
|
|
|
org.wso2.carbon.registry.api,
|
|
|
|
org.wso2.carbon.device.mgt.extensions.license.mgt.registry,
|
|
|
|
org.wso2.carbon.apimgt.application.extension.*,
|
|
|
|
org.wso2.carbon.analytics.datasource.commons.*,
|
|
|
|
org.wso2.carbon.base,
|
|
|
|
com.google.gson.*,
|
|
|
|
org.wso2.carbon.device.application.mgt.common.*,
|
|
|
|
org.wso2.carbon.user.core.*,
|
|
|
|
org.wso2.carbon.user.api.*,
|
|
|
|
org.apache.commons.httpclient,
|
|
|
|
org.apache.http,
|
|
|
|
org.apache.http.client.methods
|
|
|
|
</Import-Package>
|
|
|
|
<Export-Package>
|
|
|
|
!org.wso2.carbon.device.mgt.mobile.android.core.internal,
|
|
|
|
org.wso2.carbon.device.mgt.mobile.android.core.*
|
|
|
|
</Export-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<destFile>${basedir}/target/coverage-reports/jacoco-unit.exec</destFile>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>jacoco-initialize</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>jacoco-site</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile>
|
|
|
|
<outputDirectory>${basedir}/target/coverage-reports/site</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
|
|
<artifactId>org.eclipse.osgi</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
|
|
<artifactId>org.eclipse.osgi.services</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.logging</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.utils</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.extensions</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.ndatasource.core</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.registry.api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.registry.core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat.wso2</groupId>
|
|
|
|
<artifactId>jdbc-pool</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt-plugins</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.mobile.android.common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.application.mgt.common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.core</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>axis2-client</artifactId>
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>axiom-api</artifactId>
|
|
|
|
<groupId>org.apache.ws.commons.axiom</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.policy.mgt.common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.policy.mgt.core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.apimgt.application.extension</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
|
|
|
|
<groupId>org.apache.geronimo.specs.wso2</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>axiom-api</artifactId>
|
|
|
|
<groupId>org.apache.ws.commons.axiom</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>axiom-impl</artifactId>
|
|
|
|
<groupId>org.apache.ws.commons.axiom</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>org.eclipse.core.runtime</artifactId>
|
|
|
|
<groupId>org.eclipse.core</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-pool</artifactId>
|
|
|
|
<groupId>commons-pool</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>XmlSchema</artifactId>
|
|
|
|
<groupId>org.apache.ws.commons.schema</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>tomcat</artifactId>
|
|
|
|
<groupId>org.wso2.tomcat</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>codemodel</artifactId>
|
|
|
|
<groupId>com.sun.codemodel</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hibernate</artifactId>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>asm</artifactId>
|
|
|
|
<groupId>asm</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
|
|
|
<groupId>org.apache.geronimo.specs</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>wstx-asl</artifactId>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>wsdl4j</artifactId>
|
|
|
|
<groupId>wsdl4j.wso2</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>org.wso2.carbon.ntask.core</artifactId>
|
|
|
|
<groupId>org.wso2.carbon.commons</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>org.wso2.securevault</artifactId>
|
|
|
|
<groupId>org.wso2.securevault</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>maven-scm-provider-svnexe</artifactId>
|
|
|
|
<groupId>org.apache.maven.scm</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.common</artifactId>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>objenesis</artifactId>
|
|
|
|
<groupId>org.objenesis</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>org.wso2.carbon.feature.mgt.core</artifactId>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon.devicemgt</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.apimgt.annotations</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-testng</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>objenesis</artifactId>
|
|
|
|
<groupId>org.objenesis</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database.wso2</groupId>
|
|
|
|
<artifactId>h2-database-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.queuing</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-dbcp.wso2</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-pool.wso2</groupId>
|
|
|
|
<artifactId>commons-pool</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>javax.cache.wso2</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|