| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Copyright (c) 2020 Kentyou. |
| ~ All rights reserved. This program and the accompanying materials |
| ~ are made available under the terms of the Eclipse Public License v1.0 |
| ~ which accompanies this distribution, and is available at |
| ~ http://www.eclipse.org/legal/epl-v10.html |
| ~ |
| ~ Contributors: |
| * Kentyou - initial API and implementation |
| --> |
| |
| <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.eclipse.sensinact.gateway.tools</groupId> |
| <artifactId>platform.tools</artifactId> |
| <version>2.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>mqtt-server</artifactId> |
| |
| <packaging>bundle</packaging> |
| |
| <name>sensiNact IoT Gateway - MQTT Server</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.moquette</groupId> |
| <artifactId>moquette-broker</artifactId> |
| <scope>system</scope> |
| <systemPath>${project.basedir}/lib/moquette-broker-0.9.jar</systemPath> |
| </dependency> |
| <dependency> |
| <groupId>io.moquette</groupId> |
| <artifactId>moquette-netty-parser</artifactId> |
| <scope>system</scope> |
| <systemPath>${project.basedir}/lib/moquette-netty-parser-0.9.jar</systemPath> |
| </dependency> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-all</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.hazelcast</groupId> |
| <artifactId>hazelcast</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.sensinact.gateway</groupId> |
| <artifactId>sensinact-common</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- Removing this dependency causes an error while reading XML files --> |
| <dependency> |
| <groupId>org.mapdb</groupId> |
| <artifactId>mapdb</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Embed-Dependency>*;inline=true;scope=compile|system;artifactId=!(osgi*|slf4j*)</Embed-Dependency> |
| <Embed-Transitive>false</Embed-Transitive> |
| <Bundle-Activator>org.sensinact.mqtt.server.osgi.Activator</Bundle-Activator> |
| <Export-Package> |
| org.sensinact.mqtt.server, |
| org.sensinact.mqtt.server.osgi |
| </Export-Package> |
| <Import-Package> |
| org.osgi.service.cm, |
| sun.misc, |
| org.eclipse.sensinact.*, |
| org.osgi.util.tracker, |
| org.osgi.framework.wiring, |
| javax.net.ssl, |
| javax.net, |
| org.osgi.framework;version="1.9", |
| org.slf4j, |
| javax.security.cert |
| </Import-Package> |
| <_nouses>false</_nouses> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |