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.
143 lines
6.5 KiB
143 lines
6.5 KiB
<?org.wso2.uesxml 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/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
<groupId>io.entgra.product</groupId>
|
|
<artifactId>p2-profile</artifactId>
|
|
<version>5.0.1-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>entgra-iot-p2-profile</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Entgra IoT - p2 profile</name>
|
|
<description>Entgra IoT p2 profile</description>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<inherited>false</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>1-unpack-entgra-iots</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>unpack</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>io.entgra.community</groupId>
|
|
<artifactId>entgra-iot-core</artifactId>
|
|
<type>zip</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>target</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.wso2.maven</groupId>
|
|
<artifactId>carbon-p2-plugin</artifactId>
|
|
<version>${carbon.p2.plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>2-p2-repo-generation</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>p2-repo-gen</goal>
|
|
</goals>
|
|
<configuration>
|
|
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
|
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
|
<publishArtifacts>true</publishArtifacts>
|
|
<publishArtifactRepository>true</publishArtifactRepository>
|
|
<featureArtifacts>
|
|
<featureArtifactDef>
|
|
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version}
|
|
</featureArtifactDef>
|
|
<featureArtifactDef>
|
|
org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.notification.listener.feature:${carbon.device.mgt.plugin.version}
|
|
</featureArtifactDef>
|
|
</featureArtifacts>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>feature-install</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>p2-profile-gen</goal>
|
|
</goals>
|
|
<configuration>
|
|
<profile>default</profile>
|
|
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
|
|
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
|
|
<destination>${basedir}/target/${entgra-iot-core}/repository/components</destination>
|
|
<deleteOldProfileFiles>true</deleteOldProfileFiles>
|
|
<features>
|
|
<feature>
|
|
<id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
|
|
<version>${carbon.device.mgt.plugin.version}</version>
|
|
</feature>
|
|
<feature>
|
|
<id>org.wso2.carbon.device.mgt.notification.listener.feature.group</id>
|
|
<version>${carbon.device.mgt.plugin.version}</version>
|
|
</feature>
|
|
</features>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
<artifactId>replacer</artifactId>
|
|
<version>1.5.3</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>replace</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<filesToInclude>
|
|
${basedir}/target/${entgra-iot-core}/repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
|
|
</filesToInclude>
|
|
<replacements>
|
|
<replacement>
|
|
<token>false</token>
|
|
<value>true</value>
|
|
</replacement>
|
|
</replacements>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|