diff --git a/metadata/de.schildbach.wallet.txt b/metadata/de.schildbach.wallet.txt
index 06a5279e15..468b5d402e 100644
--- a/metadata/de.schildbach.wallet.txt
+++ b/metadata/de.schildbach.wallet.txt
@@ -62,11 +62,9 @@ mvn3 install:install-file -DgroupId=android -DartifactId=android -Dversion=2.3.3
mvn3 install:install-file -DgroupId=android.support -DartifactId=compatibility-v4 -Dversion=r6 -Dpackaging=jar -Dfile=$$SDK$$/android-compatibility/v4/android-support-v4.jar
# Build from prodnet branch which cherry picks some old commits and commits after tags
# The git reset (or specific commit instead of a tag) is from the bitcoinj wiki and is used for security
-Build Version:3.01,121,742241f59df1,maven=yes,\
+Build Version:3.01,121,742241f59df1,maven=yes,patch=pom.patch,\
bindir=wallet/target,srclibs=BitcoinJWallet@1649520e3183,prebuild=\
-cp -r $$BitcoinJWallet$$/ . && rm -rf market/ && \
-sed -i 's/0.8/0.8-SNAPSHOT/g' wallet/pom.xml && \
-sed -i 's/wallet/BitcoinJWallet/g;s/sample-integration-android/wallet/g' pom.xml
+cp -r $$BitcoinJWallet$$/ . && rm -rf market/
Auto Update Mode:None
# RM/Tags don't work
diff --git a/metadata/de.schildbach.wallet/pom.patch b/metadata/de.schildbach.wallet/pom.patch
new file mode 100644
index 0000000000..b6c909d5cd
--- /dev/null
+++ b/metadata/de.schildbach.wallet/pom.patch
@@ -0,0 +1,64 @@
+diff --git a/integration-android/pom.xml b/integration-android/pom.xml
+index 161602f..3f49016 100644
+--- a/integration-android/pom.xml
++++ b/integration-android/pom.xml
+@@ -10,8 +10,8 @@
+
+
+ de.schildbach.wallet
+- base
+- 1
++ wallet-parent
++ 3.01
+
+
+
+diff --git a/pom.xml b/pom.xml
+index c26e0db..723fa26 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -5,15 +5,15 @@
+ 4.0.0
+
+ de.schildbach.wallet
+- base
+- base
+- 1
++ wallet-parent
++ wallet-parent
++ 3.01
+ pom
+
+
+- wallet
++ BitcoinJWallet
+ integration-android
+- sample-integration-android
++ wallet
+
+
+
+diff --git a/wallet/pom.xml b/wallet/pom.xml
+index 9e13ad5..a10247d 100644
+--- a/wallet/pom.xml
++++ b/wallet/pom.xml
+@@ -11,8 +11,8 @@
+
+
+ de.schildbach.wallet
+- base
+- 1
++ wallet-parent
++ 3.01
+
+
+
+@@ -53,7 +53,7 @@
+
+ de.schildbach.wallet
+ bitcoinj
+- 0.8
++ 0.8-SNAPSHOT
+
+
+
diff --git a/metadata/de.schildbach.wallet_test.txt b/metadata/de.schildbach.wallet_test.txt
index d52b759870..c580daa97f 100644
--- a/metadata/de.schildbach.wallet_test.txt
+++ b/metadata/de.schildbach.wallet_test.txt
@@ -44,11 +44,9 @@ cd $$BitcoinJWallet$$ && $$MVN3$$ install && cd - && \
cd ../integration-android && $$MVN3$$ install && cd ../wallet && \
mvn3 install:install-file -DgroupId=android -DartifactId=android -Dversion=2.3.3_r2 -Dpackaging=jar -Dfile=$$SDK$$/platforms/android-10/android.jar && \
mvn3 install:install-file -DgroupId=android.support -DartifactId=compatibility-v4 -Dversion=r6 -Dpackaging=jar -Dfile=$$SDK$$/android-compatibility/v4/android-support-v4.jar
-Build Version:3.01-test,121,v3.01,maven=yes,\
+Build Version:3.01-test,121,v3.01,maven=yes,patch=pom.patch,\
bindir=wallet/target,srclibs=BitcoinJWallet@1649520e3183,prebuild=\
-cp -r $$BitcoinJWallet$$/ . && rm -rf market/ && \
-sed -i 's/0.8/0.8-SNAPSHOT/g' wallet/pom.xml && \
-sed -i 's/wallet/BitcoinJWallet/g;s/sample-integration-android/wallet/g' pom.xml
+cp -r $$BitcoinJWallet$$/ . && rm -rf market/
Auto Update Mode:None
# Just use main wallet app
diff --git a/metadata/de.schildbach.wallet_test/pom.patch b/metadata/de.schildbach.wallet_test/pom.patch
new file mode 100644
index 0000000000..b6c909d5cd
--- /dev/null
+++ b/metadata/de.schildbach.wallet_test/pom.patch
@@ -0,0 +1,64 @@
+diff --git a/integration-android/pom.xml b/integration-android/pom.xml
+index 161602f..3f49016 100644
+--- a/integration-android/pom.xml
++++ b/integration-android/pom.xml
+@@ -10,8 +10,8 @@
+
+
+ de.schildbach.wallet
+- base
+- 1
++ wallet-parent
++ 3.01
+
+
+
+diff --git a/pom.xml b/pom.xml
+index c26e0db..723fa26 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -5,15 +5,15 @@
+ 4.0.0
+
+ de.schildbach.wallet
+- base
+- base
+- 1
++ wallet-parent
++ wallet-parent
++ 3.01
+ pom
+
+
+- wallet
++ BitcoinJWallet
+ integration-android
+- sample-integration-android
++ wallet
+
+
+
+diff --git a/wallet/pom.xml b/wallet/pom.xml
+index 9e13ad5..a10247d 100644
+--- a/wallet/pom.xml
++++ b/wallet/pom.xml
+@@ -11,8 +11,8 @@
+
+
+ de.schildbach.wallet
+- base
+- 1
++ wallet-parent
++ 3.01
+
+
+
+@@ -53,7 +53,7 @@
+
+ de.schildbach.wallet
+ bitcoinj
+- 0.8
++ 0.8-SNAPSHOT
+
+
+