-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
139 lines (131 loc) · 5.77 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ KNX Link - A library for KNX Net/IP communication
~ Copyright (C) 2020 Pitschmann Christoph
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <https://www.gnu.org/licenses />.
-->
<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">
<!-- Project -->
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
<groupId>li.pitschmann</groupId>
<artifactId>knx-demo-tty-monitor</artifactId>
<version>0.2.1-SNAPSHOT</version>
<name>Demo: KNX TTY Monitor</name>
<description>A KNX demo application for terminal based monitoring based on KNX Link project</description>
<!-- Licenses -->
<licenses>
<license>
<name>GPL-v3.0</name>
<url>http://www.gnu.org/licenses/gpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Developers -->
<developers>
<developer>
<name>Christoph Pitschmann</name>
<email>[email protected]</email>
</developer>
</developers>
<!-- Source Control Management -->
<scm>
<url>https://github.com/pitschr/knx-demo-tty-monitor</url>
<connection>scm:git:https://github.com/pitschr/knx-demo-tty-monitor</connection>
<developerConnection>scm:git:https://github.com/pitschr/knx-demo-tty-monitor</developerConnection>
<tag>HEAD</tag>
</scm>
<!-- Properties -->
<properties>
<project.build.java.source>11</project.build.java.source>
<project.build.java.target>11</project.build.java.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Maven Plugin Versions and Licenses -->
<version.maven-assembly-plugin>3.2.0</version.maven-assembly-plugin> <!-- Apache 2.0 -->
<version.maven-compiler-plugin>3.8.1</version.maven-compiler-plugin> <!-- Apache 2.0 -->
<!-- Dependency Versions and Licenses -->
<version.knx-core>0.3.0</version.knx-core> <!-- GPL 3.0 -->
<version.knx-core-plugin-audit>0.3.0</version.knx-core-plugin-audit> <!-- GPL 3.0 -->
<version.knx-core-plugin-statistic>0.3.0</version.knx-core-plugin-statistic> <!-- GPL 3.0 -->
<version.logback-classic>1.2.3</version.logback-classic> <!-- EPL 1.0, LGPL 2.1 -->
</properties>
<!-- Dependencies -->
<dependencies>
<dependency>
<groupId>li.pitschmann</groupId>
<artifactId>knx-core</artifactId>
<version>${version.knx-core}</version>
</dependency>
<dependency>
<groupId>li.pitschmann</groupId>
<artifactId>knx-core-plugin-audit</artifactId>
<version>${version.knx-core-plugin-audit}</version>
</dependency>
<dependency>
<groupId>li.pitschmann</groupId>
<artifactId>knx-core-plugin-statistic</artifactId>
<version>${version.knx-core-plugin-statistic}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${version.logback-classic}</version>
</dependency>
</dependencies>
<!-- Build -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.maven-compiler-plugin}</version>
<configuration>
<source>${project.build.java.source}</source>
<target>${project.build.java.target}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!--
Creates a JAR file with all dependencies (one fat JAR)
The main class will be: li.pitschmann.knx.examples.tty.Main
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${version.maven-assembly-plugin}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>li.pitschmann.knx.examples.tty.Main</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>${project.artifactId}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>