blob: eac20bcb7b6dd3a0b6dc8ae28c725647b2fb962e [file] [log] [blame]
Macarse902467c2010-11-25 11:09:14 -03001<?xml version="1.0" encoding="UTF-8"?>
Tyler Schultz5c6bc1d2011-10-13 15:40:26 -07002<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">
Christian Williamsfee77722010-11-26 14:07:40 -08003 <modelVersion>4.0.0</modelVersion>
Macarse902467c2010-11-25 11:09:14 -03004
Chris Van Vrankena67487b2011-06-26 16:04:39 -04005 <parent>
Joe Moore & Tyler Schultze2623f92011-08-20 13:11:48 -07006 <groupId>org.sonatype.oss</groupId>
7 <artifactId>oss-parent</artifactId>
8 <version>5</version>
Chris Van Vrankena67487b2011-06-26 16:04:39 -04009 </parent>
10
Christian Williamsfee77722010-11-26 14:07:40 -080011 <groupId>com.pivotallabs</groupId>
12 <artifactId>robolectric</artifactId>
Tyler Schultzfa434652012-04-02 14:19:59 -070013 <version>1.2-SNAPSHOT</version>
Christian Williamsfee77722010-11-26 14:07:40 -080014 <packaging>jar</packaging>
15 <name>Robolectric</name>
16 <description>An alternative Android testing framework.</description>
17 <url>http://pivotal.github.com/robolectric/</url>
Macarse902467c2010-11-25 11:09:14 -030018
Christian Williamsfee77722010-11-26 14:07:40 -080019 <dependencies>
20 <dependency>
Christian Williams & Phil Goodwina3030052010-12-21 12:19:44 -080021 <groupId>org.hamcrest</groupId>
22 <artifactId>hamcrest-core</artifactId>
23 <version>1.2</version>
Christian Williams & Phil Goodwine34eba52010-12-21 14:13:56 -080024 <scope>provided</scope>
Christian Williams & Phil Goodwina3030052010-12-21 12:19:44 -080025 </dependency>
26
27 <dependency>
Macarse9672b8c2010-11-27 20:02:57 -030028 <groupId>junit</groupId>
Aaron VonderHaar1f55fee2012-03-18 21:52:45 -070029 <artifactId>junit-dep</artifactId>
Macarse9672b8c2010-11-27 20:02:57 -030030 <version>4.8.2</version>
Christian Williams & Phil Goodwine34eba52010-12-21 14:13:56 -080031 <scope>provided</scope>
Christian Williamsfee77722010-11-26 14:07:40 -080032 </dependency>
Macarse902467c2010-11-25 11:09:14 -030033
Christian Williamsfee77722010-11-26 14:07:40 -080034 <dependency>
35 <groupId>org.objenesis</groupId>
36 <artifactId>objenesis</artifactId>
37 <version>1.0</version>
38 </dependency>
Macarsebe10dbc2010-11-26 13:29:45 -030039
Christian Williamsfee77722010-11-26 14:07:40 -080040 <dependency>
Jan Berkela65f10e2012-01-11 02:00:21 +010041 <groupId>org.xerial</groupId>
42 <artifactId>sqlite-jdbc</artifactId>
43 <version>3.7.2</version>
44 </dependency>
45
46 <dependency>
Chris Van Vrankena67487b2011-06-26 16:04:39 -040047 <groupId>com.h2database</groupId>
48 <artifactId>h2</artifactId>
49 <version>1.2.147</version>
Jan Berkela65f10e2012-01-11 02:00:21 +010050 <scope>test</scope>
Chris Van Vrankena67487b2011-06-26 16:04:39 -040051 </dependency>
52
53 <dependency>
Christian Williamsfee77722010-11-26 14:07:40 -080054 <groupId>org.javassist</groupId>
55 <artifactId>javassist</artifactId>
56 <version>3.14.0-GA</version>
57 </dependency>
58
59 <dependency>
Phil Goodwin & Tyler Schultz28731622010-12-10 18:04:06 -080060 <groupId>commons-logging</groupId>
61 <artifactId>commons-logging</artifactId>
62 <version>1.1.1</version>
63 </dependency>
Macarsedef59aa2010-12-10 16:56:15 -030064
Phil Goodwin & Tyler Schultz28731622010-12-10 18:04:06 -080065 <dependency>
66 <groupId>commons-codec</groupId>
Christian Williams & Phil Goodwina3030052010-12-21 12:19:44 -080067 <artifactId>commons-codec</artifactId>
Jon Boekenoogen019cb512012-05-14 10:11:36 -070068 <version>1.6</version>
Phil Goodwin & Tyler Schultz28731622010-12-10 18:04:06 -080069 </dependency>
70
Phil Goodwin & Tyler Schultz028b8312010-12-13 09:56:31 -080071 <dependency>
72 <groupId>org.apache.httpcomponents</groupId>
73 <artifactId>httpclient</artifactId>
74 <version>4.0.3</version>
75 </dependency>
Phil Goodwin & Tyler Schultz28731622010-12-10 18:04:06 -080076
77 <dependency>
Farand Kooae96ffa2013-09-06 17:15:16 -070078 <groupId>android</groupId>
Macarse9672b8c2010-11-27 20:02:57 -030079 <artifactId>android</artifactId>
Jon Boekenoogend9d53062014-05-26 20:24:14 -070080 <version>4.3_r2</version>
Christian Williams & Phil Goodwine34eba52010-12-21 14:13:56 -080081 <scope>provided</scope>
Macarse9672b8c2010-11-27 20:02:57 -030082 </dependency>
83
84 <dependency>
85 <groupId>com.google.android.maps</groupId>
86 <artifactId>maps</artifactId>
Jon Boekenoogend9d53062014-05-26 20:24:14 -070087 <version>18_r3</version>
Christian Williams & Phil Goodwine34eba52010-12-21 14:13:56 -080088 <scope>provided</scope>
Christian Williams & Phil Goodwina3030052010-12-21 12:19:44 -080089 </dependency>
90
91 <dependency>
Aaron VonderHaar & Amrit Thakurd1a30902012-03-19 10:38:52 -070092 <groupId>com.google.android</groupId>
93 <artifactId>support-v4</artifactId>
94 <version>r6</version>
Aaron VonderHaar & Amrit Thakurd1a30902012-03-19 10:38:52 -070095 </dependency>
96
97 <dependency>
Christian Williams & Phil Goodwina3030052010-12-21 12:19:44 -080098 <groupId>org.mockito</groupId>
99 <artifactId>mockito-core</artifactId>
100 <version>1.8.5</version>
101 <scope>test</scope>
Macarse9672b8c2010-11-27 20:02:57 -0300102 </dependency>
Chris Van Vrankena67487b2011-06-26 16:04:39 -0400103 </dependencies>
Christian Williamsfee77722010-11-26 14:07:40 -0800104
Christian Williamsfee77722010-11-26 14:07:40 -0800105 <build>
Christian Williamsfee77722010-11-26 14:07:40 -0800106 <plugins>
107 <plugin>
Joe Moore & Tyler Schultzcfdc97a2011-08-12 07:59:11 -0700108 <groupId>org.apache.maven.plugins</groupId>
109 <artifactId>maven-source-plugin</artifactId>
110 <version>2.1.2</version>
Tyler Schultz5c6bc1d2011-10-13 15:40:26 -0700111 <configuration />
Joe Moore & Tyler Schultzcfdc97a2011-08-12 07:59:11 -0700112 <executions>
113 <execution>
114 <id>attach-sources</id>
115 <goals>
116 <goal>jar</goal>
117 </goals>
118 </execution>
119 </executions>
120 </plugin>
121 <plugin>
Christian Williamsfee77722010-11-26 14:07:40 -0800122 <artifactId>maven-compiler-plugin</artifactId>
Christian Williams & Phil Goodwin7a066562010-12-21 17:14:38 -0800123 <version>2.3.2</version>
Christian Williamsfee77722010-11-26 14:07:40 -0800124 <configuration>
Phil Goodwin & Tyler Schultz93921172010-12-13 11:51:52 -0800125 <source>1.6</source>
126 <target>1.6</target>
Christian Williamsfee77722010-11-26 14:07:40 -0800127 </configuration>
128 </plugin>
mvidal0d324132010-12-04 15:04:41 -0300129 <plugin>
Christian Williams & Phil Goodwina3030052010-12-21 12:19:44 -0800130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-surefire-plugin</artifactId>
132 <version>2.6</version>
133 <configuration>
134 <excludes>
135 <exclude>**/Test*.java</exclude>
136 </excludes>
137 </configuration>
138 </plugin>
Joe Moore & Tyler Schultzcfdc97a2011-08-12 07:59:11 -0700139
Christian Williams & Phil Goodwine34eba52010-12-21 14:13:56 -0800140 <plugin>
141 <artifactId>maven-assembly-plugin</artifactId>
142 <version>2.2</version>
143 <configuration>
144 <descriptorRefs>
145 <descriptorRef>jar-with-dependencies</descriptorRef>
146 </descriptorRefs>
147 </configuration>
148 <executions>
149 <execution>
150 <id>make-assembly</id>
151 <phase>package</phase>
152 <goals>
153 <goal>single</goal>
154 </goals>
155 </execution>
156 </executions>
157 </plugin>
Chris Van Vrankena67487b2011-06-26 16:04:39 -0400158 <!-- required for testing robolectric-sqlite -->
Chris Van Vranken77051e62011-06-26 08:09:48 -0400159 <plugin>
Chris Van Vrankena67487b2011-06-26 16:04:39 -0400160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-jar-plugin</artifactId>
162 <version>2.3.1</version>
163 <executions>
164 <execution>
165 <goals>
166 <goal>test-jar</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
Glenn Jahnke & Jesse Tothfe513b32011-07-08 16:55:27 -0700171
172 <plugin>
173 <artifactId>maven-clean-plugin</artifactId>
174 <version>2.4.1</version>
175 <configuration>
176 <filesets>
177 <fileset>
178 <directory>tmp</directory>
179 <includes>
180 <include>*</include>
181 </includes>
182 </fileset>
183 </filesets>
184 </configuration>
185 </plugin>
Joe Moore & Tyler Schultzcfdc97a2011-08-12 07:59:11 -0700186
Christian Williamsfee77722010-11-26 14:07:40 -0800187 </plugins>
188 </build>
189
Christian Williams & Phil Goodwinff55ac42010-12-21 14:48:40 -0800190 <profiles>
191 <profile>
192 <id>ant-deps</id>
193 <build>
194 <plugins>
195 <plugin>
196 <artifactId>maven-antrun-plugin</artifactId>
197 <version>1.6</version>
198 <executions>
199 <execution>
200 <id>clean-dependencies</id>
201 <phase>package</phase>
202 <goals>
203 <goal>run</goal>
204 </goals>
205 <configuration>
206 <target>
Tyler Schultz5c6bc1d2011-10-13 15:40:26 -0700207 <delete dir="${project.basedir}/lib/main" />
208 <mkdir dir="${project.basedir}/lib/main" />
Christian Williams & Phil Goodwinff55ac42010-12-21 14:48:40 -0800209 </target>
210 </configuration>
211 </execution>
212 </executions>
213 </plugin>
214 <plugin>
215 <artifactId>maven-dependency-plugin</artifactId>
216 <executions>
217 <execution>
218 <id>copy-dependencies</id>
219 <phase>package</phase>
220 <goals>
221 <goal>copy-dependencies</goal>
222 </goals>
223 <configuration>
224 <outputDirectory>${project.basedir}/lib/main</outputDirectory>
225 <overWriteReleases>false</overWriteReleases>
226 <overWriteSnapshots>false</overWriteSnapshots>
227 <overWriteIfNewer>true</overWriteIfNewer>
228 <excludeArtifactIds>android,maps,mockito-core</excludeArtifactIds>
229 </configuration>
230 </execution>
231 </executions>
232 </plugin>
233 </plugins>
234 </build>
235 </profile>
236 </profiles>
237
Christian Williamsfee77722010-11-26 14:07:40 -0800238 <scm>
239 <url>git@github.com:pivotal/robolectric.git</url>
240 <connection>scm:git:git://github.com/pivotal/robolectric.git</connection>
241 <developerConnection>scm:git:git@github.com:pivotal/robolectric.git</developerConnection>
242 </scm>
243
244 <ciManagement>
245 <system>Hudson</system>
Jan Berkelb3fb9fa2012-01-11 14:37:38 +0100246 <url>http://ci.robolectric.org/job/robolectric</url>
Christian Williamsfee77722010-11-26 14:07:40 -0800247 </ciManagement>
Chris Van Vrankena67487b2011-06-26 16:04:39 -0400248
Christian Williamsfee77722010-11-26 14:07:40 -0800249 <developers>
250 <developer>
251 <id>xian</id>
252 <name>Christian Williams</name>
253 <email>xian@pivotallabs.com</email>
254 <organization>Pivotal Labs</organization>
255 <organizationUrl>http://pivotallabs.com/</organizationUrl>
256 <roles>
257 <role>Developer</role>
258 </roles>
259 <timezone>PST/PDT</timezone>
260 </developer>
261 <developer>
262 <id>tyler</id>
263 <name>Tyler Schultz</name>
264 <email>tyler@pivotallabs.com</email>
265 <organization>Pivotal Labs</organization>
266 <organizationUrl>http://pivotallabs.com/</organizationUrl>
267 <roles>
268 <role>Project Owner</role>
269 <role>Developer</role>
270 </roles>
271 <timezone>PST/PDT</timezone>
272 </developer>
273 <developer>
274 <id>phil</id>
275 <name>Phil Goodwin</name>
276 <email>phil@pivotallabs.com</email>
277 <organization>Pivotal Labs</organization>
278 <organizationUrl>http://pivotallabs.com/</organizationUrl>
279 <roles>
280 <role>Developer</role>
281 </roles>
282 <timezone>PST/PDT</timezone>
283 </developer>
284 </developers>
285
286 <mailingLists>
287 <mailingList>
288 <name>User List</name>
289 <post>robolectric@googlegroups.com</post>
290 <archive>http://groups.google.com/group/robolectric</archive>
291 </mailingList>
292 </mailingLists>
293
294 <licenses>
295 <license>
296 <name>MIT license</name>
297 <comments>
298 The MIT License
299
300 Copyright (c) 2010 Xtreme Labs and Pivotal Labs
301
302 Permission is hereby granted, free of charge, to any person obtaining a copy
303 of this software and associated documentation files (the "Software"), to deal
304 in the Software without restriction, including without limitation the rights
305 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
306 copies of the Software, and to permit persons to whom the Software is
307 furnished to do so, subject to the following conditions:
308
309 The above copyright notice and this permission notice shall be included in
310 all copies or substantial portions of the Software.
311
312 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
313 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
314 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
315 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
316 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
317 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
318 THE SOFTWARE.
319 </comments>
320 </license>
321 </licenses>
Macarse902467c2010-11-25 11:09:14 -0300322</project>