Advertisement
Guest User

Untitled

a guest
Feb 19th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.79 KB | None | 0 0
  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/maven-v4_0_0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>com.my_project</groupId>
  6.     <artifactId>com.my_project.delta.android</artifactId>
  7.     <version>1.0-SNAPSHOT</version>
  8.     <packaging>apk</packaging>
  9.     <name>com.my_project.delta.android</name>
  10.  
  11.     <prerequisites>
  12.         <maven>3.0.3</maven>
  13.     </prerequisites>
  14.  
  15.     <properties>
  16.         <platform.version>4.1.1.4</platform.version>
  17.         <robolectric.version>2.0-alpha-1</robolectric.version>
  18.     </properties>
  19.  
  20.     <dependencies>
  21.  
  22.         <dependency>
  23.             <groupId>com.google.android</groupId>
  24.             <artifactId>android</artifactId>
  25.             <version>${platform.version}</version>
  26.             <scope>provided</scope>
  27.         </dependency>
  28.  
  29.         <dependency>
  30.             <groupId>org.roboguice</groupId>
  31.             <artifactId>roboguice</artifactId>
  32.             <version>2.0</version>
  33.         </dependency>
  34.  
  35.         <dependency>
  36.             <groupId>com.google.inject</groupId>
  37.             <artifactId>guice</artifactId>
  38.             <version>3.0</version>
  39.             <classifier>no_aop</classifier>
  40.         </dependency>
  41.  
  42.         <dependency>
  43.             <groupId>com.googlecode.androidannotations</groupId>
  44.             <artifactId>androidannotations</artifactId>
  45.             <version>3.0-SNAPSHOT</version>
  46.             <scope>provided</scope>
  47.         </dependency>
  48.  
  49.         <dependency>
  50.             <groupId>com.googlecode.androidannotations</groupId>
  51.             <artifactId>androidannotations-api</artifactId>
  52.             <version>3.0-SNAPSHOT</version>
  53.         </dependency>
  54.  
  55.         <dependency>
  56.             <groupId>org.hamcrest</groupId>
  57.             <artifactId>hamcrest-core</artifactId>
  58.             <version>1.2</version>
  59.             <scope>test</scope>
  60.         </dependency>
  61.  
  62.         <dependency>
  63.             <groupId>org.robolectric</groupId>
  64.             <artifactId>robolectric</artifactId>
  65.             <version>${robolectric.version}</version>
  66.             <scope>test</scope>
  67.         </dependency>
  68.  
  69.         <dependency>
  70.             <groupId>junit</groupId>
  71.             <artifactId>junit</artifactId>
  72.             <version>4.8.2</version>
  73.             <scope>test</scope>
  74.         </dependency>
  75.  
  76.     </dependencies>
  77.  
  78.     <repositories>
  79.         <repository>
  80.             <id>snapshots-repository</id>
  81.             <name>Sonatype oss snapshot repo</name>
  82.             <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  83.         </repository>
  84.     </repositories>
  85.  
  86.     <build>
  87.         <finalName>${project.artifactId}</finalName>
  88.  
  89.         <plugins>
  90.  
  91.             <plugin>
  92.                 <artifactId>maven-compiler-plugin</artifactId>
  93.                 <version>3.0</version>
  94.                 <configuration>
  95.                     <source>1.6</source>
  96.                     <target>1.6</target>
  97.                 </configuration>
  98.             </plugin>
  99.  
  100.             <plugin>
  101.                 <groupId>com.jayway.maven.plugins.android.generation2</groupId>
  102.                 <artifactId>android-maven-plugin</artifactId>
  103.                 <version>3.5.0</version>
  104.                 <configuration>
  105.                     <androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
  106.                     <assetsDirectory>${project.basedir}/assets</assetsDirectory>
  107.                     <resourceDirectory>${project.basedir}/res</resourceDirectory>
  108.                     <nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
  109.                     <sdk>
  110.                         <platform>16</platform>
  111.                     </sdk>
  112.                     <undeployBeforeDeploy>true</undeployBeforeDeploy>
  113.                 </configuration>
  114.                 <extensions>true</extensions>
  115.             </plugin>
  116.  
  117.             <plugin>
  118.                 <groupId>org.apache.maven.plugins</groupId>
  119.                 <artifactId>maven-surefire-plugin</artifactId>
  120.                 <version>2.6</version>
  121.                 <configuration>
  122.                     <includes>
  123.                         <include>${project.basedir}/target/generated-sources/**</include>
  124.                     </includes>
  125.                     <excludes>
  126.                         <exclude>**/Test*.java</exclude>
  127.                     </excludes>
  128.                 </configuration>
  129.             </plugin>
  130.  
  131.             <plugin>
  132.                 <artifactId>versions-maven-plugin</artifactId>
  133.                 <groupId>org.codehaus.mojo</groupId>
  134.                 <version>1.3.1</version>
  135.             </plugin>
  136.  
  137.         </plugins>
  138.        
  139.     </build>
  140. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement