-
Notifications
You must be signed in to change notification settings - Fork 31
/
pom.xml
376 lines (329 loc) · 10.9 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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<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>org.multibit.hd.hardware</groupId>
<artifactId>parent</artifactId>
<version>develop-SNAPSHOT</version>
<packaging>pom</packaging>
<name>MultiBit HD Hardware</name>
<description>MBHD Hardware provides a common API for hardware wallets that wish to interface with MultiBit HD
</description>
<properties>
<!-- Source encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Library versions -->
<slf4j.version>1.7.2</slf4j.version>
<findbugs.version>3.0.0</findbugs.version>
</properties>
<url>https://github.com/keepkey/multibit-hardware</url>
<inceptionYear>2013</inceptionYear>
<organization>
<name>KeepKey</name>
<url>https://www.keepkey.com/</url>
</organization>
<developers>
<developer>
<name>Gary Rowe</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Jim Burton</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Kenneth Heutmaker</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Kartik Iyer</name>
<email>[email protected]</email>
</developer>
</developers>
<licenses>
<license>
<name>MIT</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
<comments>All source code is under the MIT license.</comments>
</license>
</licenses>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/keepkey/multibit-hardware/issues</url>
</issueManagement>
<repositories>
<!-- Define the MultiBit staging repository for releases and snapshots -->
<!-- Use https://raw.github.com to provide a consistent result -->
<repository>
<id>mbhd-maven-release</id>
<url>https://raw.github.com/keepkey/mbhd-maven/master/releases</url>
<releases />
</repository>
<repository>
<id>mbhd-maven-snapshot</id>
<url>https://raw.github.com/keepkey/mbhd-maven/master/snapshots</url>
<!-- These artifacts change frequently during development iterations -->
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<!--
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<downloadUrl>https://oss.sonatype.org/content/groups/public/uk/co/bitcoin-solutions</downloadUrl>
</distributionManagement>
-->
<scm>
<connection>scm:git:[email protected]:keepkey/multibit-hardware.git</connection>
<developerConnection>scm:git:[email protected]:keepkey/multibit-hardware.git</developerConnection>
<url>[email protected]:keepkey/multibit-hardware.git</url>
<tag>HEAD</tag>
</scm>
<modules>
<module>core</module>
<module>trezor</module>
<module>keepkey</module>
</modules>
<profiles>
<!-- To active this use 'mvn release:prepare release:perform' -->
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<homedir>${gpg.homedir}</homedir>
<defaultKeyring>false</defaultKeyring>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<createChecksum>true</createChecksum>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<gpg.homedir>/Volumes/GPG/.gnupg</gpg.homedir>
</properties>
</profile>
</profiles>
<build>
<plugins>
<!-- Ensure compilation is done under Java 7 in all environments -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- Findbugs
Notes:
See target/findBugs.xml for report
Use Findbugs-IDEA plugin with "Medium" (default) or "Low" (recommended) threshold
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
<configuration>
<effort>Max</effort>
<!-- The project currently passes with Medium but Low is desired -->
<threshold>Medium</threshold>
<xmlOutput>true</xmlOutput>
<!-- Skip the protobuf generated files -->
<onlyAnalyze>org.multibit.*</onlyAnalyze>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Filter out functional tests by Maven (an IDE will run all tests including functional) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<excludes>
<exclude>**/*FunctionalTest.java</exclude>
</excludes>
</configuration>
</plugin>
<!-- Generates a source code JAR during package -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- For deploying to Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
</plugins>
</build>
<!-- Parent provides default configuration for dependencies
(see examples project to how to arrange this in downstream applications -->
<dependencyManagement>
<dependencies>
<!-- Logging is through SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- MultiBit Commons for Bitcoin support -->
<dependency>
<groupId>org.multibit</groupId>
<artifactId>commons</artifactId>
<version>1.1.0</version>
</dependency>
<!-- hid4java for HID USB -->
<dependency>
<groupId>org.hid4java</groupId>
<artifactId>hid4java-bob</artifactId>
<version>0.4.0-bob-0.1.0</version>
</dependency>
<!-- Findbugs annotations -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
<version>2.0.1</version>
</dependency>
<!-- Testing -->
<!-- JUnit for testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<!-- FEST for fluent test assertions -->
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<version>2.0M10</version>
<scope>test</scope>
</dependency>
<!-- Mockito for mocking -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- All modules will have these dependencies -->
<dependencies>
<dependency>
<groupId>org.multibit</groupId>
<artifactId>commons</artifactId>
</dependency>
<!-- All logging is through SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- Findbugs annotations -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</dependency>
<!-- Apache Commons for utilities not in Guava -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<!-- Testing -->
<!-- SLF4J simple for logging test output -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<!-- JUnit for testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<!-- FEST for fluent test assertions -->
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
</dependency>
<!-- Mockito for mocking -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
</dependency>
</dependencies>
</project>