<?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="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"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.eclipse.sensinact.gateway.nthbnd</groupId> | |
<artifactId>parent</artifactId> | |
<version>2.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>http-onem2m-agent</artifactId> | |
<packaging>bundle</packaging> | |
<name>sensiNact IoT Gateway - HTTP oneM2M Northbound Agent</name> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.sensinact.gateway.protocol</groupId> | |
<artifactId>http</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.sensinact.gateway</groupId> | |
<artifactId>sensinact-utils</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.sensinact.gateway</groupId> | |
<artifactId>sensinact-common</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.sensinact.gateway</groupId> | |
<artifactId>sensinact-core</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.sensinact.gateway</groupId> | |
<artifactId>sensinact-generic</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Embed-Transitive>false</Embed-Transitive> | |
<Bundle-Activator> | |
org.eclipse.sensinact.gateway.agent.http.onem2m.osgi.Activator | |
</Bundle-Activator> | |
<Include-Resource> | |
about.html, | |
src/main/resources/ | |
</Include-Resource> | |
<Import-Package> | |
org.json, | |
* | |
</Import-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>generate-test-resources</id> | |
<phase>validate</phase> | |
<goals> | |
<goal>copy-resources</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${project.basedir}/target/felix/load</outputDirectory> | |
<resources> | |
<resource> | |
<directory>${project.basedir}/src/test/resources/</directory> | |
<filtering>true</filtering> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |