From dba07da921633b37bd6d734328604bd1b13a10a3 Mon Sep 17 00:00:00 2001 From: Luke Owncloud Date: Wed, 11 Dec 2013 13:55:34 +0100 Subject: [PATCH] made oc_framework a mvn project updated compile instructions for mvn oc_framework is a standalone mvn project which must be installed. if anyone knows how to make oc_framework a submodule without changing the directory structure ... please do it! --- SETUP.md | 4 ++- oc_framework/pom.xml | 81 ++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 22 ++++++++---- 3 files changed, 100 insertions(+), 7 deletions(-) create mode 100755 oc_framework/pom.xml diff --git a/SETUP.md b/SETUP.md index b6538fde08..1b5de18dc1 100644 --- a/SETUP.md +++ b/SETUP.md @@ -32,7 +32,9 @@ NOTE: You must have mvn (version >= 3.1.1) in your environment path. Current And * "git clone https://github.com/mosabua/maven-android-sdk-deployer.git" * "cd maven-android-sdk-deployer" * "mvn -pl com.simpligility.android.sdk-deployer:android-19 -am install" -* "cd ../android" +* "cd ../android/oc_framework" +* "mvn install" +* "cd .." * Now you can create ownCloud APK using "mvn package" ### 4. Building with Eclipse: diff --git a/oc_framework/pom.xml b/oc_framework/pom.xml new file mode 100755 index 0000000000..674c031070 --- /dev/null +++ b/oc_framework/pom.xml @@ -0,0 +1,81 @@ + + + + 4.0.0 + com.owncloud.android + oc_framework + ${owncloud.version} + jar + oc_framework for Owncloud Android + + + 1.5.1-SNAPSHOT + 1.6 + + 4.4_r1 + + 19 + + + oc_framwork for Owncloud for Android + + + + + android + android + ${google.android-version} + provided + + + + commons-httpclient + commons-httpclient + 3.1 + + + + org.apache.jackrabbit + jackrabbit-webdav + 2.5.2 + + + + + + ${project.artifactId} + + src + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + ${java-version} + ${java-version} + + + + + com.jayway.maven.plugins.android.generation2 + android-maven-plugin + 3.8.0 + + + ${env.ANDROID_HOME} + ${google.android-api} + + + true + + + + + + + + diff --git a/pom.xml b/pom.xml index a55a77a11c..4e4b7241a3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,13 +5,17 @@ 4.0.0 com.owncloud.android owncloud - 1.3.21-SNAPSHOT + ${owncloud.version} apk Owncloud Android + 1.5.1-SNAPSHOT 1.6 - 4.2.2_r2 + + 4.4_r1 + + 19 4.2.0 @@ -22,7 +26,7 @@ scm:git:git@github.com:owncloud/android.git https://github.com/owncloud/android - + @@ -51,6 +55,13 @@ jackrabbit-webdav 2.5.2 + + + + com.owncloud.android + oc_framework + ${owncloud.version} + @@ -74,12 +85,11 @@ com.jayway.maven.plugins.android.generation2 android-maven-plugin - 3.5.0 + 3.8.0 - ${env.ANDROID_HOME} - 17 + ${google.android-api} true