2012-03-11 20:01:12 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright 2012 Google Inc.
|
|
|
|
~
|
|
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
~ you may not use this file except in compliance with the License.
|
|
|
|
~ You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
~ See the License for the specific language governing permissions and
|
|
|
|
~ limitations under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<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">
|
2012-03-16 13:20:50 +01:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2012-03-11 20:01:12 +01:00
|
|
|
<parent>
|
2014-09-30 17:05:06 +02:00
|
|
|
<groupId>org.bitcoinj</groupId>
|
2012-03-16 13:20:50 +01:00
|
|
|
<artifactId>bitcoinj-parent</artifactId>
|
2014-10-05 20:38:00 +02:00
|
|
|
<version>0.13-SNAPSHOT</version>
|
2012-03-11 20:01:12 +01:00
|
|
|
</parent>
|
|
|
|
|
2014-09-30 17:05:06 +02:00
|
|
|
<artifactId>bitcoinj-core</artifactId>
|
2012-03-16 13:20:50 +01:00
|
|
|
|
2012-09-24 15:27:30 +02:00
|
|
|
<name>bitcoinj</name>
|
2012-03-16 13:20:50 +01:00
|
|
|
<description>A Java Bitcoin library</description>
|
2012-03-11 20:01:12 +01:00
|
|
|
|
2014-02-03 15:42:53 +01:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2014-10-03 00:21:13 +02:00
|
|
|
<url>https://bitcoinj.github.io</url>
|
2014-02-03 15:42:53 +01:00
|
|
|
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
<!-- Dummy block to make Maven Central happy: authors list is in AUTHORS -->
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<name>The bitcoinj team</name>
|
|
|
|
<email>bitcoinj@googlegroups.com</email>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
|
|
|
|
2012-03-11 20:01:12 +01:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>update-protobuf</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>updateProtobuf</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>compile-protoc</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<path id="proto.path">
|
|
|
|
<fileset dir="src">
|
2012-03-13 18:57:03 +01:00
|
|
|
<include name="**/*.proto"/>
|
2012-03-11 20:01:12 +01:00
|
|
|
</fileset>
|
|
|
|
</path>
|
2012-03-13 18:57:03 +01:00
|
|
|
<pathconvert pathsep=" " property="proto.files" refid="proto.path"/>
|
2012-03-11 20:01:12 +01:00
|
|
|
<exec executable="protoc" failonerror="true">
|
2012-04-08 14:27:08 +02:00
|
|
|
<arg value="--java_out=${project.basedir}/src/main/java"/>
|
2012-03-13 18:57:03 +01:00
|
|
|
<arg value="-I${project.basedir}/src"/>
|
|
|
|
<arg line="${proto.files}"/>
|
2012-03-11 20:01:12 +01:00
|
|
|
</exec>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2013-03-06 11:59:53 +01:00
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
2012-03-11 20:01:12 +01:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2014-10-02 14:22:25 +02:00
|
|
|
<!-- Generate source and javadoc jars: Maven Central requires this -->
|
2012-03-11 20:01:12 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2013-07-31 19:37:04 +02:00
|
|
|
|
2014-10-02 14:22:25 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.9.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<detectLinks/>
|
|
|
|
<links>
|
|
|
|
<link>http://docs.guava-libraries.googlecode.com/git-history/release/javadoc/</link>
|
|
|
|
</links>
|
|
|
|
<detectJavaApiLink/>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2013-07-31 19:37:04 +02:00
|
|
|
<!-- Verify the dependency chain: see https://github.com/gary-rowe/BitcoinjEnforcerRules for
|
|
|
|
more information on this.
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
2014-08-03 20:52:22 +02:00
|
|
|
<DependencyConvergence/>
|
2013-07-31 19:37:04 +02:00
|
|
|
<digestRule implementation="uk.co.froot.maven.enforcer.DigestRule">
|
|
|
|
|
|
|
|
<!-- Create a snapshot to build the list of URNs below -->
|
|
|
|
<buildSnapshot>true</buildSnapshot>
|
|
|
|
|
|
|
|
<!-- List of required hashes -->
|
|
|
|
<!-- Format is URN of groupId:artifactId:version:type:classifier:scope:hash -->
|
|
|
|
<!-- classifier is "null" if not present -->
|
|
|
|
<urns>
|
2014-10-03 00:21:13 +02:00
|
|
|
<urn>org.bitcoinj:orchid:1.0:jar:null:compile:bd98285f39f88875bb91bde940d6ca2d020edaa4</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>cglib:cglib-nodep:2.2:jar:null:test:59afed7ab65e7ec6585d5bc60556c3cbd203532b</urn>
|
|
|
|
<urn>com.google.code.findbugs:jsr305:2.0.1:jar:null:compile:516c03b21d50a644d538de0f0369c620989cd8f0</urn>
|
2014-04-06 15:54:17 +02:00
|
|
|
<urn>com.google.guava:guava:16.0.1:jar:null:compile:5fa98cd1a63c99a44dd8d3b77e4762b066a5d0c5</urn>
|
2014-02-04 11:30:47 +01:00
|
|
|
<urn>com.google.protobuf:protobuf-java:2.5.0:jar:null:compile:a10732c76bfacdbd633a7eb0f7968b1059a65dfa</urn>
|
2013-07-31 19:37:04 +02:00
|
|
|
<urn>com.h2database:h2:1.3.167:jar:null:compile:d3867d586f087e53eb12fc65e5693d8ee9a5da17</urn>
|
2014-05-28 19:19:32 +02:00
|
|
|
<urn>com.lambdaworks:scrypt:1.4.0:jar:null:compile:906506b74f30c8c20bccd9ed4a11112d8941fe87</urn>
|
2014-07-26 14:48:51 +02:00
|
|
|
<urn>com.madgag.spongycastle:core:1.51.0.0:jar:null:compile:0f642963312ea0e615ad65f28adc5a5b3a2a0862</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>junit:junit:4.11:jar:null:test:4e031bb61df09069aeb2bffb4019e7a5034a4ee0</urn>
|
2013-07-31 19:37:04 +02:00
|
|
|
<urn>net.jcip:jcip-annotations:1.0:jar:null:compile:afba4942caaeaf46aab0b976afd57cc7c181467e</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-clean-plugin:2.5:maven-plugin:null:runtime:75653decaefa85ca8114ff3a4f869bb2ee6d605d</urn>
|
2014-08-08 14:48:25 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-compiler-plugin:3.1:maven-plugin:null:runtime:9977a8d04e75609cf01badc4eb6a9c7198c4c5ea</urn>
|
2014-08-08 15:42:03 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-dependency-plugin:2.8:maven-plugin:null:runtime:04c8dedf3d9b2a3f45f3daa93e11ca547d2063ca</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-deploy-plugin:2.7:maven-plugin:null:runtime:6dadfb75679ca010b41286794f737088ebfe12fd</urn>
|
|
|
|
<urn>org.apache.maven.plugins:maven-enforcer-plugin:1.2:maven-plugin:null:runtime:6b755a9a0d618f8f57c0b5c4a0737a012e710a46</urn>
|
2014-08-08 15:08:46 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-install-plugin:2.5.1:maven-plugin:null:runtime:b6f5a4b621b9c26699c8deadb20fdc35ce568e35</urn>
|
2014-08-08 15:15:30 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-jar-plugin:2.5:maven-plugin:null:runtime:344d667f5ec8b90d03d698d096a1147672fc522f</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-resources-plugin:2.6:maven-plugin:null:runtime:dd093ff6a4b680eae7ae83b5ab04310249fc6590</urn>
|
2014-08-08 15:25:21 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-shade-plugin:2.3:maven-plugin:null:runtime:d136adc7abccc9c12adcad6ae7a9bc51b2b7184b</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>org.apache.maven.plugins:maven-site-plugin:3.3:maven-plugin:null:runtime:77ba1752b1ac4c4339d6f11554800960a56a4ae1</urn>
|
|
|
|
<urn>org.apache.maven.plugins:maven-source-plugin:2.1.2:maven-plugin:null:runtime:35154aa8e6e0e84c2b5c10c3d5220d65670ba984</urn>
|
|
|
|
<urn>org.apache.maven.plugins:maven-surefire-plugin:2.12.4:maven-plugin:null:runtime:2b435f7f77777d2e62354fdc690da3f1dc47a26b</urn>
|
|
|
|
<urn>org.codehaus.mojo:cobertura-maven-plugin:2.6:maven-plugin:null:runtime:5204735a0642b42f5647d8ec876d4301e328c0d5</urn>
|
|
|
|
<urn>org.easymock:easymock:3.0:jar:null:test:f28a4c31c330f95c9acbf1108cea19952b5c496f</urn>
|
|
|
|
<urn>org.hamcrest:hamcrest-core:1.3:jar:null:test:42a25dc3219429f0e5d060061f71acb49bf010a0</urn>
|
|
|
|
<urn>org.objenesis:objenesis:1.2:jar:null:test:bfcb0539a071a4c5a30690388903ac48c0667f2a</urn>
|
2014-02-10 14:57:12 +01:00
|
|
|
<urn>org.slf4j:slf4j-api:1.7.6:jar:null:compile:562424e36df3d2327e8e9301a76027fca17d54ea</urn>
|
2014-08-03 20:52:22 +02:00
|
|
|
<urn>org.slf4j:slf4j-jdk14:1.7.6:jar:null:test:1a3301a32ea7d90c3d33e9d60edbfdc9589fc748</urn>
|
2014-09-08 22:59:17 +02:00
|
|
|
<url>com.fasterxml.jackson.core:jackson-databind:2.4.2:jar:null:test:8e31266a272ad25ac4c089734d93e8d811652c1f</url>
|
|
|
|
<url>com.fasterxml.jackson.core:jackson-core:2.4.2:jar:null:test:ceb72830d95c512b4b300a38f29febc85bdf6e4b</url>
|
|
|
|
<url>com.fasterxml.jackson.core:jackson-annotations:2.4.2:jar:null:test:6bb52af09372d5064206d47d7887d41671f00f7d</url>
|
2014-10-25 23:01:10 +02:00
|
|
|
<urn>org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:maven-plugin:null:runtime:b2cb310459d082db505fdfa66dbadd4d8bac8e34</urn>
|
2014-11-02 17:50:06 +01:00
|
|
|
<urn>org.eluder.coveralls:coveralls-maven-plugin:3.0.1:maven-plugin:null:runtime:3907ee5cf1e5c85af7bb90e486ce4c7b1408a552</urn>
|
2013-07-31 19:37:04 +02:00
|
|
|
<!-- A check for the rules themselves -->
|
|
|
|
<urn>uk.co.froot.maven.enforcer:digest-enforcer-rules:0.0.1:jar:null:runtime:16a9e04f3fe4bb143c42782d07d5faf65b32106f</urn>
|
|
|
|
</urns>
|
|
|
|
</digestRule>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
<!-- Ensure we download the enforcer rules -->
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>uk.co.froot.maven.enforcer</groupId>
|
|
|
|
<artifactId>digest-enforcer-rules</artifactId>
|
|
|
|
<version>0.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
</plugin>
|
2014-02-07 10:23:30 +01:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
<executions>
|
2014-08-05 16:48:58 +02:00
|
|
|
<!-- Create the bundled JAR, it's easier for some people -->
|
2014-02-07 10:23:30 +01:00
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2014-08-05 16:48:58 +02:00
|
|
|
<minimizeJar>false</minimizeJar>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<!-- exclude signatures, the bundling process breaks them for some reason -->
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
2014-02-07 10:23:30 +01:00
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
<shadedClassifierName>bundled</shadedClassifierName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-08-05 16:48:58 +02:00
|
|
|
|
2014-10-25 23:01:10 +02:00
|
|
|
<!-- Code coverage plugin, generates coverage report to target/site/jacoco/
|
|
|
|
To skip coverage generation add -Djacoco.skip=true
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.7.2.201409121644</version>
|
2014-11-05 23:09:20 +01:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/Protos*.class</exclude> <!-- Exclude generated protobuf classes -->
|
|
|
|
<exclude>org/bitcoinj/jni/*</exclude> <!-- Exclude JNI classes -->
|
|
|
|
<exclude>org/bitcoin/*</exclude> <!-- Exclude native classes -->
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2014-10-25 23:01:10 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>pre-unit-test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
|
|
|
|
<propertyName>surefireArgLine</propertyName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>post-unit-test</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile>
|
|
|
|
<outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-report</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!-- Unit tests plugin, to skip runing test add -Dmaven.test.skip -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.12.4</version>
|
|
|
|
<configuration>
|
|
|
|
<argLine>${surefireArgLine}</argLine> <!-- This is required for code coverage to work. -->
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2014-11-02 17:50:06 +01:00
|
|
|
<!-- Coveralls is a online code coverage tool, you can track code coverage here: https://coveralls.io/r/bitcoinj/bitcoinj -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
|
|
|
<version>3.0.1</version>
|
|
|
|
</plugin>
|
|
|
|
|
2014-08-05 16:48:58 +02:00
|
|
|
<!-- Create a bundled executable test jar that runs the regtester/pulltester.
|
|
|
|
The comparison tool is kind of messy and badly needs a seriously refactoring.
|
|
|
|
It depends on classes which are only in the test tree so we must do some
|
|
|
|
Maven kung fu here to create a bundle of it, as I couldn't make Maven Shade
|
|
|
|
do bundling on the test jar for some reason. Maven kind of sucks ...
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unzip-lib</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<artifactItems>
|
|
|
|
<artifactItem>
|
|
|
|
<outputDirectory>target/test-classes/</outputDirectory>
|
2014-09-30 17:05:06 +02:00
|
|
|
<groupId>org.bitcoinj</groupId>
|
2014-09-30 18:24:19 +02:00
|
|
|
<artifactId>bitcoinj-core</artifactId>
|
2014-10-16 15:30:32 +02:00
|
|
|
<version>${project.version}</version>
|
2014-08-05 16:48:58 +02:00
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>unzip-deps</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>target/test-classes/</outputDirectory>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
2014-09-30 17:05:06 +02:00
|
|
|
<mainClass>org.bitcoinj.core.BitcoindComparisonTool</mainClass>
|
2014-08-05 16:48:58 +02:00
|
|
|
<addClasspath>false</addClasspath>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
<finalName>pull</finalName> <!-- becomes pull-tests.jar on disk (hacky) -->
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-03-11 20:01:12 +01:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2014-02-03 15:42:53 +01:00
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
2014-02-03 15:42:53 +01:00
|
|
|
<version>3.0</version>
|
|
|
|
<scope>test</scope>
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependency>
|
2012-11-01 16:24:09 +01:00
|
|
|
<!-- bitcoinj consumers are expected to provide their own SLF4J adapters
|
2012-03-11 20:01:12 +01:00
|
|
|
such as logback, slf4j-log4j12, slf4j-jcl and so on
|
|
|
|
see http://www.slf4j.org/faq.html -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
2014-02-10 14:57:12 +01:00
|
|
|
<version>1.7.6</version>
|
2012-08-28 19:19:30 +02:00
|
|
|
<scope>test</scope>
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependency>
|
2014-09-08 22:59:17 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>2.4.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-07-12 16:40:36 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>1.3.167</version>
|
2012-12-16 13:38:46 +01:00
|
|
|
<optional>true</optional>
|
2012-07-12 16:40:36 +02:00
|
|
|
</dependency>
|
2012-03-11 20:01:12 +01:00
|
|
|
<dependency>
|
2014-04-08 16:28:03 +02:00
|
|
|
<groupId>com.madgag.spongycastle</groupId>
|
|
|
|
<artifactId>core</artifactId>
|
2014-07-26 14:48:51 +02:00
|
|
|
<version>1.51.0.0</version>
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2014-02-03 15:42:53 +01:00
|
|
|
<version>2.5.0</version>
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependency>
|
2012-04-02 13:40:20 +02:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
2012-07-14 18:03:58 +02:00
|
|
|
<artifactId>guava</artifactId>
|
2014-04-06 15:54:17 +02:00
|
|
|
<version>16.0.1</version>
|
2013-03-21 17:19:36 +01:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
2014-08-03 20:52:22 +02:00
|
|
|
<version>2.0.1</version>
|
2012-04-02 13:40:20 +02:00
|
|
|
</dependency>
|
2013-03-11 14:51:15 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.jcip</groupId>
|
|
|
|
<artifactId>jcip-annotations</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
2013-01-23 17:12:53 +01:00
|
|
|
<dependency>
|
2014-02-03 15:42:53 +01:00
|
|
|
<groupId>com.lambdaworks</groupId>
|
|
|
|
<artifactId>scrypt</artifactId>
|
2014-05-21 19:25:38 +02:00
|
|
|
<version>1.4.0</version>
|
2013-01-23 17:12:53 +01:00
|
|
|
</dependency>
|
2014-10-26 18:36:09 +01:00
|
|
|
<!-- Note this is an optional dependency: Postgres blockstore -->
|
2014-11-03 11:43:16 +01:00
|
|
|
<!-- To Test remove optional -->
|
2014-01-31 14:21:58 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>9.1-901.jdbc4</version>
|
2014-10-26 18:36:09 +01:00
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<!-- Note this is an optional dependency: MySQL blockstore -->
|
2014-11-03 11:43:16 +01:00
|
|
|
<!-- To Test remove optional -->
|
2014-10-26 18:36:09 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
<version>5.1.33</version>
|
|
|
|
<optional>true</optional>
|
2014-01-31 14:21:58 +01:00
|
|
|
</dependency>
|
2014-03-13 06:01:47 +01:00
|
|
|
<dependency>
|
2014-10-01 20:27:01 +02:00
|
|
|
<groupId>org.bitcoinj</groupId>
|
2014-03-13 06:01:47 +01:00
|
|
|
<artifactId>orchid</artifactId>
|
2014-10-03 00:21:13 +02:00
|
|
|
<version>1.0</version>
|
2014-03-13 06:01:47 +01:00
|
|
|
</dependency>
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependencies>
|
|
|
|
|
2012-04-02 03:37:21 +02:00
|
|
|
</project>
|