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>
|
|
|
|
<groupId>com.google</groupId>
|
2012-03-16 13:20:50 +01:00
|
|
|
<artifactId>bitcoinj-parent</artifactId>
|
2013-07-30 14:47:39 +02:00
|
|
|
<version>0.11-SNAPSHOT</version>
|
2012-03-11 20:01:12 +01:00
|
|
|
</parent>
|
|
|
|
|
2012-03-16 13:20:50 +01:00
|
|
|
<artifactId>bitcoinj</artifactId>
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
<url>https://code.google.com/p/bitcoinj</url>
|
|
|
|
|
|
|
|
<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>
|
2013-03-06 11:59:53 +01:00
|
|
|
<version>3.0</version>
|
2012-03-11 20:01:12 +01:00
|
|
|
<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>
|
|
|
|
<!-- Surefire plugin specified for Maven2 compatibility -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.9</version>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.1.2</version>
|
|
|
|
<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
|
|
|
|
|
|
|
<!-- 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>
|
|
|
|
<version>1.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<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>
|
|
|
|
<urn>com.google.code.findbugs:jsr305:1.3.9:jar:null:compile:40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf</urn>
|
|
|
|
<urn>com.google.guava:guava:13.0.1:jar:null:compile:0d6f22b1e60a2f1ef99e22c9f5fde270b2088365</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>
|
|
|
|
<urn>com.lambdaworks:scrypt:1.3.3:jar:null:compile:06d6813de41e177189e1722717979b4fb5454b1d</urn>
|
|
|
|
<urn>com.madgag:sc-light-jdk15on:1.47.0.2:jar:null:compile:d5c98671cc97fa0d928be1c7eb5edd3fb95d3234</urn>
|
|
|
|
<urn>net.jcip:jcip-annotations:1.0:jar:null:compile:afba4942caaeaf46aab0b976afd57cc7c181467e</urn>
|
2013-10-11 15:01:12 +02:00
|
|
|
<urn>org.slf4j:slf4j-api:1.7.5:jar:null:compile:6b262da268f8ad9eff941b25503a9198f0a0ac93</urn>
|
|
|
|
<urn>org.slf4j:slf4j-jdk14:1.7.5:jar:null:runtime:33cf4abac351aa45dd130d31a1e7e33fbbba4762</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>
|
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-03 15:42:53 +01:00
|
|
|
<version>1.7.5</version>
|
2012-08-28 19:19:30 +02:00
|
|
|
<scope>test</scope>
|
2012-03-11 20:01:12 +01:00
|
|
|
</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>
|
2012-05-18 17:03:55 +02:00
|
|
|
<groupId>com.madgag</groupId>
|
|
|
|
<artifactId>sc-light-jdk15on</artifactId>
|
2014-02-03 15:42:53 +01:00
|
|
|
<version>1.47.0.2</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>
|
2013-03-21 17:19:36 +01:00
|
|
|
<version>13.0.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
<version>1.3.9</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>
|
|
|
|
<version>1.3.3</version>
|
2013-01-23 17:12:53 +01:00
|
|
|
</dependency>
|
2014-01-31 14:21:58 +01:00
|
|
|
|
|
|
|
<!-- Add in to test/use Postgres blockstore -->
|
|
|
|
<!--
|
|
|
|
<dependency>
|
|
|
|
<groupId>postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<version>9.1-901.jdbc4</version>
|
|
|
|
</dependency>
|
|
|
|
-->
|
2012-03-11 20:01:12 +01:00
|
|
|
</dependencies>
|
|
|
|
|
2012-04-02 03:37:21 +02:00
|
|
|
</project>
|