mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 07:15:54 -04:00
Remove maven target, cleanup
This commit is contained in:
parent
1f362d80a2
commit
2912a02185
38
core/pom.xml
38
core/pom.xml
@ -14,44 +14,6 @@
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<!-- broken with Java 8 (MSHADE-174), using ProGuard instead. -->
|
||||
<minimizeJar>false</minimizeJar>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<mainClass>io.bitsquare.app.BitsquareAppMain</mainClass>
|
||||
</transformer>
|
||||
</transformers>
|
||||
<filters>
|
||||
<filter>
|
||||
<!-- exclude signatures, the bundling process breaks them for some reason -->
|
||||
<artifact>*:*</artifact>
|
||||
<excludes>
|
||||
<exclude>META-INF/*.SF</exclude>
|
||||
<exclude>META-INF/*.DSA</exclude>
|
||||
<exclude>META-INF/*.RSA</exclude>
|
||||
</excludes>
|
||||
</filter>
|
||||
</filters>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
<shadedClassifierName>bundled</shadedClassifierName>
|
||||
<finalName>shaded</finalName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- <plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -97,8 +97,7 @@ public class TomP2PMessageService extends TomP2PService implements MessageServic
|
||||
else {
|
||||
log.info("sendMessage failed. We will try to send the message to the mailbox. Fault reason: " +
|
||||
futureDirect.failedReason());
|
||||
if (pubKeyRing != null)
|
||||
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
|
||||
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
|
||||
}
|
||||
}
|
||||
|
||||
@ -106,8 +105,7 @@ public class TomP2PMessageService extends TomP2PService implements MessageServic
|
||||
public void exceptionCaught(Throwable t) throws Exception {
|
||||
log.info("sendMessage failed with exception. We will try to send the message to the mailbox. Exception: "
|
||||
+ t.getMessage());
|
||||
if (pubKeyRing != null)
|
||||
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
|
||||
sendMailboxMessage(pubKeyRing, (SealedAndSignedMessage) encryptedMessage, listener);
|
||||
}
|
||||
}
|
||||
);
|
||||
@ -119,7 +117,6 @@ public class TomP2PMessageService extends TomP2PService implements MessageServic
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void sendMailboxMessage(PubKeyRing pubKeyRing, SealedAndSignedMessage message, SendMessageListener listener) {
|
||||
log.info("sendMailboxMessage called");
|
||||
mailboxService.addMessage(
|
||||
|
@ -158,7 +158,7 @@ public class BitsquareApp extends Application {
|
||||
primaryStage.show();
|
||||
|
||||
//TODO just temp.
|
||||
showDebugWindow();
|
||||
//showDebugWindow();
|
||||
} catch (Throwable throwable) {
|
||||
showErrorPopup(throwable, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user