Created
February 4, 2012 14:58
-
-
Save rgladwell/1738301 to your computer and use it in GitHub Desktop.
Fixed build errors for POM
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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.testtech1</groupId> | |
<artifactId>testtech1</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<packaging>apk</packaging> | |
<name>testtech1</name> | |
<repositories> | |
<repository> | |
<id>google-api-services</id> | |
<url>http://mavenrepo.google-api-java-client.googlecode.com/hg</url> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> | |
<groupId>com.google.android</groupId> | |
<artifactId>android</artifactId> | |
<version>2.2.1</version> | |
<scope>provided</scope> | |
<exclusions> | |
<exclusion> | |
<artifactId>httpclient</artifactId> | |
<groupId>org.apache.httpcomponents</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>xpp3</artifactId> | |
<groupId>xpp3</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.google.apis</groupId> | |
<artifactId>google-api-services-tasks</artifactId> | |
<version>v1-1.3.0-beta</version> | |
<exclusions> | |
<exclusion> | |
<artifactId>httpclient</artifactId> | |
<groupId>org.apache.httpcomponents</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.google.api-client</groupId> | |
<artifactId>google-api-client</artifactId> | |
<version>1.6.0-beta</version> | |
<exclusions> | |
<exclusion> | |
<artifactId>httpclient</artifactId> | |
<groupId>org.apache.httpcomponents</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.google.api-client</groupId> | |
<artifactId>google-api-client-extensions</artifactId> | |
<version>1.6.0-beta</version> | |
<exclusions> | |
<exclusion> | |
<artifactId>httpclient</artifactId> | |
<groupId>org.apache.httpcomponents</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>transaction-api</artifactId> | |
<groupId>javax.transaction</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>google-collections</artifactId> | |
<groupId>com.google.collections</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.google.api-client</groupId> | |
<artifactId>google-api-client-extensions-android2</artifactId> | |
<version> | |
1.6.0-beta | |
</version> | |
<exclusions> | |
<exclusion> | |
<artifactId>httpclient</artifactId> | |
<groupId>org.apache.httpcomponents</groupId> | |
</exclusion> | |
<exclusion> | |
<artifactId>xpp3</artifactId> | |
<groupId>xpp3</groupId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>com.jayway.maven.plugins.android.generation2</groupId> | |
<artifactId> | |
android-maven-plugin | |
</artifactId> | |
<version> | |
3.0.2 | |
</version> | |
<configuration> | |
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile> | |
<assetsDirectory> | |
${project.basedir}/assets</assetsDirectory> | |
<resourceDirectory> | |
${project.basedir}/res</resourceDirectory> | |
<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory> | |
<sdk> | |
<platform>8</platform> | |
</sdk> | |
<deleteConflictingFiles> | |
true</deleteConflictingFiles> | |
<undeployBeforeDeploy>true</undeployBeforeDeploy> | |
</configuration> | |
<extensions> | |
true | |
</extensions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<source>1.6</source> | |
<target>1.6</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<!--This plugin's configuration is used to store Eclipse m2e settings | |
only. It has no influence on the Maven build itself. --> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId> | |
com.jayway.maven.plugins.android.generation2 | |
</groupId> | |
<artifactId> | |
android-maven-plugin | |
</artifactId> | |
<versionRange> | |
[3.0.2,) | |
</versionRange> | |
<goals> | |
<goal>proguard</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<ignore></ignore> | |
</action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment