-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
197 lines (182 loc) · 6.22 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<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>
<parent>
<groupId>org.gbif</groupId>
<artifactId>motherpom</artifactId>
<version>56</version>
</parent>
<artifactId>gbif-common-mybatis</artifactId>
<version>1.5-SNAPSHOT</version>
<packaging>jar</packaging>
<name>GBIF Common :: MyBatis</name>
<description>Utilities for common MyBatis persistence layers</description>
<scm>
<connection>scm:git:git@github.com:gbif/common-mybatis.git</connection>
<url>https://github.com/gbif/common-mybatis</url>
<developerConnection>scm:git:git@github.com:gbif/common-mybatis.git</developerConnection>
<tag>HEAD</tag>
</scm>
<properties>
<jdkLevel>1.8</jdkLevel>
<gbif-api.version>0.166</gbif-api.version>
<gbif-parsers.version>0.59</gbif-parsers.version>
<gbif-common.version>0.53</gbif-common.version>
<findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
<guava.version>18.0</guava.version>
<hikaricp.version>3.4.5</hikaricp.version>
<metrics.version>4.2.5</metrics.version>
<mybatis.version>3.5.2</mybatis.version>
<mybatis-ehcache.version>1.0.0</mybatis-ehcache.version>
<slf4j-api.version>1.7.30</slf4j-api.version>
<!-- Test -->
<junit.version>5.8.2</junit.version>
<mockito.version>4.1.0</mockito.version>
<hamcrest.version>2.2</hamcrest.version>
<h2.version>1.4.192</h2.version>
<!-- Sonar -->
<sonar.language>java</sonar.language>
<sonar.jacoco.reportPaths>${jacoco.output.file}</sonar.jacoco.reportPaths>
<sonar.projectName>GBIF Common MyBatis</sonar.projectName>
<!-- JaCoCo -->
<coverage.dir>${project.build.directory}/coverage</coverage.dir>
<coverage.report.dir>${project.reporting.outputDirectory}/jacoco</coverage.report.dir>
<jacoco.output.file>${coverage.dir}/jacoco.exec</jacoco.output.file>
</properties>
<repositories>
<repository>
<id>gbif-all</id>
<url>http://repository.gbif.org/content/groups/gbif</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${findbugs-jsr305.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-api</artifactId>
<version>${gbif-api.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-parsers</artifactId>
<version>${gbif-parsers.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-common</artifactId>
<version>${gbif-common.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>${mybatis.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-ehcache</artifactId>
<version>${mybatis-ehcache.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>${hikaricp.version}</version>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${metrics.version}</version>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.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.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>${surefireArgLine}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<configuration>
<append>true</append>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${jacoco.output.file}</destFile>
<propertyName>surefireArgLine</propertyName>
</configuration>
</execution>
<execution>
<id>report-coverage</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${jacoco.output.file}</dataFile>
<outputDirectory>${coverage.report.dir}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>