forked from community/product-uem-community
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.
535 lines
23 KiB
535 lines
23 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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>io.entgra.community.uem</groupId>
|
|
<artifactId>io.entgra.community.uem.parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>5.2.5-SNAPSHOT</version>
|
|
<name>Entgra Community Product - Parent</name>
|
|
<url>http://entgra.io</url>
|
|
<description>Entgra Community Product</description>
|
|
|
|
<parent>
|
|
<groupId>org.wso2</groupId>
|
|
<artifactId>wso2</artifactId>
|
|
<version>2</version>
|
|
</parent>
|
|
|
|
<modules>
|
|
<module>uem-core</module>
|
|
<module>p2-profile</module>
|
|
<module>distribution</module>
|
|
</modules>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<!--CDM core dependencies-->
|
|
<dependency>
|
|
<groupId>io.entgra.device.mgt.core</groupId>
|
|
<artifactId>io.entgra.device.mgt.core.device.mgt.oauth.extensions</artifactId>
|
|
<version>${io.entgra.device.mgt.core.version}</version>
|
|
</dependency>
|
|
|
|
<!--Orbit dependencies-->
|
|
<dependency>
|
|
<groupId>org.wso2.orbit.com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>${orbit.h2.engine.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.entgra.community.uem</groupId>
|
|
<artifactId>io.entgra.community.uem.core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.automation</groupId>
|
|
<artifactId>org.wso2.carbon.automation.engine</artifactId>
|
|
<version>${platform.integration.utils.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.automation</groupId>
|
|
<artifactId>org.wso2.carbon.automation.test.utils</artifactId>
|
|
<version>${test.framework.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
<artifactId>org.wso2.carbon.integration.common.utils</artifactId>
|
|
<version>${test.framework.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.automation</groupId>
|
|
<artifactId>org.wso2.carbon.automation.extensions</artifactId>
|
|
<version>${platform.integration.utils.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.ftpserver</groupId>
|
|
<artifactId>ftpserver-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.activemq</groupId>
|
|
<artifactId>activemq-all</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-logging-juli</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.ws.wso2</groupId>
|
|
<artifactId>spring.framework</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-java</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.opera</groupId>
|
|
<artifactId>operadriver</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.saucelabs.selenium</groupId>
|
|
<artifactId>sauce-ondemand-driver</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.saucelabs.selenium</groupId>
|
|
<artifactId>selenium-client-factory</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
<artifactId>axis2</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
<artifactId>axiom</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>net.lingala.zip4j</groupId>
|
|
<artifactId>zip4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
<artifactId>org.wso2.carbon.integration.common.extensions</artifactId>
|
|
<version>${automation.utils.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.ftpserver</groupId>
|
|
<artifactId>ftpserver-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.activemq</groupId>
|
|
<artifactId>activemq-all</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-logging-juli</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.ws.wso2</groupId>
|
|
<artifactId>spring.framework</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
<artifactId>selenium-java</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.opera</groupId>
|
|
<artifactId>operadriver</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.jmeter</groupId>
|
|
<artifactId>ApacheJMeter_core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.saucelabs.selenium</groupId>
|
|
<artifactId>sauce-ondemand-driver</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.saucelabs.selenium</groupId>
|
|
<artifactId>selenium-client-factory</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.axis2.wso2</groupId>
|
|
<artifactId>axis2</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.ws.commons.axiom.wso2</groupId>
|
|
<artifactId>axiom</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>net.lingala.zip4j</groupId>
|
|
<artifactId>zip4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.wso2.carbon.automationutils</groupId>
|
|
<artifactId>org.wso2.carbon.integration.common.admin.client</artifactId>
|
|
<version>${automation.utils.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.wso2.carbon.commons</groupId>
|
|
<artifactId>org.wso2.carbon.user.mgt.stub</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.wso2.carbon.commons</groupId>
|
|
<artifactId>org.wso2.carbon.ndatasource.stub</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.wso2.carbon.commons</groupId>
|
|
<artifactId>org.wso2.carbon.authenticator.stub</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.wso2.carbon</groupId>
|
|
<artifactId>org.wso2.carbon.utils</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>${google.gson.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<properties>
|
|
|
|
<wso2am-nexus-artifact-version>4.0.0</wso2am-nexus-artifact-version>
|
|
<wso2am>wso2am-4.0.0</wso2am>
|
|
|
|
<entgra-uem-core>io.entgra.community.uem.core-${project.version}</entgra-uem-core>
|
|
<entgra-uem-community>entgra-uem-community-${project.version}</entgra-uem-community>
|
|
|
|
<!-- Carbon Device Management-->
|
|
<io.entgra.device.mgt.core.version>5.0.28</io.entgra.device.mgt.core.version>
|
|
|
|
<carbon.p2.plugin.version>5.1.2</carbon.p2.plugin.version>
|
|
|
|
<!--Orbit versions-->
|
|
<orbit.h2.engine.version>1.4.199.wso2v1</orbit.h2.engine.version>
|
|
|
|
<io.entgra.device.mgt.plugins.version>6.0.19</io.entgra.device.mgt.plugins.version>
|
|
|
|
<!--Testing-->
|
|
<google.gson.version>2.8.5</google.gson.version>
|
|
<platform.integration.utils.version>4.4.3</platform.integration.utils.version>
|
|
<automation.utils.version>4.4.2</automation.utils.version>
|
|
<test.framework.version>4.4.2</test.framework.version>
|
|
|
|
</properties>
|
|
|
|
<scm>
|
|
<url>https://repository.entgra.net/community/product-uem-community.git</url>
|
|
<developerConnection>scm:git:https://repository.entgra.net/community/product-uem-community.git</developerConnection>
|
|
<connection>scm:git:https://repository.entgra.net/community/product-uem-community.git</connection>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
|
|
<build>
|
|
<extensions>
|
|
<extension>
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
<artifactId>wagon-ssh</artifactId>
|
|
<version>2.1</version>
|
|
</extension>
|
|
</extensions>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jvnet.maven.incrementalbuild</groupId>
|
|
<artifactId>incremental-build-plugin</artifactId>
|
|
<version>1.3</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>incremental-build</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.1</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<configuration>
|
|
<preparationGoals>clean install</preparationGoals>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-scr-plugin</artifactId>
|
|
<version>1.7.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-scr-scrdescriptor</id>
|
|
<goals>
|
|
<goal>scr</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>2.3.5</version>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<obrRepository>NONE</obrRepository>
|
|
<!--<instructions>
|
|
<_include>-osgi.bnd</_include>
|
|
</instructions>-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.18.1</version>
|
|
<!--Need to remove below configuration after fixing tests-->
|
|
<configuration>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>internal.nexus</id>
|
|
<name>Entgra Internal Repository</name>
|
|
<url>https://nexus-local.entgra.io/repository/maven-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>wso2-nexus</id>
|
|
<name>WSO2 Public Repository</name>
|
|
<url>https://maven.wso2.org/nexus/content/groups/wso2-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
|
|
<repositories>
|
|
<!-- Before adding ANYTHING in here, please start a discussion on the dev list.
|
|
Ideally the Axis2 build should only use Maven central (which is available
|
|
by default) and nothing else. We had troubles with other repositories in
|
|
the past. Therefore configuring additional repositories here should be
|
|
considered very carefully. -->
|
|
<repository>
|
|
<id>internal.nexus</id>
|
|
<name>Entgra Internal Repository</name>
|
|
<url>https://nexus-local.entgra.io/repository/maven-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>entgra.nexus</id>
|
|
<name>Entgra Public Repository</name>
|
|
<url>https://nexus.entgra.io/repository/maven-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>wso2-nexus</id>
|
|
<name>WSO2 Public Repository</name>
|
|
<url>https://maven.wso2.org/nexus/content/groups/wso2-public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>daily</updatePolicy>
|
|
<checksumPolicy>ignore</checksumPolicy>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
<distributionManagement>
|
|
<snapshotRepository>
|
|
<id>maven-snapshots</id>
|
|
<url>https://nexus.entgra.io/repository/maven-snapshot/</url>
|
|
</snapshotRepository>
|
|
<repository>
|
|
<id>maven-release</id>
|
|
<url>https://nexus.entgra.io/repository/maven-release/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
</project>
|