Merge pull request #453 from owncloud/improve_action_bar_pr_392_with_develop
[pub/Android/ownCloud.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5 <modelVersion>4.0.0</modelVersion>
6 <groupId>com.owncloud.android</groupId>
7 <artifactId>owncloud</artifactId>
8 <version>${owncloud.version}</version>
9 <packaging>apk</packaging>
10 <name>Owncloud Android</name>
11
12 <properties>
13 <owncloud.version>1.5.1-SNAPSHOT</owncloud.version>
14 <java-version>1.6</java-version>
15 <!-- Given by maven-android-sdk-deployer -->
16 <google.android-version>4.4.2_r2</google.android-version>
17 <!-- Usually the latest Android API -->
18 <google.android-api>19</google.android-api>
19 <actionbarsherlock-version>4.2.0</actionbarsherlock-version>
20 </properties>
21
22 <url>https://github.com/owncloud/android</url>
23 <description>Owncloud for Android</description>
24 <scm>
25 <connection>scm:git:git@github.com:owncloud/android.git</connection>
26 <developerConnection>scm:git:git@github.com:owncloud/android.git</developerConnection>
27 <url>https://github.com/owncloud/android</url>
28 </scm>
29
30 <dependencies>
31
32 <dependency>
33 <groupId>android</groupId>
34 <artifactId>android</artifactId>
35 <version>${google.android-version}</version>
36 <scope>provided</scope>
37 </dependency>
38
39 <dependency>
40 <groupId>com.actionbarsherlock</groupId>
41 <artifactId>actionbarsherlock</artifactId>
42 <version>${actionbarsherlock-version}</version>
43 <scope>provided</scope>
44 </dependency>
45
46 <dependency>
47 <groupId>com.actionbarsherlock</groupId>
48 <artifactId>actionbarsherlock</artifactId>
49 <version>${actionbarsherlock-version}</version>
50 <type>apklib</type>
51 </dependency>
52
53 <!-- MUST BE INSTALLED FIRST: cd owncloud-android-library; mvn install -->
54 <dependency>
55 <groupId>com.owncloud.android</groupId>
56 <artifactId>owncloud-android-library</artifactId>
57 <version>${owncloud.version}</version>
58 </dependency>
59
60 </dependencies>
61
62 <build>
63 <finalName>${project.artifactId}</finalName>
64
65 <sourceDirectory>src</sourceDirectory>
66
67 <plugins>
68
69 <plugin>
70 <groupId>org.apache.maven.plugins</groupId>
71 <artifactId>maven-compiler-plugin</artifactId>
72 <version>3.0</version>
73 <configuration>
74 <source>${java-version}</source>
75 <target>${java-version}</target>
76 </configuration>
77 </plugin>
78
79 <plugin>
80 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
81 <artifactId>android-maven-plugin</artifactId>
82 <version>3.8.0</version>
83 <configuration>
84 <sdk>
85 <path>${env.ANDROID_HOME}</path>
86 <platform>${google.android-api}</platform>
87 </sdk>
88 </configuration>
89 <extensions>true</extensions>
90 </plugin>
91
92 </plugins>
93
94 </build>
95
96 </project>
97