Skip to content

Commit 72f47e5

Browse files
committed
fix pom, add conf examples
1 parent f0bb572 commit 72f47e5

File tree

3 files changed

+33
-16
lines changed

3 files changed

+33
-16
lines changed

example-db.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
db-url=jdbc:mysql://localhost:3306/bitcoin?verifyServerCertificate=false&useSSL=true&useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&defaultRowPrefetch=10000
2+
db-user=root
3+
db-password=password

example-rpc.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rpc-url=http://localhost:17955
2+
rpc-user=user
3+
rpc-password=password

pom.xml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,16 @@
1414
<organization>Sliva Co</organization>
1515
</contributor>
1616
</contributors>
17+
<scm>
18+
<connection>https://github.com/keeperlink/btc-blockchain-scanner.git</connection>
19+
<url>https://github.com/keeperlink/btc-blockchain-scanner</url>
20+
</scm>
1721
<dependencies>
18-
<!--dependency>
19-
<groupId>com.blockcypher</groupId>
20-
<artifactId>java-client</artifactId>
21-
<version>0.1.2-SNAPSHOT</version>
22-
</dependency-->
2322
<dependency>
2423
<groupId>wf.bitcoin</groupId>
2524
<artifactId>JavaBitcoindRpcClient</artifactId>
2625
<version>0.9.19</version>
2726
</dependency>
28-
<!--dependency>
29-
<groupId>com.google</groupId>
30-
<artifactId>bitcoinj</artifactId>
31-
<version>0.11.3</version>
32-
<exclusions>
33-
<exclusion>
34-
<groupId>com.madgag</groupId>
35-
<artifactId>sc-light-jdk15on</artifactId>
36-
</exclusion>
37-
</exclusions>
38-
</dependency-->
3927
<dependency>
4028
<groupId>org.bitcoinj</groupId>
4129
<artifactId>bitcoinj-core</artifactId>
@@ -148,6 +136,29 @@
148136
</execution>
149137
</executions>
150138
</plugin>
139+
<plugin>
140+
<groupId>de.jutzig</groupId>
141+
<artifactId>github-release-plugin</artifactId>
142+
<version>1.2.0</version>
143+
<configuration>
144+
<description>Description of your release</description>
145+
<releaseName>0.1.0 Final</releaseName>
146+
<tag>${project.version}</tag>
147+
148+
<!-- If your project has additional artifacts, such as ones produced by
149+
the maven-assembly-plugin, you can define the following
150+
(requires version 1.1.1 of the plugin or higher): -->
151+
<fileSets>
152+
<fileSet>
153+
<directory>${project.build.directory}</directory>
154+
<includes>
155+
<include>${project.artifactId}*.tar.gz</include>
156+
<include>${project.artifactId}*.zip</include>
157+
</includes>
158+
</fileSet>
159+
</fileSets>
160+
</configuration>
161+
</plugin>
151162
</plugins>
152163
</build>
153164
</project>

0 commit comments

Comments
 (0)