[tx-robot] updated from transifex
[pub/Android/ownCloud.git] / pom.xml
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">
5
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>
12
13 <properties>
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>
21 </properties>
22
23 <url>https://github.com/owncloud/android</url>
24 <description>Owncloud for Android</description>
25 <scm>
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>
29 </scm>
30
31
32 <!--<repositories>-->
33 <!--<repository>-->
34 <!--<id>android-support</id>-->
35 <!--<url>file://${env.ANDROID_HOME}/extras/android/m2repository</url>-->
36 <!--</repository>-->
37 <!--</repositories>-->
38
39 <dependencies>
40
41 <!-- Dirty trick, but it works. TouchImageView library is not available as Maven project. -->
42 <dependency>
43 <groupId>touch-image-view.jar</groupId>
44 <artifactId>touch-image-view.jar</artifactId>
45 <version>1.0</version>
46 <scope>system</scope>
47 <systemPath>${basedir}/libs/touch-image-view.jar</systemPath>
48 </dependency>
49
50 <!-- This causes a (version?) conflict during packaging since sherlockactionbar also includes compatibility-v4 -->
51 <!--<dependency>
52 <groupId>android.support</groupId>
53 <artifactId>compatibility-v4</artifactId>
54 <version>19.1.0</version>
55 </dependency>-->
56 <!-- Instead we need to include the exact same version -->
57
58 <dependency>
59 <groupId>com.jakewharton</groupId>
60 <artifactId>disklrucache</artifactId>
61 <version>2.0.2</version>
62 </dependency>
63
64 <dependency>
65 <groupId>android-support-v4.jar</groupId>
66 <artifactId>android-support-v4.jar</artifactId>
67 <version>1.0</version>
68 <scope>system</scope>
69 <systemPath>${basedir}/third_party/android-support-library/android-support-v4.jar</systemPath>
70 </dependency>
71
72
73 <dependency>
74 <groupId>com.actionbarsherlock</groupId>
75 <artifactId>library</artifactId>
76 <version>${actionbarsherlock-version}</version>
77 <type>apklib</type>
78 </dependency>
79
80 <dependency>
81 <groupId>android</groupId>
82 <artifactId>android</artifactId>
83 <version>${google.android-version}</version>
84 <scope>provided</scope>
85 </dependency>
86
87 <!--<dependency>-->
88 <!--<groupId>android.support</groupId>-->
89 <!--<artifactId>compatibility-v4</artifactId>-->
90 <!--<version>19.1.0</version>-->
91 <!--</dependency>-->
92
93
94 <!-- MUST BE INSTALLED FIRST: cd owncloud-android-library; mvn install -->
95 <dependency>
96 <groupId>com.owncloud.android</groupId>
97 <artifactId>owncloud-android-library</artifactId>
98 <version>${owncloud.version}</version>
99 </dependency>
100
101 </dependencies>
102
103 <build>
104 <finalName>${project.artifactId}</finalName>
105
106 <sourceDirectory>src</sourceDirectory>
107
108 <plugins>
109
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-compiler-plugin</artifactId>
113 <version>3.1</version>
114 <configuration>
115 <source>${java-version}</source>
116 <target>${java-version}</target>
117 </configuration>
118 </plugin>
119
120 <plugin>
121 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
122 <artifactId>android-maven-plugin</artifactId>
123 <version>3.8.2</version>
124 <configuration>
125 <sdk>
126 <path>${env.ANDROID_HOME}</path>
127 <platform>${google.android-api}</platform>
128 </sdk>
129 </configuration>
130 <extensions>true</extensions>
131 </plugin>
132
133 </plugins>
134
135 </build>
136
137 </project>
138