mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
dba07da921
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!
97 lines
3.3 KiB
XML
97 lines
3.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.owncloud.android</groupId>
|
|
<artifactId>owncloud</artifactId>
|
|
<version>${owncloud.version}</version>
|
|
<packaging>apk</packaging>
|
|
<name>Owncloud Android</name>
|
|
|
|
<properties>
|
|
<owncloud.version>1.5.1-SNAPSHOT</owncloud.version>
|
|
<java-version>1.6</java-version>
|
|
<!-- Given by maven-android-sdk-deployer -->
|
|
<google.android-version>4.4_r1</google.android-version>
|
|
<!-- Usually the latest Android API -->
|
|
<google.android-api>19</google.android-api>
|
|
<actionbarsherlock-version>4.2.0</actionbarsherlock-version>
|
|
</properties>
|
|
|
|
<url>https://github.com/owncloud/android</url>
|
|
<description>Owncloud for Android</description>
|
|
<scm>
|
|
<connection>scm:git:git@github.com:owncloud/android.git</connection>
|
|
<developerConnection>scm:git:git@github.com:owncloud/android.git</developerConnection>
|
|
<url>https://github.com/owncloud/android</url>
|
|
</scm>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>android</groupId>
|
|
<artifactId>android</artifactId>
|
|
<version>${google.android-version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.actionbarsherlock</groupId>
|
|
<artifactId>actionbarsherlock</artifactId>
|
|
<version>${actionbarsherlock-version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.actionbarsherlock</groupId>
|
|
<artifactId>actionbarsherlock</artifactId>
|
|
<version>${actionbarsherlock-version}</version>
|
|
<type>apklib</type>
|
|
</dependency>
|
|
|
|
<!-- MUST BE INSTALLED FIRST: cd oc_framework; mvn install -->
|
|
<dependency>
|
|
<groupId>com.owncloud.android</groupId>
|
|
<artifactId>oc_framework</artifactId>
|
|
<version>${owncloud.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<sourceDirectory>src</sourceDirectory>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.0</version>
|
|
<configuration>
|
|
<source>${java-version}</source>
|
|
<target>${java-version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
|
|
<artifactId>android-maven-plugin</artifactId>
|
|
<version>3.8.0</version>
|
|
<configuration>
|
|
<sdk>
|
|
<path>${env.ANDROID_HOME}</path>
|
|
<platform>${google.android-api}</platform>
|
|
</sdk>
|
|
</configuration>
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|
|
|