1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <project xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
3 xmlns=
"http://maven.apache.org/POM/4.0.0"
4 xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7 <groupId>com.owncloud.android
</groupId>
8 <artifactId>owncloud
</artifactId>
9 <version>${owncloud.version}
</version>
10 <packaging>apk
</packaging>
11 <name>Owncloud Android
</name>
14 <owncloud.version
>1.5.1-SNAPSHOT
</owncloud.version
>
15 <java-version>1.6</java-version>
16 <!-- Given by maven-android-sdk-deployer --
>
17 <google.android-version
>4.4.2_r4
</google.android-version
>
18 <!-- Usually the latest Android API --
>
19 <google.android-api
>19</google.android-api
>
20 <actionbarsherlock-version>4.2.0</actionbarsherlock-version>
23 <url>https://github.com/owncloud/android
</url>
24 <description>Owncloud for Android
</description>
26 <connection>scm:git:git@github.com:owncloud/android.git
</connection>
27 <developerConnection>scm:git:git@github.com:owncloud/android.git
</developerConnection>
28 <url>https://github.com/owncloud/android
</url>
34 <!--
<id>android-support
</id>--
>
35 <!--
<url>file://${env.ANDROID_HOME}/extras/android/m2repository
</url>--
>
37 <!--
</repositories>--
>
41 <!-- Dirty trick, but it works. TouchImageView library is not available as Maven project. --
>
43 <groupId>touch-image-view.jar
</groupId>
44 <artifactId>touch-image-view.jar
</artifactId>
45 <version>1.0</version>
47 <systemPath>${basedir}/libs/touch-image-view.jar
</systemPath>
50 <!-- This causes a (version?) conflict during packaging since sherlockactionbar also includes compatibility-v4 --
>
52 <groupId>android.support
</groupId>
53 <artifactId>compatibility-v4
</artifactId>
54 <version>19.1.0</version>
56 <!-- Instead we need to include the exact same version --
>
59 <groupId>com.jakewharton
</groupId>
60 <artifactId>disklrucache
</artifactId>
61 <version>2.0.2</version>
65 <groupId>android-support-v4.jar
</groupId>
66 <artifactId>android-support-v4.jar
</artifactId>
67 <version>1.0</version>
69 <systemPath>${basedir}/third_party/android-support-library/android-support-v4.jar
</systemPath>
74 <groupId>com.actionbarsherlock
</groupId>
75 <artifactId>library
</artifactId>
76 <version>${actionbarsherlock-version}
</version>
81 <groupId>android
</groupId>
82 <artifactId>android
</artifactId>
83 <version>${google.android-version}
</version>
84 <scope>provided
</scope>
88 <!--
<groupId>android.support
</groupId>--
>
89 <!--
<artifactId>compatibility-v4
</artifactId>--
>
90 <!--
<version>19.1.0</version>--
>
94 <!-- MUST BE INSTALLED FIRST: cd owncloud-android-library; mvn install --
>
96 <groupId>com.owncloud.android
</groupId>
97 <artifactId>owncloud-android-library
</artifactId>
98 <version>${owncloud.version}
</version>
104 <finalName>${project.artifactId}
</finalName>
106 <sourceDirectory>src
</sourceDirectory>
111 <groupId>org.apache.maven.plugins
</groupId>
112 <artifactId>maven-compiler-plugin
</artifactId>
113 <version>3.1</version>
115 <source>${java-version}
</source>
116 <target>${java-version}
</target>
121 <groupId>com.jayway.maven.plugins.android.generation2
</groupId>
122 <artifactId>android-maven-plugin
</artifactId>
123 <version>3.8.2</version>
126 <path>${env.ANDROID_HOME}
</path>
127 <platform>${google.android-api}
</platform>
130 <extensions>true
</extensions>