Dependency copy mvn target for Eclipse users

This commit is contained in:
Miron Cuperman (devrandom) 2011-08-30 20:31:20 +00:00
parent f91978cc28
commit 23b1325de7
2 changed files with 19 additions and 1 deletions

6
README
View File

@ -18,4 +18,8 @@ block per second or less). Find a node that isn't heavily loaded to connect to.
If you get a SocketDisconnectedException, the node you've connected to has its max send buffer set to low
(unfortunately the default is too low). Connect to a node that has a bigger send buffer,
settable by passing -maxsendbuffer=25600 to the Bitcoin C++ software.
settable by passing -maxsendbuffer=25600 to the Bitcoin C++ software.
For the convenience of Eclipse users, you can copy dependency jars to target/dependency using:
mvn dependency:copy-dependencies

14
pom.xml
View File

@ -144,6 +144,20 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>