-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpom.yml
More file actions
112 lines (100 loc) · 3.85 KB
/
pom.yml
File metadata and controls
112 lines (100 loc) · 3.85 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
modelVersion: 4.0.0
groupId: nl.jqno.paralleljava
artifactId: parallel-java
version: 1.0
packaging: jar
name: parallel-java
description: "Todo-Backend built with Java from a Parallel Universe: a demo project to illustrate the point of my talk 'Java from a Parallel Universe'"
properties: {
encoding: utf-8,
maven.compiler.source: 11,
maven.compiler.target: 11,
coverage.threshold: 1.0
}
repositories:
- { id: bintray-jqno-picotest-repo, url: "https://dl.bintray.com/jqno/picotest-repo" }
dependencyManagement:
dependencies:
- { groupId: org.jdbi, artifactId: jdbi3-bom, version: 3.6.0, type: pom, scope: import }
dependencies:
- { groupId: io.vavr, artifactId: vavr, version: 0.10.0 }
- { groupId: io.vavr, artifactId: vavr-gson, version: 0.10.0 }
- { groupId: com.sparkjava, artifactId: spark-core, version: 2.7.2 }
- { groupId: org.slf4j, artifactId: slf4j-api, version: 1.7.26 }
- { groupId: org.slf4j, artifactId: slf4j-simple, version: 1.7.26 }
- { groupId: com.google.code.gson, artifactId: gson, version: 2.8.5 }
- { groupId: org.jdbi, artifactId: jdbi3-core }
- { groupId: org.jdbi, artifactId: jdbi3-vavr }
- { groupId: org.postgresql, artifactId: postgresql, version: 42.2.5 }
- { groupId: com.h2database, artifactId: h2, version: 1.4.199 }
- { groupId: nl.jqno.picotest, artifactId: picotest, version: 0.3, scope: test }
- { groupId: nl.jqno.equalsverifier, artifactId: equalsverifier, version: 3.1.7, scope: test }
- { groupId: org.assertj, artifactId: assertj-core, version: 3.11.1, scope: test }
- { groupId: org.assertj, artifactId: assertj-vavr, version: 0.1.0, scope: test }
- { groupId: com.tngtech.archunit, artifactId: archunit, version: 0.9.3, scope: test }
# REST-Assured is useful but problematic on Java 11. We need to overrule Groovy and exclude JAXB-OSGI.
- { groupId: org.codehaus.groovy, artifactId: groovy, version: 2.5.6, scope: test }
- { groupId: org.codehaus.groovy, artifactId: groovy-xml, version: 2.5.6, scope: test }
- groupId: io.rest-assured
artifactId: rest-assured
version: 3.3.0
scope: test
exclusions:
- groupId: com.sun.xml.bind
artifactId: jaxb-osgi
build:
plugins:
- groupId: org.apache.maven.plugins
artifactId: maven-compiler-plugin
version: 3.8.0
- groupId: org.apache.maven.plugins
artifactId: maven-surefire-plugin
version: 2.22.1
configuration:
argLine: "@{argLine} --add-opens nl.jqno.paralleljava/nl.jqno.paralleljava.app.domain=ALL-UNNAMED"
- groupId: org.apache.maven.plugins
artifactId: maven-dependency-plugin
version: 3.1.1
configuration:
includeScope: runtime
executions:
- id: default
phase: package
goals: [copy-dependencies]
- groupId: org.apache.maven.plugins
artifactId: maven-checkstyle-plugin
version: 3.0.0
dependencies:
- { groupId: com.puppycrawl.tools, artifactId: checkstyle, version: 8.18 }
configuration:
configLocation: checkstyle.xml
includeTestSourceDirectory: true
encoding: UTF-8
consoleOutput: true
excludes: "**/module-info.java"
executions:
- id: default
phase: verify
goals: [check]
configuration:
failsOnError: true
- groupId: org.jacoco
artifactId: jacoco-maven-plugin
version: 0.8.3
configuration:
excludes:
- "nl/jqno/paralleljava/Main.class"
executions:
- id: default-prepare-angent
goals: [prepare-agent]
- id: default-report
goals: [report]
- id: default-check
goals: [check]
configuration:
rules:
- element: BUNDLE
limits:
- counter: INSTRUCTION
value: COVEREDRATIO
minimum: ${coverage.threshold}