Update profiles to include historic reader API and implementation
diff --git a/distribution/generator/profile/historic-profile/pom.xml b/distribution/generator/profile/historic-profile/pom.xml
new file mode 100644
index 0000000..407ef6e
--- /dev/null
+++ b/distribution/generator/profile/historic-profile/pom.xml
@@ -0,0 +1,65 @@
+<?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.distribution</groupId>
+ <artifactId>profile</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>historic</artifactId>
+ <packaging>pom</packaging>
+
+ <name>sensiNact IoT Gateway - sensiNact Runtime (${project.artifactId} bridge dependencies)</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.sensinact.gateway</groupId>
+ <artifactId>sensinact-historic-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.sensinact.gateway</groupId>
+ <artifactId>sensinact-historic-manager</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/sensinact/load/${project.artifactId}</outputDirectory>
+ <excludeArtifactIds>${excludeArtifactId}</excludeArtifactIds>
+ <excludeGroupIds>${excludeGroupId}</excludeGroupIds>
+ <excludeTransitive>${excludeTransitive}</excludeTransitive>
+ <excludeTypes>pom</excludeTypes>
+ </configuration>
+ <inherited>false</inherited>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/distribution/generator/profile/influxdb-storage-agent-profile/pom.xml b/distribution/generator/profile/influxdb-storage-agent-profile/pom.xml
index 62a817e..c8f02b5 100644
--- a/distribution/generator/profile/influxdb-storage-agent-profile/pom.xml
+++ b/distribution/generator/profile/influxdb-storage-agent-profile/pom.xml
@@ -39,6 +39,10 @@
<groupId>org.eclipse.sensinact.gateway.tools</groupId>
<artifactId>influxdb-connector</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.sensinact.gateway</groupId>
+ <artifactId>sensinact-historic-api</artifactId>
+ </dependency>
</dependencies>
<build>
diff --git a/distribution/generator/profile/pom.xml b/distribution/generator/profile/pom.xml
index 0bc2612..c1e0595 100644
--- a/distribution/generator/profile/pom.xml
+++ b/distribution/generator/profile/pom.xml
@@ -96,6 +96,7 @@
<module>simulation-profile</module>
<module>http-storage-agent-profile</module>
<module>influxdb-storage-agent-profile</module>
+ <module>historic-profile</module>
<module>swagger-profile</module>
<module>sensinact-remote</module>
<module>sensinact-datastore</module>