| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF 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"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-protocols</artifactId> |
| <version>0.4.0</version> |
| </parent> |
| |
| <artifactId>plc4j-protocol-delta-v</artifactId> |
| <name>PLC4J: Protocol: Delta-V</name> |
| <description>Implementation of a PLC4X driver able to speak with Emerson devices using the DeltaV protocol. |
| </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.pcap4j</groupId> |
| <artifactId>pcap4j-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.pcap4j</groupId> |
| <artifactId>pcap4j-packetfactory-static</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-buffer</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </dependency> |
| |
| <!-- InfluxDB dependencies --> |
| <dependency> |
| <groupId>org.influxdb</groupId> |
| <artifactId>influxdb-java</artifactId> |
| <version>2.15</version> |
| </dependency> |
| |
| <!-- Elasticsearch dependencies --> |
| <dependency> |
| <groupId>org.elasticsearch</groupId> |
| <artifactId>elasticsearch</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.elasticsearch</groupId> |
| <artifactId>elasticsearch-x-content</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.elasticsearch.plugin</groupId> |
| <artifactId>transport-netty4-client</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>de.dentrassi.elasticsearch</groupId> |
| <artifactId>log4j2-mock</artifactId> |
| <version>0.0.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <configuration> |
| <usedDependencies> |
| <usedDependency>org.pcap4j:pcap4j-packetfactory-static</usedDependency> |
| <usedDependency>de.dentrassi.elasticsearch:log4j2-mock</usedDependency> |
| </usedDependencies> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.6.0</version> |
| <configuration> |
| <classpathScope>test</classpathScope> |
| <mainClass>org.apache.plc4x.java.deltav.PoCInflux</mainClass> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- |
| |
| This profile starts the application with a provided pcap file instead of capturing real traffic. |
| |
| Run With |
| mvn exec:java -P dummy -Dpcapng.file.path="/path/to/mycool.pcapng" |
| |
| --> |
| <profiles> |
| <profile> |
| <id>dummy</id> |
| |
| <properties> |
| <pcapng.file.path>hurz.pcapng</pcapng.file.path> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.6.0</version> |
| <configuration combine.children="append"> |
| <arguments>${pcapng.file.path}</arguments> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| </project> |