pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <!--
  2. IMPORTANT
  3. ==============================================
  4. This project maven configuration depends on configurations defined in user profile files.
  5. Please, if you still do not have created the maven profile file, create it like this:
  6. - %USER_HOME%/.m2/settings.xml:
  7. ´´´´´´´´´´´´´´´´´´´´´´´´´´´´´´´
  8. <settings>
  9. <profiles>
  10. <profile>
  11. <id>hostageUserConfig</id>
  12. <properties>
  13. <android.compatibility.version>19</android.compatibility.version>
  14. <android.version>4.4_r1</android.version>
  15. </properties>
  16. </profile>
  17. </profiles>
  18. <activeProfiles>
  19. <activeProfile>hostageUserConfig</activeProfile>
  20. </activeProfiles>
  21. </settings>
  22. ´´´´´´´´´´´´´´´´´´´´´´´´´´´´´´´
  23. The important part here is to set the right version numbers in the defined properties. These version
  24. numbers are system-dependant and can't be downloaded from the maven repository, since they do not
  25. exist there.
  26. ==============================================
  27. -->
  28. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  29. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  30. <modelVersion>4.0.0</modelVersion>
  31. <groupId>de.tudarmstadt.informatik</groupId>
  32. <artifactId>hostage</artifactId>
  33. <version>2.0.0-SNAPSHOT</version>
  34. <packaging>apk</packaging>
  35. <name>HosTaGe</name>
  36. <dependencies>
  37. <dependency>
  38. <groupId>android</groupId>
  39. <artifactId>android</artifactId>
  40. <version>${android.version}</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>android.support</groupId>
  45. <artifactId>compatibility-v4</artifactId>
  46. <version>${android.compatibility.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.roboguice</groupId>
  50. <artifactId>roboguice</artifactId>
  51. <version>2.0</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.nineoldandroids</groupId>
  55. <artifactId>library</artifactId>
  56. <version>2.4.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.fortysevendeg.android</groupId>
  60. <artifactId>swipelistview</artifactId>
  61. <version>1.0-SNAPSHOT</version>
  62. <type>apklib</type>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.google.android.gms</groupId>
  66. <artifactId>google-play-services</artifactId>
  67. <version>14.0.0</version>
  68. <type>apklib</type>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.google.android.gms</groupId>
  72. <artifactId>google-play-services</artifactId>
  73. <version>14.0.0</version>
  74. <type>jar</type>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <finalName>${project.artifactId}</finalName>
  79. <sourceDirectory>src</sourceDirectory>
  80. <pluginManagement>
  81. <plugins>
  82. <plugin>
  83. <groupId>com.jayway.maven.plugins.android.generation2</groupId>
  84. <artifactId>android-maven-plugin</artifactId>
  85. <version>3.8.0</version>
  86. <extensions>true</extensions>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.eclipse.m2e</groupId>
  90. <artifactId>lifecycle-mapping</artifactId>
  91. <version>1.0.0</version>
  92. <configuration>
  93. <lifecycleMappingMetadata>
  94. <pluginExecutions>
  95. <pluginExecution>
  96. <pluginExecutionFilter>
  97. <groupId>
  98. com.jayway.maven.plugins.android.generation2
  99. </groupId>
  100. <artifactId>
  101. android-maven-plugin
  102. </artifactId>
  103. <versionRange>
  104. [3.8.0,)
  105. </versionRange>
  106. <goals>
  107. <goal>consume-aar</goal>
  108. </goals>
  109. </pluginExecutionFilter>
  110. <action>
  111. <ignore></ignore>
  112. </action>
  113. </pluginExecution>
  114. </pluginExecutions>
  115. </lifecycleMappingMetadata>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </pluginManagement>
  120. <plugins>
  121. <plugin>
  122. <groupId>com.jayway.maven.plugins.android.generation2</groupId>
  123. <artifactId>android-maven-plugin</artifactId>
  124. <configuration>
  125. <sdk>
  126. <platform>19</platform>
  127. </sdk>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. <repositories>
  133. <repository>
  134. <id>sonatype</id>
  135. <url>https://oss.sonatype.org/content/groups/public/</url>
  136. <releases>
  137. <enabled>true</enabled>
  138. <updatePolicy>daily</updatePolicy>
  139. <checksumPolicy>fail</checksumPolicy>
  140. </releases>
  141. <snapshots>
  142. <enabled>true</enabled>
  143. <updatePolicy>always</updatePolicy>
  144. <checksumPolicy>ignore</checksumPolicy>
  145. </snapshots>
  146. </repository>
  147. </repositories>
  148. </project>