Permalink
Browse files

Changed to using shade plugin for packaging the wallet

  • Loading branch information...
matsjj committed Mar 29, 2016
1 parent d97afb7 commit 7c0ed6f146879e6897010c27b2826e193c58de97
Showing with 40 additions and 15 deletions.
  1. +2 −0 .gitignore
  2. +35 −14 thunder-clientgui/pom.xml
  3. +3 −1 thunder-clientgui/src/main/java/wallettemplate/MainController.java
View
@@ -53,3 +53,5 @@ config.json
blockheaders
thunder-core/blockheaders
thunder-clientgui/dependency-reduced-pom.xml
View
@@ -17,24 +17,45 @@
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>wallettemplate.Main</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>wallettemplate.Main</mainClass>
</transformer>
</transformers>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
<filter>
<artifact>org.bouncycastle:**</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.bitcoinj</groupId>
@@ -190,7 +190,9 @@ public void onBitcoinSetup () {
public void changed (ObservableValue<? extends PubkeyIPObject> observable, PubkeyIPObject oldValue, PubkeyIPObject newValue) {
System.out.println("ListView selection changed from oldValue = "
+ oldValue + " to newValue = " + newValue);
selectedNode = newValue;
if (newValue != null) {
selectedNode = newValue;
}
}
});

0 comments on commit 7c0ed6f

Please sign in to comment.