pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.owncloud.android</groupId>
  6. <artifactId>owncloud</artifactId>
  7. <version>${owncloud.version}</version>
  8. <packaging>apk</packaging>
  9. <name>Owncloud Android</name>
  10. <properties>
  11. <owncloud.version>1.5.1-SNAPSHOT</owncloud.version>
  12. <java-version>1.6</java-version>
  13. <!-- Given by maven-android-sdk-deployer -->
  14. <google.android-version>4.4_r1</google.android-version>
  15. <!-- Usually the latest Android API -->
  16. <google.android-api>19</google.android-api>
  17. <actionbarsherlock-version>4.2.0</actionbarsherlock-version>
  18. </properties>
  19. <url>https://github.com/owncloud/android</url>
  20. <description>Owncloud for Android</description>
  21. <scm>
  22. <connection>scm:git:git@github.com:owncloud/android.git</connection>
  23. <developerConnection>scm:git:git@github.com:owncloud/android.git</developerConnection>
  24. <url>https://github.com/owncloud/android</url>
  25. </scm>
  26. <dependencies>
  27. <dependency>
  28. <groupId>android</groupId>
  29. <artifactId>android</artifactId>
  30. <version>${google.android-version}</version>
  31. <scope>provided</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.actionbarsherlock</groupId>
  35. <artifactId>actionbarsherlock</artifactId>
  36. <version>${actionbarsherlock-version}</version>
  37. <scope>provided</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.actionbarsherlock</groupId>
  41. <artifactId>actionbarsherlock</artifactId>
  42. <version>${actionbarsherlock-version}</version>
  43. <type>apklib</type>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.jackrabbit</groupId>
  47. <artifactId>jackrabbit-webdav</artifactId>
  48. <version>2.5.2</version>
  49. </dependency>
  50. <!-- MUST BE INSTALLED FIRST: cd oc_framework; mvn install -->
  51. <dependency>
  52. <groupId>com.owncloud.android</groupId>
  53. <artifactId>oc_framework</artifactId>
  54. <version>${owncloud.version}</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <finalName>${project.artifactId}</finalName>
  59. <sourceDirectory>src</sourceDirectory>
  60. <plugins>
  61. <plugin>
  62. <groupId>org.apache.maven.plugins</groupId>
  63. <artifactId>maven-compiler-plugin</artifactId>
  64. <version>3.0</version>
  65. <configuration>
  66. <source>${java-version}</source>
  67. <target>${java-version}</target>
  68. </configuration>
  69. </plugin>
  70. <plugin>
  71. <groupId>com.jayway.maven.plugins.android.generation2</groupId>
  72. <artifactId>android-maven-plugin</artifactId>
  73. <version>3.8.0</version>
  74. <configuration>
  75. <sdk>
  76. <path>${env.ANDROID_HOME}</path>
  77. <platform>${google.android-api}</platform>
  78. </sdk>
  79. </configuration>
  80. <extensions>true</extensions>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </project>