-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
167 lines (165 loc) · 5.69 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<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>ch.rweiss</groupId>
<artifactId>jmcli</artifactId>
<version>0.3.0-SNAPSHOT</version>
<properties>
<jackson.version>2.9.8</jackson.version>
<picocli.version>3.7.0</picocli.version>
<junit.engine.version>5.3.1</junit.engine.version>
<junit.platform.version>1.3.1</junit.platform.version>
<assertj.version>3.11.1</assertj.version>
</properties>
<dependencies>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>${picocli.version}</version>
</dependency>
<dependency>
<groupId>ch.rweiss</groupId>
<artifactId>ansi-terminal-chart</artifactId>
<version>0.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.rweiss</groupId>
<artifactId>jmx-client</artifactId>
<version>0.3.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.engine.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>${junit.platform.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<executions>
<execution>
<id>module-compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<!-- compile module-info.java to be compatible with java 11 -->
<release>11</release>
<includes>
<include>module-info.java</include>
</includes>
</configuration>
</execution>
<execution>
<id>default-compile</id>
<!-- Compile all other classes to be compatible with java 8 -->
<configuration>
<excludes>
<exclude>module-info.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
<configuration>
<release>8</release>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<archive>
<manifestEntries>
<Built-By>Reto Weiss</Built-By>
<Implementation-Title>${project.artifactId}</Implementation-Title>
<Implementation-Vendor>Reto Weiss</Implementation-Vendor>
<Implementation-Version>${project.version}</Implementation-Version>
<Main-Class>ch.rweiss.jmcli.JmCli</Main-Class>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>installers</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<attach>false</attach>
<descriptors>
<descriptor>src/assembly/classpath//windows.xml</descriptor>
<descriptor>src/assembly/classpath/linux.xml</descriptor>
<descriptor>src/assembly/module//windows.xml</descriptor>
<descriptor>src/assembly/module/linux.xml</descriptor>
</descriptors>
<finalName>jmcli-${pom.version}</finalName>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>io.packagecloud.maven.wagon</groupId>
<artifactId>maven-packagecloud-wagon</artifactId>
<version>0.0.4</version>
</extension>
</extensions>
</build>
<repositories>
<repository>
<id>weissreto-travis</id>
<url>https://packagecloud.io/weissreto/travis/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>packagecloud-travis</id>
<url>packagecloud+https://packagecloud.io/weissreto/travis</url>
</repository>
<snapshotRepository>
<id>packagecloud-travis</id>
<url>packagecloud+https://packagecloud.io/weissreto/travis</url>
</snapshotRepository>
</distributionManagement>
</project>