Created
March 24, 2013 17:09
-
-
Save untalfranfernandez/5232669 to your computer and use it in GitHub Desktop.
Android application module pom. Copy, paste and replace with the right values.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>[YOUR GROUP ID GOES HERE]</groupId> | |
<artifactId>[YOUR ARTIFACT ID GOES HERE]</artifactId> | |
<version>[YOUR ARTIFACT VERSION GOES HERE]</version> | |
<packaging>apk</packaging> | |
<properties> | |
<android-sdk.version>[ANDROID SDK VERSION]</android-sdk.version> | |
<android-api.version>[ANDROID API LEVEL VERSION]</android-api.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.android</groupId> | |
<artifactId>android</artifactId> | |
<version>${android-sdk.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | |
<artifactId>android-maven-plugin</artifactId> | |
<version>3.5.0</version> | |
<configuration> | |
<androidManifestFile>AndroidManifest.xml</androidManifestFile> | |
<assetsDirectory>assets</assetsDirectory> | |
<resourceDirectory>res</resourceDirectory> | |
<nativeLibrariesDirectory>src/main/native</nativeLibrariesDirectory> | |
<sdk> | |
<platform>${android-api.version}</platform> | |
</sdk> | |
<undeployBeforeDeploy>true</undeployBeforeDeploy> | |
</configuration> | |
<extensions>true</extensions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment