mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
Add btcd-cli4j lib as local build jar instead of using http repo. Add exclude for diff. version dependencies.
This commit is contained in:
parent
fb63fd7c94
commit
159b208273
4 changed files with 42 additions and 10 deletions
33
core/pom.xml
33
core/pom.xml
|
@ -29,16 +29,47 @@
|
|||
<version>4.8</version>
|
||||
</dependency>
|
||||
|
||||
<!-- TODO host on https or include in project -->
|
||||
<!-- We use a local project atm but should be added either as jar or to a https repo.
|
||||
Default repo for that project is http only, so it is unsafe to use.-->
|
||||
<dependency>
|
||||
<groupId>com.neemre.btcd-cli4j</groupId>
|
||||
<artifactId>btcd-cli4j-core</artifactId>
|
||||
<version>0.5.1</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</exclusion>
|
||||
|
||||
<exclusion>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.neemre.btcd-cli4j</groupId>
|
||||
<artifactId>btcd-cli4j-daemon</artifactId>
|
||||
<version>0.5.1</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
</exclusion>
|
||||
|
||||
<exclusion>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
11
doc/build.md
11
doc/build.md
|
@ -74,7 +74,7 @@ For Mac OSX, you will need to set JAVA_HOME as:
|
|||
$ . ~/.bashrc
|
||||
|
||||
|
||||
Build bitcoinj
|
||||
Build bitcoinj and btcd-cli4j fork
|
||||
-----------------
|
||||
### 2. Install bitcoinj fork
|
||||
> _**NOTE:**
|
||||
|
@ -84,10 +84,19 @@ We removed usage of Cartographer/HttpDiscovery in our [fork of version 0.13.1.7]
|
|||
Beside the Java serialisation issues there are [privacy concerns](http://bitcoin-development.narkive.com/hczWIAby/bitcoin-development-cartographer#post3) regarding Cartographer.
|
||||
Here is a Github issue with background and open tasks regarding [Bloom Filters](https://github.com/bitsquare/bitsquare/issues/414)._ Note: use a fresh directory, this should not be done inside the bitsquare folder.
|
||||
|
||||
Btcd-cli4j is used for RPC communication to a local Bitcoin Core node.
|
||||
TODO: remove if not used in production
|
||||
|
||||
$ cd ..
|
||||
$ git clone -b FixBloomFilters https://github.com/bitsquare/bitcoinj.git
|
||||
$ cd bitcoinj
|
||||
$ mvn clean install -DskipTests -Dmaven.javadoc.skip=true
|
||||
|
||||
$ cd ..
|
||||
$ git clone https://github.com/bitsquare/btcd-cli4j.git
|
||||
$ cd btcd-cli4j
|
||||
$ mvn clean install -DskipTests -Dmaven.javadoc.skip=true
|
||||
|
||||
|
||||
Prepare Bitsquare build
|
||||
-----------------
|
||||
|
|
|
@ -24,7 +24,6 @@ call "%JAVA_HOME%\bin\javapackager.exe" -deploy ^
|
|||
-srcfiles "core/src/main/resources/bitsquare.policy" ^
|
||||
-outfile Bitsquare ^
|
||||
-Bruntime="%JAVA_HOME%\jre" ^
|
||||
-BjvmProperties=-Djava.net.preferIPv4Stack=true ^
|
||||
-BjvmOptions=-Djava.security.manager ^
|
||||
-BjvmOptions=-Djava.security.debug=failure ^
|
||||
-BjvmOptions=-Djava.security.policy=file:bitsquare.policy ^
|
||||
|
|
7
pom.xml
7
pom.xml
|
@ -72,13 +72,6 @@
|
|||
<snapshots/>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
</repository>
|
||||
|
||||
<!-- TODO host on https or include in project -->
|
||||
<repository>
|
||||
<id>mvn-nemp-ftp</id>
|
||||
<name>Nemp's Maven Repository</name>
|
||||
<url>http://mvn.neemre.com/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
|
|
Loading…
Add table
Reference in a new issue