blob: 699151c2118a895f63f8b940269d9ae08a2150ea [file] [log] [blame]
<?xml version="1.0"?>
<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>
<parent>
<groupId>com.google.android.apps.common.testing</groupId>
<artifactId>espresso-parent</artifactId>
<version>1.1</version>
</parent>
<artifactId>espresso-contrib-tests</artifactId>
<packaging>apk</packaging>
<name>Tests for the Espresso Contrib Library</name>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
<!-- We use TestApp to create scenarios to verify Espresso's functionality.
The below dependency installs it on the device.
-->
<dependency>
<groupId>com.google.android.apps.common.testing</groupId>
<artifactId>testapp</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
<type>apk</type>
</dependency>
<!-- Allows us to use TestApp's R.class at compile time.
-->
<dependency>
<groupId>com.google.android.apps.common.testing</groupId>
<artifactId>testapp</artifactId>
<type>jar</type>
<scope>provided</scope>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.android.apps.common.testing</groupId>
<artifactId>espresso-contrib</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android-test</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android.apps.common.testing</groupId>
<artifactId>testrunner-runtime</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<extractDuplicates>true</extractDuplicates>
</configuration>
</plugin>
</plugins>
</build>
</project>