2020-01-27 16:17:00 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>strolch-plc</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>strolch-plc</name>
|
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<description>Module build to build strolch-plc</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
|
|
|
<buildTimestamp>${maven.build.timestamp}</buildTimestamp>
|
|
|
|
|
2020-08-07 15:36:08 +02:00
|
|
|
<jdk.version>11</jdk.version>
|
2020-01-27 16:17:00 +01:00
|
|
|
|
|
|
|
<!-- compile time dependencies -->
|
|
|
|
<slf4j.version>1.7.28</slf4j.version>
|
|
|
|
<logback.version>1.2.3</logback.version>
|
|
|
|
<jersey.version>2.29</jersey.version>
|
|
|
|
<gson.version>2.8.5</gson.version>
|
|
|
|
<annotation.version>1.3.2</annotation.version>
|
|
|
|
<serverlet.version>4.0.1</serverlet.version>
|
|
|
|
<jaxrs.api.version>2.1.1</jaxrs.api.version>
|
|
|
|
<jaxrs.ri.version>2.29</jaxrs.ri.version>
|
|
|
|
<websocket.version>1.1</websocket.version>
|
|
|
|
<jaxb.api.version>2.4.0-b180830.0359</jaxb.api.version>
|
|
|
|
<csv.version>1.7</csv.version>
|
|
|
|
<tyrus.version>1.13</tyrus.version>
|
2020-01-27 16:58:12 +01:00
|
|
|
<pi4j.version>1.4-SNAPSHOT</pi4j.version>
|
2020-01-27 16:17:00 +01:00
|
|
|
<jserialcomm.version>[2.0.0,3.0.0)</jserialcomm.version>
|
|
|
|
<javafx.version>11.0.2</javafx.version>
|
|
|
|
|
|
|
|
<strolch.version>1.6.0-SNAPSHOT</strolch.version>
|
|
|
|
|
|
|
|
<!-- test time dependencies -->
|
|
|
|
<junit.version>4.12</junit.version>
|
|
|
|
<hamcrest.version>2.1</hamcrest.version>
|
|
|
|
|
|
|
|
<!-- maven plug-in dependencies -->
|
|
|
|
<maven-scm-plugin.version>1.11.2</maven-scm-plugin.version>
|
|
|
|
<buildnumber-maven-plugin.version>1.4</buildnumber-maven-plugin.version>
|
|
|
|
<versions-maven-plugin.version>2.7</versions-maven-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
|
|
|
<maven-source-plugin.version>3.1.0</maven-source-plugin.version>
|
|
|
|
<maven-site-plugin.version>3.7.1</maven-site-plugin.version>
|
|
|
|
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
|
|
|
|
<maven-jar-plugin.version>3.1.2</maven-jar-plugin.version>
|
|
|
|
<maven-war-plugin.version>3.2.3</maven-war-plugin.version>
|
|
|
|
<tomcat7-maven-plugin.version>2.2</tomcat7-maven-plugin.version>
|
|
|
|
<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
|
|
|
|
<maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version>
|
|
|
|
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
|
|
|
|
<maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
|
|
|
|
<maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
|
|
|
|
<maven-project-info-reports-plugin.version>3.0.0</maven-project-info-reports-plugin.version>
|
|
|
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
|
|
|
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
|
|
|
|
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
|
|
|
|
<archetype-packaging.version>3.1.2</archetype-packaging.version>
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<modules>
|
2020-03-30 18:16:34 +02:00
|
|
|
<module>strolch-plc-bom</module>
|
2020-01-28 12:33:52 +01:00
|
|
|
<module>strolch-plc-model</module>
|
2020-02-06 14:20:36 +01:00
|
|
|
<module>strolch-plc-util</module>
|
2020-01-27 16:17:00 +01:00
|
|
|
<module>strolch-plc-core</module>
|
|
|
|
<module>strolch-plc-rest</module>
|
2020-01-28 19:43:20 +01:00
|
|
|
<module>strolch-plc-gw-client</module>
|
|
|
|
<module>strolch-plc-gw-server</module>
|
2020-01-27 16:17:00 +01:00
|
|
|
</modules>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>eitch</id>
|
|
|
|
<name>Robert von Burg</name>
|
|
|
|
<email>robert.vonburg@4trees.ch</email>
|
|
|
|
<url>http://4trees.ch</url>
|
|
|
|
<organization>4trees</organization>
|
|
|
|
<organizationUrl>http://4trees.ch</organizationUrl>
|
|
|
|
<roles>
|
|
|
|
<role>architect</role>
|
|
|
|
<role>developer</role>
|
|
|
|
</roles>
|
|
|
|
<timezone>+1</timezone>
|
|
|
|
<properties>
|
|
|
|
<picUrl>http://localhost</picUrl>
|
|
|
|
</properties>
|
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<id>rb</id>
|
|
|
|
<name>Reto Breitenmoser</name>
|
|
|
|
<email>reto.breitenmoser@4trees.ch</email>
|
|
|
|
<url>http://4trees.ch</url>
|
|
|
|
<organization>4trees</organization>
|
|
|
|
<organizationUrl>http://4trees.ch</organizationUrl>
|
|
|
|
<roles>
|
|
|
|
<role>architect</role>
|
|
|
|
<role>developer</role>
|
|
|
|
</roles>
|
|
|
|
<timezone>+1</timezone>
|
|
|
|
<properties>
|
|
|
|
<picUrl>http://localhost</picUrl>
|
|
|
|
</properties>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git@github.com:4treesCH/strolch-plc.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:4treesCH/strolch-plc.git</developerConnection>
|
|
|
|
<url>https://github.com/4treesCH/strolch-plc</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<organization>
|
|
|
|
<name>4trees</name>
|
|
|
|
<url>http://4trees.ch</url>
|
|
|
|
</organization>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
<!-- base -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>${gson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- strolch -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>li.strolch.bom</artifactId>
|
|
|
|
<version>${strolch.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- PLC -->
|
2020-01-28 19:43:20 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>strolch-plc-model</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-01-27 16:17:00 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>strolch-plc-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>strolch-plc-rest</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-01-28 19:43:20 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>strolch-plc-gw-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>li.strolch</groupId>
|
|
|
|
<artifactId>strolch-plc-gw-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-01-27 16:17:00 +01:00
|
|
|
|
|
|
|
<!-- Pi4j -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.pi4j</groupId>
|
|
|
|
<artifactId>pi4j-core</artifactId>
|
|
|
|
<version>${pi4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- jSerialComm -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fazecast</groupId>
|
|
|
|
<artifactId>jSerialComm</artifactId>
|
|
|
|
<version>${jserialcomm.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Restful API -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<version>${jaxb.api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>${serverlet.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
<version>${jaxrs.api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.bundles</groupId>
|
|
|
|
<artifactId>jaxrs-ri</artifactId>
|
|
|
|
<version>${jaxrs.ri.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey</groupId>
|
|
|
|
<artifactId>jersey-bom</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
|
|
<artifactId>tyrus-client</artifactId>
|
|
|
|
<version>${tyrus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.tyrus</groupId>
|
|
|
|
<artifactId>tyrus-container-grizzly-client</artifactId>
|
|
|
|
<version>${tyrus.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- websocket -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.websocket</groupId>
|
|
|
|
<artifactId>javax.websocket-api</artifactId>
|
|
|
|
<version>${websocket.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- testing -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.properties</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.properties</exclude>
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<version>${buildnumber-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<doCheck>false</doCheck>
|
|
|
|
<doUpdate>false</doUpdate>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${jdk.version}</source>
|
|
|
|
<target>${jdk.version}</target>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
<compilerArgument>-Xlint:all</compilerArgument>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>${maven-source-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources-no-fork</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
|
|
<version>${maven-site-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
<version>${maven-eclipse-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
|
|
<downloadSources>true</downloadSources>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven-jar-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>${maven-dependency-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<excludeTransitive>false</excludeTransitive>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>release</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|