Created
May 13, 2013 14:57
-
-
Save pestrada/5568917 to your computer and use it in GitHub Desktop.
Sample POM file for an Android Library of an Android project managed with Maven.
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"> | |
<parent> | |
<groupId>com.your_company.package</groupId> | |
<artifactId>your-parent-artifact-id</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.your_library-package</groupId> | |
<artifactId>your-library-artifact-id</artifactId> | |
<version>1</version> | |
<packaging>apklib</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.android</groupId> | |
<artifactId>android</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>com.google.android</groupId> | |
<artifactId>support-v4</artifactId> | |
<version>r6</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>${project.artifactId}</finalName> | |
<sourceDirectory>src</sourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | |
<artifactId>android-maven-plugin</artifactId> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment