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>
|
2011-11-25 15:14:00 +01:00
|
|
|
|
<version>0.4-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>
|
|
|
|
|
<developer>
|
|
|
|
|
<name>Xiaofeng Guo</name>
|
|
|
|
|
<email>xiaofengguo@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>
|
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>
|
|
|
|
|
<url>http://bitcoinj.googlecode.com/svn/trunk/</url>
|
|
|
|
|
</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>
|
|
|
|
|
</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>
|
|
|
|
|
<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>
|
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-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>
|
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>
|
2011-06-27 15:08:59 +02:00
|
|
|
|
</properties>
|
2011-09-25 22:32:22 +02:00
|
|
|
|
|
|
|
|
|
</project>
|