2011-06-10 18:46:32 +02:00
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2011-06-27 15:08:59 +02:00
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<groupId>com.google</groupId>
|
|
|
|
|
<artifactId>bitcoinj</artifactId>
|
2012-03-09 15:34:34 +01:00
|
|
|
|
<version>0.5-SNAPSHOT</version>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<name>BitCoinJ</name>
|
|
|
|
|
<description>A Java implementation of a Bitcoin client-only node</description>
|
|
|
|
|
<url>http://code.google.com/p/bitcoinj</url>
|
|
|
|
|
|
|
|
|
|
<ciManagement>
|
|
|
|
|
<url>http://ci.bitcoinj.org/</url>
|
|
|
|
|
</ciManagement>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<licenses>
|
|
|
|
|
<license>
|
|
|
|
|
<name>Apache 2</name>
|
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
|
<comments>A business-friendly OSS license</comments>
|
|
|
|
|
</license>
|
|
|
|
|
</licenses>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<!-- Committers -->
|
|
|
|
|
<developers>
|
|
|
|
|
<!-- Information already public -->
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Mike Hearn</name>
|
|
|
|
|
<email>hearn@google.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Miron Cuperman</name>
|
|
|
|
|
<email>miron@google.com</email>
|
|
|
|
|
</developer>
|
|
|
|
|
</developers>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<!-- Patchers and contributors -->
|
|
|
|
|
<contributors>
|
|
|
|
|
<!-- Information already public -->
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Thilo Planz</name>
|
|
|
|
|
<email>thilo@cpan.org</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Micheal Swiggs</name>
|
|
|
|
|
<email>bobby.simpson87@gmail.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Gary Rowe</name>
|
|
|
|
|
<email>g.rowe@froot.co.uk</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Noa Resare</name>
|
|
|
|
|
<email>noa@resare.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>John Sample</name>
|
|
|
|
|
<email>jwsample@gmail.com</email>
|
|
|
|
|
</contributor>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<contributor>
|
|
|
|
|
<name>Jan M<>ller</name>
|
|
|
|
|
<email>jan.moller@gmail.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Wolfgang Nagele</name>
|
|
|
|
|
<email>wolfgang.nagele@gmail.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Jonny Heggheim</name>
|
|
|
|
|
<email>hegjon@gmail.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Steve Coughlan</name>
|
|
|
|
|
<email>shadders.del@gmail.com</email>
|
|
|
|
|
</contributor>
|
2012-03-09 15:33:04 +01:00
|
|
|
|
<contributor>
|
|
|
|
|
<name>Roman Mandeleil</name>
|
|
|
|
|
<email>roman.mandeleil@gmail.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Chris Rico</name>
|
|
|
|
|
<email>chrisrico@gmail.com</email>
|
|
|
|
|
</contributor>
|
|
|
|
|
<contributor>
|
|
|
|
|
<name>Vasile Rotaru</name>
|
|
|
|
|
<email>vrotaru.md@gmail.com</email>
|
|
|
|
|
</contributor>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</contributors>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<issueManagement>
|
|
|
|
|
<system>Google Code</system>
|
|
|
|
|
<url>http://code.google.com/p/bitcoinj/issues/list</url>
|
|
|
|
|
</issueManagement>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<mailingLists>
|
|
|
|
|
<mailingList>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<name>BitCoinJ Google Group</name>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<post>https://groups.google.com/forum/#!forum/bitcoinj</post>
|
|
|
|
|
</mailingList>
|
|
|
|
|
</mailingLists>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<scm>
|
2012-03-09 15:33:04 +01:00
|
|
|
|
<url>http://code.google.com/p/bitcoinj/source/checkout</url>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</scm>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-07-14 09:12:17 +02:00
|
|
|
|
<distributionManagement>
|
|
|
|
|
<repository>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<id>releases</id>
|
2011-11-25 15:04:10 +01:00
|
|
|
|
<url>http://nexus.bitcoinj.org/content/repositories/releases</url>
|
2011-07-14 09:12:17 +02:00
|
|
|
|
</repository>
|
|
|
|
|
<snapshotRepository>
|
|
|
|
|
<id>snapshots</id>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<url>http://nexus.bitcoinj.org/content/repositories/snapshots</url>
|
2011-07-14 09:12:17 +02:00
|
|
|
|
</snapshotRepository>
|
|
|
|
|
</distributionManagement>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-07-14 09:12:17 +02:00
|
|
|
|
<repositories>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>bitcoinj-release</id>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
<releases/>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<url>http://nexus.bitcoinj.org/content/repositories/releases</url>
|
2011-07-14 09:12:17 +02:00
|
|
|
|
</repository>
|
|
|
|
|
<repository>
|
|
|
|
|
<id>bitcoinj-snapshot</id>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
<snapshots/>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<url>http://nexus.bitcoinj.org/content/repositories/snapshots</url>
|
2011-07-14 09:12:17 +02:00
|
|
|
|
</repository>
|
|
|
|
|
</repositories>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<id>release-sign-artifacts</id>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<activation>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<property>
|
|
|
|
|
<name>performRelease</name>
|
|
|
|
|
<value>true</value>
|
|
|
|
|
</property>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</activation>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
|
<version>1.4</version>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
|
<phase>verify</phase>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
<goals>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<goal>sign</goal>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2011-08-30 22:31:20 +02:00
|
|
|
|
</plugin>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2012-01-11 22:34:14 +01:00
|
|
|
|
<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">
|
|
|
|
|
<include name="**/*.proto" />
|
|
|
|
|
</fileset>
|
|
|
|
|
</path>
|
|
|
|
|
<pathconvert pathsep=" " property="proto.files" refid="proto.path" />
|
|
|
|
|
<exec executable="protoc" failonerror="true">
|
2012-01-12 01:04:14 +01:00
|
|
|
|
<arg value="--java_out=${project.basedir}/src" />
|
2012-01-11 22:34:14 +01:00
|
|
|
|
<arg value="-I${project.basedir}/src" />
|
|
|
|
|
<arg line="${proto.files}" />
|
|
|
|
|
</exec>
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</profiles>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<build>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<!-- Non-standard Maven structure -->
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
|
<testSourceDirectory>tests</testSourceDirectory>
|
2012-02-03 14:00:12 +01:00
|
|
|
|
<testResources>
|
|
|
|
|
<testResource>
|
|
|
|
|
<directory>tests</directory>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/*.java</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</testResource>
|
|
|
|
|
</testResources>
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>2.3.2</version>
|
|
|
|
|
<!-- Version 1.5 required to support older platforms. -->
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<configuration>
|
|
|
|
|
<source>1.5</source>
|
|
|
|
|
<target>1.5</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<!-- Surefire plugin specified for Maven2 compatibility -->
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<plugin>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>2.9</version>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</plugin>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<!-- The Shade plugin permits the Bouncy Castle libraries to be available for Android
|
|
|
|
|
in their full form, rather than the limited versions that are currently available
|
|
|
|
|
The standard bitcoinj library does not have this limitation and can use the referenced library
|
|
|
|
|
As a result, Android developers should use the bitcoinj-<version>-android.jar artifact -->
|
2011-08-05 22:25:00 +02:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
|
|
|
<version>1.4</version>
|
|
|
|
|
<executions>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
<execution>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>shade</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<filters>
|
|
|
|
|
<filter>
|
|
|
|
|
<!-- Remove the original signature meta information from all sources -->
|
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</filter>
|
|
|
|
|
</filters>
|
|
|
|
|
<relocations>
|
|
|
|
|
<relocation>
|
|
|
|
|
<pattern>org.bouncycastle</pattern>
|
|
|
|
|
<shadedPattern>com.google.bitcoin.bouncycastle</shadedPattern>
|
|
|
|
|
</relocation>
|
|
|
|
|
</relocations>
|
|
|
|
|
<artifactSet>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>org.bouncycastle</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</artifactSet>
|
|
|
|
|
<minimizeJar>true</minimizeJar>
|
|
|
|
|
<!-- bitcoinj-<version>-android.jar contains the shaded Bouncy Castle libraries -->
|
|
|
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
|
|
|
<shadedClassifierName>android</shadedClassifierName>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
2011-08-05 22:25:00 +02:00
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2012-03-09 15:33:04 +01:00
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
2012-01-19 17:41:41 +01:00
|
|
|
|
<!--
|
2012-01-06 23:50:34 +01:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
|
<version>1.1</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>add-source</id>
|
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>add-source</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<sources>
|
|
|
|
|
<source>gen</source>
|
|
|
|
|
</sources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2012-01-19 17:41:41 +01:00
|
|
|
|
-->
|
2012-01-06 23:50:34 +01:00
|
|
|
|
|
2011-06-10 18:46:32 +02:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>${junit.version}</version>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<scope>test</scope>
|
2011-06-10 18:46:32 +02:00
|
|
|
|
</dependency>
|
2011-08-12 00:10:54 +02:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
|
<artifactId>easymock</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>${easymock.version}</version>
|
2011-08-12 00:10:54 +02:00
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>${slf4j.version}</version>
|
2011-06-10 18:46:32 +02:00
|
|
|
|
</dependency>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<!-- BitCoinJ consumers are expected to provide their own SLF4J adapters
|
|
|
|
|
such as logback, slf4j-log4j12, slf4j-jcl and so on
|
|
|
|
|
see http://www.slf4j.org/faq.html -->
|
2011-06-10 18:46:32 +02:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
2011-11-25 17:55:22 +01:00
|
|
|
|
<artifactId>slf4j-jdk14</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
<optional>true</optional>
|
2011-06-10 18:46:32 +02:00
|
|
|
|
</dependency>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-12-13 21:04:04 +01:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
|
<artifactId>derby</artifactId>
|
2012-01-06 00:58:35 +01:00
|
|
|
|
<version>${derby.version}</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
<optional>true</optional>
|
2011-12-13 21:04:04 +01:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2011-09-15 16:40:16 +02:00
|
|
|
|
<!-- In Android these libraries are incomplete,
|
|
|
|
|
so use the dedicated artifact (bitcoinj-<version>-android.jar) -->
|
2011-08-05 22:25:00 +02:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
|
<artifactId>bcprov-jdk15</artifactId>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<version>${bcprov-jdk15.version}</version>
|
2011-09-15 16:40:16 +02:00
|
|
|
|
</dependency>
|
2012-01-06 23:50:34 +01:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
|
<version>${protobuf.version}</version>
|
|
|
|
|
</dependency>
|
2012-02-10 15:47:10 +01:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sf.jopt-simple</groupId>
|
|
|
|
|
<artifactId>jopt-simple</artifactId>
|
|
|
|
|
<version>${jopt.version}</version>
|
|
|
|
|
</dependency>
|
2011-06-10 18:46:32 +02:00
|
|
|
|
</dependencies>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-06-27 15:08:59 +02:00
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
<!-- Third-party dependencies -->
|
|
|
|
|
<bcprov-jdk15.version>1.46</bcprov-jdk15.version>
|
|
|
|
|
<easymock.version>3.0</easymock.version>
|
|
|
|
|
<junit.version>4.8.2</junit.version>
|
|
|
|
|
<slf4j.version>1.6.2</slf4j.version>
|
2012-01-06 00:58:35 +01:00
|
|
|
|
<derby.version>10.8.2.2</derby.version>
|
2012-01-11 21:41:14 +01:00
|
|
|
|
<protobuf.version>2.4.1</protobuf.version>
|
2012-02-10 15:47:10 +01:00
|
|
|
|
<jopt.version>4.3</jopt.version>
|
2012-01-06 23:50:34 +01:00
|
|
|
|
<generated.sourceDirectory>gen</generated.sourceDirectory>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</properties>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
2011-12-13 21:04:04 +01:00
|
|
|
|
</project>
|