diff --git a/MasterPassword/Java/masterpassword-android/pom.xml b/MasterPassword/Java/masterpassword-android/pom.xml index f7fa1824..eac5597b 100644 --- a/MasterPassword/Java/masterpassword-android/pom.xml +++ b/MasterPassword/Java/masterpassword-android/pom.xml @@ -25,6 +25,10 @@ android-maven-plugin + + true + false + 19 @@ -33,6 +37,54 @@ + + + sign + + + + org.apache.maven.plugins + maven-jarsigner-plugin + + + signing + + sign + + package + true + + + + target/*.apk + + release.jks + ${env.PASSWORD} + ${env.PASSWORD} + android + + -sigalgMD5withRSA + -digestalgSHA1 + + + + + + + com.jayway.maven.plugins.android.generation2 + android-maven-plugin + true + + + false + + + + + + + + diff --git a/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/GUI.java b/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/GUI.java index 5750647f..1612812b 100644 --- a/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/GUI.java +++ b/MasterPassword/Java/masterpassword-gui/src/main/java/com/lyndir/masterpassword/GUI.java @@ -79,7 +79,7 @@ public class GUI implements UnlockFrame.SignInCallback { try { gui = TypeUtils.newInstance( AppleGUI.class ); } - catch (RuntimeException e) { + catch (NoClassDefFoundError e) { gui = new GUI(); } gui.open();