Advertisement
Guest User

pom.xml for Calendar API

a guest
Dec 19th, 2012
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.21 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project
  3.     xmlns="http://maven.apache.org/POM/4.0.0"
  4.     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  6.  
  7.     <modelVersion>4.0.0</modelVersion>
  8.     <groupId>some.awesome.package</groupId>
  9.     <artifactId>AwesomeApp</artifactId>
  10.     <version>1.0-SNAPSHOT</version>
  11.     <packaging>apk</packaging>
  12.     <name>AwesomeApp</name>
  13.  
  14.     <repositories>
  15.         <repository>
  16.             <id>google-api-services</id>
  17.             <url>http://google-api-client-libraries.appspot.com/mavenrepo</url>
  18.         </repository>
  19.     </repositories>
  20.  
  21.     <properties>
  22.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23.  
  24.         <!-- Plugins -->
  25.         <android-maven-plugin.version>3.4.1</android-maven-plugin.version>
  26.         <maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>
  27.         <api.platform>16</api.platform>
  28.  
  29.         <!-- Dependencies -->
  30.         <actionBarSherlock.version>4.2.0</actionBarSherlock.version>
  31.         <android.version>4.1.1.4</android.version>
  32.     </properties>
  33.  
  34.     <dependencies>
  35.         <dependency>
  36.             <groupId>com.google.android</groupId>
  37.             <artifactId>android</artifactId>
  38.             <version>${android.version}</version>
  39.             <scope>provided</scope>
  40.         </dependency>
  41.         <dependency>
  42.             <groupId>com.actionbarsherlock</groupId>
  43.             <artifactId>actionbarsherlock</artifactId>
  44.             <version>${actionBarSherlock.version}</version>
  45.             <type>apklib</type>
  46.         </dependency>
  47.         <dependency>
  48.             <groupId>com.actionbarsherlock</groupId>
  49.             <artifactId>library</artifactId>
  50.             <version>${actionBarSherlock.version}</version>
  51.             <type>jar</type>
  52.             <scope>provided</scope>
  53.         </dependency>
  54.         <dependency>
  55.             <groupId>com.google.api-client</groupId>
  56.             <artifactId>google-api-client</artifactId>
  57.             <version>1.12.0-beta</version>
  58.             <scope>provided</scope>
  59.             <exclusions>
  60.                 <exclusion>
  61.                       <artifactId>xpp3</artifactId>
  62.                       <groupId>xpp3</groupId>
  63.                 </exclusion>
  64.                 <exclusion>
  65.                       <groupId>org.apache.httpcomponents</groupId>
  66.                       <artifactId>httpclient</artifactId>
  67.                 </exclusion>
  68.                 <exclusion>
  69.                       <artifactId>junit</artifactId>
  70.                       <groupId>junit</groupId>
  71.                 </exclusion>
  72.                 <exclusion>
  73.                       <artifactId>android</artifactId>
  74.                       <groupId>com.google.android</groupId>
  75.                 </exclusion>
  76.                 <exclusion>
  77.                       <groupId>com.google.http-client</groupId>
  78.                       <artifactId>google-http-client</artifactId>
  79.                 </exclusion>
  80.             </exclusions>
  81.         </dependency>
  82.         <dependency>
  83.             <groupId>com.google.http-client</groupId>
  84.             <artifactId>google-http-client-jackson</artifactId>
  85.             <version>1.12.0-beta</version>
  86.             <scope>provided</scope>
  87.         </dependency>
  88.         <dependency>
  89.             <groupId>com.google.http-client</groupId>
  90.             <artifactId>google-http-client-android</artifactId>
  91.             <version>1.12.0-beta</version>
  92.             <scope>provided</scope>
  93.         </dependency>
  94.         <dependency>
  95.             <groupId>googleapis</groupId>
  96.             <artifactId>calendar</artifactId>
  97.             <version>v3-rev21-1.12.0-beta</version>
  98.         </dependency>
  99.        
  100.     </dependencies>
  101.  
  102.     <build>
  103.         <plugins>
  104.             <plugin>
  105.                 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
  106.                 <artifactId>android-maven-plugin</artifactId>
  107.                 <version>${android-maven-plugin.version}</version>
  108.                 <extensions>true</extensions>
  109.                 <configuration>
  110.                     <sdk>
  111.                         <platform>${api.platform}</platform>
  112.                     </sdk>
  113.                     <runDebug>true</runDebug>
  114.                     <undeployBeforeDeploy>true</undeployBeforeDeploy>
  115.                    
  116.                 </configuration>
  117.             </plugin>
  118.             <plugin>
  119.                 <groupId>org.apache.maven.plugins</groupId>
  120.                 <artifactId>maven-compiler-plugin</artifactId>
  121.                 <version>${maven-compiler-plugin.version}</version>
  122.                 <configuration>
  123.                     <source>1.6</source>
  124.                     <target>1.6</target>
  125.                 </configuration>
  126.             </plugin>
  127.         </plugins>
  128.     </build>
  129. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement