-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
121 lines (112 loc) · 3.95 KB
/
pom.xml
File metadata and controls
121 lines (112 loc) · 3.95 KB
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
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>rickwporter.prettytable</groupId>
<artifactId>rickwporter-prettytable</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>rickwporter-prettytable</name>
<properties>
<!-- Project stuff -->
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<!-- Main versions -->
<version.apache.lang3>3.20.0</version.apache.lang3>
<version.apache.csv>1.14.1</version.apache.csv>
<!-- JUnit versions -->
<version.jupiter.junit>5.14.1</version.jupiter.junit>
<version.plugin.jacoco>0.8.14</version.plugin.jacoco>
<!-- Checkstyle -->
<version.plugin.checkstyle>3.6.0</version.plugin.checkstyle>
<version.checkstyle>8.30</version.checkstyle>
</properties>
<dependencies>
<!-- string manipulations -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${version.apache.lang3}</version>
</dependency>
<!-- CSV writing -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>${version.apache.csv}</version>
</dependency>
<!-- Unit test stuff -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${version.jupiter.junit}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Checkstyle plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${version.plugin.checkstyle}</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${version.checkstyle}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
</plugin>
<!-- Code coverage plugin -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${version.plugin.jacoco}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Dependency plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>analyze</id>
<goals>
<goal>analyze-only</goal>
</goals>
</execution>
</executions>
<configuration>
<failOnWarning>true</failOnWarning>
<scriptableOutput>true</scriptableOutput>
<usedDependencies>
<!-- Not usre why Apache commons (or junit) need to be here -->
<dependency>org.apache.commons:commons-lang3</dependency>
<dependency>org.apache.commons:commons-csv</dependency>
<dependency>org.junit.jupiter:junit-jupiter-api</dependency>
</usedDependencies>
<silent>true</silent>
</configuration>
</plugin>
</plugins>
</build>
</project>