From e0539920769b9d2a081d64a8e2ca61084823c498 Mon Sep 17 00:00:00 2001 From: David Black Date: Tue, 23 Apr 2013 18:46:57 +0100 Subject: [PATCH] add a BV template for org.wikimedia.commons using maven central --- metadata/org.wikimedia.commons.txt | 13 ++++++++++++- metadata/org.wikimedia.commons/pom.patch | 17 +++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 metadata/org.wikimedia.commons/pom.patch diff --git a/metadata/org.wikimedia.commons.txt b/metadata/org.wikimedia.commons.txt index f8ed176f4d..b6edd4416f 100644 --- a/metadata/org.wikimedia.commons.txt +++ b/metadata/org.wikimedia.commons.txt @@ -17,11 +17,22 @@ Status: BETA Repo Type:git Repo:https://github.com/wikimedia/android-commons -# Uses author's own maven repo! Build Version:1.0beta7,8,v1.0beta7,subdir=commons,target=android-15,maven=yes,\ bindir=commons/target,prebuild=rm -rf jni && sed -i 's/test/commons/' \ src/main/java/org/wikimedia/commons/CommonsApplication.java && \ sed -i '/tracking_summary/{N;s/true/false/}' res/xml/preferences.xml +# Use maven central +# Build Version:1.0beta7,8,v1.0beta7,maven=yes,\ +# subdir=commons,patch=pom.patch,target=android-15,\ +# bindir=commons/target,prebuild=rm -rf jni src/main/native && \ +# sed -i 's/test/commons/' \ +# src/main/java/org/wikimedia/commons/CommonsApplication.java && \ +# sed -i '/tracking_summary/{N;s/true/false/}' res/xml/preferences.xml && \ +# $$MVN3$$ install:install-file -DgroupId=com.google.android -DartifactId=support-v4 \ +# -Dversion=r12 -Dpackaging=jar -Dfile=$$SDK$$/extras/android/support/v4/android-support-v4.jar && \ +# $$MVN3$$ install:install-file -DgroupId=android -DartifactId=android -Dversion=4.1_r2 \ +# -Dpackaging=jar -Dfile=$$SDK$$/platforms/android-17/android.jar && \ +# sed -i '207\,214d' ../pom.xml Auto Update Mode:None Update Check Mode:Tags diff --git a/metadata/org.wikimedia.commons/pom.patch b/metadata/org.wikimedia.commons/pom.patch new file mode 100644 index 0000000000..5665485e23 --- /dev/null +++ b/metadata/org.wikimedia.commons/pom.patch @@ -0,0 +1,17 @@ +diff --git a/commons/pom.xml b/commons/pom.xml +index 7adf9e8..f2d5912 100644 +--- a/commons/pom.xml ++++ b/commons/pom.xml +@@ -38,9 +38,9 @@ + android + + +- android.support +- compatibility-v4 +- 11 ++ com.google.android ++ support-v4 ++ r12 + + + com.nostra13.universalimageloader