You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
469 lines
19 KiB
469 lines
19 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
|
~
|
|
~ Entgra (Pvt) Ltd. 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>device-mgt</artifactId>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<version>6.0.0-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.api</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>Entgra Device Management - Mobile Device Management API</name>
|
|
<description>Entgra Device Management - Mobile Device Management API</description>
|
|
<url>https://entgra.io</url>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<configuration>
|
|
<packagingExcludes>WEB-INF/lib/*cxf*.jar</packagingExcludes>
|
|
<warName>api#device-mgt#v1.0</warName>
|
|
</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>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<log4j.configuration>file:src/test/resources/log4j.properties</log4j.configuration>
|
|
</systemPropertyVariables>
|
|
<suiteXmlFiles>
|
|
<suiteXmlFile>src/test/resources/testng.xml</suiteXmlFile>
|
|
</suiteXmlFiles>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>deploy</id>
|
|
<build>
|
|
<defaultGoal>compile</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<copy todir="${basedir}/../../../repository/deployment/server/webapps" overwrite="true">
|
|
<fileset dir="${basedir}/target">
|
|
<include name="api#device-mgt#v1.0.war" />
|
|
</fileset>
|
|
</copy>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>client</id>
|
|
<build>
|
|
<defaultGoal>test</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>java</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-httpclient.wso2</groupId>
|
|
<artifactId>commons-httpclient</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon</groupId>
|
|
<artifactId>org.wso2.carbon.utils</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.identity.framework</groupId>
|
|
<artifactId>org.wso2.carbon.user.mgt</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.ops4j.pax.logging</groupId>
|
|
<artifactId>pax-logging-log4j2</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.logging</groupId>
|
|
<artifactId>pax-logging-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.common</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.extensions</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.core</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
<artifactId>axis2-client</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.policy.mgt.core</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
<artifactId>axis2-client</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.identity.inbound.auth.oauth2</groupId>
|
|
<artifactId>org.wso2.carbon.identity.oauth.stub</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
<artifactId>axis2-client</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.json.wso2</groupId>
|
|
<artifactId>json</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec.wso2</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.certificate.mgt.core</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-core</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
<artifactId>jackson-module-jaxb-annotations</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-jaxrs</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
<artifactId>jackson-module-jaxb-annotations</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.apimgt.annotations</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics</groupId>
|
|
<artifactId>org.wso2.carbon.analytics.api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.identity.jwt.client.extension</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon</groupId>
|
|
<artifactId>org.wso2.carbon.registry.core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.registry</groupId>
|
|
<artifactId>org.wso2.carbon.registry.resource</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.identity.framework</groupId>
|
|
<artifactId>org.wso2.carbon.identity.user.store.count</artifactId>
|
|
<version>${carbon.identity.framework.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.receiver.stub</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.stream.stub</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.publisher.stub</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.stream.persistence.stub</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-module-testng</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-api-mockito2</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.identity.framework</groupId>
|
|
<artifactId>org.wso2.carbon.identity.claim.metadata.mgt</artifactId>
|
|
<version>${carbon.identity.framework.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.application.mgt.common</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.wso2.orbit.javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.application.mgt.core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.apimgt.keymgt.extension</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.stream.core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.receiver.core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.publisher.core</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.analytics-common</groupId>
|
|
<artifactId>org.wso2.carbon.event.output.adapter.rdbms</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.apimgt.analytics.extension</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.apimgt.webapp.publisher</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.orbit.javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.tenant.mgt.common</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |