|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright (c) 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/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
|
|
<artifactId>operation-template-mgt</artifactId>
|
|
|
|
<version>5.0.26-SNAPSHOT</version>
|
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>io.entgra.device.mgt.core.operation.template</artifactId>
|
|
|
|
<packaging>bundle</packaging>
|
|
|
|
<name>Entgra IoT - Operation Template Core</name>
|
|
|
|
<description>Entgra IoT - Operation Template Core</description>
|
|
|
|
<url>http://entgra.io</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.device.mgt.version}</Bundle-Version>
|
|
|
|
<Bundle-Description>IOT Operation Template Bundle</Bundle-Description>
|
|
|
|
<Private-Package>io.entgra.device.mgt.core.operation.template.internal</Private-Package>
|
|
|
|
<Import-Package>
|
|
|
|
org.osgi.framework.*;version="${imp.package.version.osgi.framework}",
|
|
|
|
org.osgi.service.*;version="${imp.package.version.osgi.service}",
|
|
|
|
org.apache.commons.logging,
|
|
|
|
org.apache.commons.lang,
|
|
|
|
javax.xml,
|
|
|
|
javax.xml.stream,
|
|
|
|
javax.xml.bind.*;version="${javax.xml.bind.imp.pkg.version}",
|
|
|
|
javax.sql,
|
|
|
|
javax.xml.parsers; version=0.0.0,
|
|
|
|
org.w3c.dom,
|
|
|
|
com.google.gson.*,
|
|
|
|
javax.naming,
|
|
|
|
org.wso2.carbon.context,
|
|
|
|
org.wso2.carbon.base,
|
|
|
|
org.wso2.carbon.utils.*,
|
|
|
|
io.entgra.device.mgt.core.device.mgt.common.*,
|
|
|
|
io.entgra.device.mgt.core.device.mgt.core.*,
|
|
|
|
org.wso2.carbon.ndatasource.core,
|
|
|
|
org.wso2.carbon.registry.core,
|
|
|
|
org.wso2.carbon.registry.core.session,
|
|
|
|
org.wso2.carbon.registry.core.service,
|
|
|
|
org.wso2.carbon.registry.api,
|
|
|
|
io.entgra.device.mgt.core.device.mgt.extensions.license.mgt.registry,
|
|
|
|
javax.net.ssl,
|
|
|
|
org.wso2.carbon.core.util,
|
|
|
|
okhttp3
|
|
|
|
</Import-Package>
|
|
|
|
<Export-Package>
|
|
|
|
!io.entgra.device.mgt.core.operation.template.internal,
|
|
|
|
io.entgra.device.mgt.core.operation.template.*
|
|
|
|
</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>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<log4j.configuration>file:src/test/resources/carbon-home/repository/conf/log4j.properties
|
|
|
|
</log4j.configuration>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<suiteXmlFiles>
|
|
|
|
<file>src/test/resources/testng.xml</file>
|
|
|
|
</suiteXmlFiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.common</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.wso2.carbon.identity.inbound.auth.oauth2</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.identity.oauth.stub</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
|
|
<artifactId>axis2-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.geronimo.specs.wso2</groupId>
|
|
|
|
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
|
|
<artifactId>axiom</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
<artifactId>wstx-asl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.device.mgt.analytics.data.publisher</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.wso2.carbon.analytics</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.analytics.api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-testng</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.testng</groupId>
|
|
|
|
<artifactId>testng</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.extensions</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
<artifactId>stax2-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.codehaus.woodstox</groupId>
|
|
|
|
<artifactId>woodstox-core-asl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.securevault</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
|
|
<artifactId>axiom</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.ndatasource.core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.wso2.securevault</groupId>
|
|
|
|
<artifactId>org.wso2.securevault</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.base</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.wso2.securevault</groupId>
|
|
|
|
<artifactId>org.wso2.securevault</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
|
|
<artifactId>axiom</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
|
|
<artifactId>org.eclipse.osgi</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database.wso2</groupId>
|
|
|
|
<artifactId>h2-database-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.osgi</groupId>
|
|
|
|
<artifactId>org.eclipse.osgi.services</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.logging</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.utils</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>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.wso2.carbon</groupId>
|
|
|
|
<artifactId>org.wso2.carbon.registry.api</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.apache.tomcat.wso2</groupId>
|
|
|
|
<artifactId>jdbc-pool</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-jackson</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-jaxrs</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-gson</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-okhttp</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-slf4j</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>commons-validator</groupId>
|
|
|
|
<artifactId>commons-validator</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cxf</groupId>
|
|
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang.wso2</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|