| <?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-integrations</artifactId> |
| <version>0.8.0</version> |
| </parent> |
| |
| <artifactId>plc4x-opcua-server</artifactId> |
| |
| <name>PLC4J: Integrations: Eclipse Milo OPC UA Server</name> |
| |
| <properties> |
| <app.main.class>org.apache.plc4x.java.opcuaserver.OPCUAServer</app.main.class> |
| <guava.version>30.0-jre</guava.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.milo</groupId> |
| <artifactId>dictionary-manager</artifactId> |
| </dependency> |
| |
| <!-- Milo OPC UA Dependencies --> |
| <dependency> |
| <groupId>org.eclipse.milo</groupId> |
| <artifactId>sdk-server</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.milo</groupId> |
| <artifactId>stack-server</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.milo</groupId> |
| <artifactId>stack-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.milo</groupId> |
| <artifactId>sdk-core</artifactId> |
| </dependency> |
| |
| <!-- Parsing Libraries --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.dataformat</groupId> |
| <artifactId>jackson-dataformat-yaml</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| </dependency> |
| |
| <!-- PLC4X Dependencies --> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-api</artifactId> |
| <version>0.8.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-connection-pool</artifactId> |
| <version>0.8.0</version> |
| </dependency> |
| |
| <!-- Include all drivers --> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-ab-eth</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-ads</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-canopen</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-eip</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-firmata</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-knxnetip</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-modbus</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-opcua</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-s7</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-driver-simulated</artifactId> |
| <version>0.8.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| <!-- Logging dependancies --> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcmail-jdk15on</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcpkix-jdk15on</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk15on</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.vavr</groupId> |
| <artifactId>vavr</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| </dependency> |
| |
| <!-- Testing Dependencies --> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>3.1.0</version> |
| </plugin> |
| |
| <!-- Build a fat jar containing all dependencies --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-shade-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-uber-jar</id> |
| <phase>package</phase> |
| <goals> |
| <goal>shade</goal> |
| </goals> |
| <configuration> |
| <transformers combine.children="append"> |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| <mainClass>org.apache.plc4x.java.opcuaserver.OPCUAServer</mainClass> |
| </transformer> |
| </transformers> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-uber-jar</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>${project.build.directory}/${project.artifactId}-${project.version}-uber-jar.jar</file> |
| <type>jar</type> |
| <classifier>standalone</classifier> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <configuration> |
| <usedDependencies combine.children="append"> |
| <usedDependency>org.slf4j:slf4j-simple</usedDependency> |
| <usedDependency>org.bouncycastle:bcmail-jdk15on</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-ab-eth</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-ads</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-canopen</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-eip</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-firmata</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-knxnetip</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-modbus</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-opcua</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-s7</usedDependency> |
| <usedDependency>org.apache.plc4x:plc4j-driver-simulated</usedDependency> |
| </usedDependencies> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| </project> |