|
| 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/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>com.androidcookbook</groupId> |
| 7 | + <artifactId>AutocompleteTextViewContacts</artifactId> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + <packaging>apk</packaging> |
| 10 | + <inceptionYear>2012</inceptionYear> |
| 11 | + <url>http://androidcookbook.com/</url> |
| 12 | + |
| 13 | + <parent> |
| 14 | + <groupId>com.androidcookbook.examples</groupId> |
| 15 | + <artifactId>android-cookbook-examples-parent</artifactId> |
| 16 | + <version>1.0</version> |
| 17 | + </parent> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <platform.version>4.1.1.4</platform.version> |
| 21 | + </properties> |
| 22 | + |
| 23 | + <dependencies> |
| 24 | + <!-- This is an Android project --> |
| 25 | + <dependency> |
| 26 | + <groupId>com.google.android</groupId> |
| 27 | + <artifactId>android</artifactId> |
| 28 | + <version>${platform.version}</version> |
| 29 | + <scope>provided</scope> |
| 30 | + </dependency> |
| 31 | + </dependencies> |
| 32 | + |
| 33 | + <build> |
| 34 | + <plugins> |
| 35 | + <plugin> |
| 36 | + <!-- Use the Android Plugin --> |
| 37 | + <groupId>com.simpligility.maven.plugins</groupId> |
| 38 | + <artifactId>android-maven-plugin</artifactId> |
| 39 | + <version>${android.plugin.version}</version> |
| 40 | + <configuration> |
| 41 | + <androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile> |
| 42 | + <assetsDirectory>${project.basedir}/assets</assetsDirectory> |
| 43 | + <resourceDirectory>${project.basedir}/res</resourceDirectory> |
| 44 | + <nativeLibrariesDirectory>${project.basedir}/libs</nativeLibrariesDirectory> |
| 45 | + <sdk> |
| 46 | + <platform>19</platform> |
| 47 | + </sdk> |
| 48 | + <undeployBeforeDeploy>false</undeployBeforeDeploy> |
| 49 | + </configuration> |
| 50 | + <extensions>true</extensions> |
| 51 | + </plugin> |
| 52 | + |
| 53 | + <plugin> |
| 54 | + <artifactId>maven-compiler-plugin</artifactId> |
| 55 | + <version>2.3.2</version> |
| 56 | + <configuration> |
| 57 | + <source>1.7</source> |
| 58 | + <target>1.7</target> |
| 59 | + </configuration> |
| 60 | + </plugin> |
| 61 | + </plugins> |
| 62 | + </build> |
| 63 | +</project> |
0 commit comments