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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3    <modelVersion>4.0.0</modelVersion>
4
5    <parent>
6        <groupId>org.sonatype.oss</groupId>
7        <artifactId>oss-parent</artifactId>
8        <version>5</version>
9    </parent>
10
11    <groupId>com.pivotallabs</groupId>
12    <artifactId>robolectric</artifactId>
13    <version>1.2-SNAPSHOT</version>
14    <packaging>jar</packaging>
15    <name>Robolectric</name>
16    <description>An alternative Android testing framework.</description>
17    <url>http://pivotal.github.com/robolectric/</url>
18
19    <dependencies>
20        <dependency>
21            <groupId>org.hamcrest</groupId>
22            <artifactId>hamcrest-core</artifactId>
23            <version>1.2</version>
24            <scope>provided</scope>
25        </dependency>
26
27        <dependency>
28            <groupId>junit</groupId>
29            <artifactId>junit-dep</artifactId>
30            <version>4.8.2</version>
31            <scope>provided</scope>
32        </dependency>
33
34        <dependency>
35            <groupId>org.objenesis</groupId>
36            <artifactId>objenesis</artifactId>
37            <version>1.0</version>
38        </dependency>
39
40        <dependency>
41            <groupId>org.xerial</groupId>
42            <artifactId>sqlite-jdbc</artifactId>
43            <version>3.7.2</version>
44        </dependency>
45
46        <dependency>
47            <groupId>com.h2database</groupId>
48            <artifactId>h2</artifactId>
49            <version>1.2.147</version>
50            <scope>test</scope>
51        </dependency>
52
53        <dependency>
54            <groupId>org.javassist</groupId>
55            <artifactId>javassist</artifactId>
56            <version>3.14.0-GA</version>
57        </dependency>
58
59        <dependency>
60            <groupId>commons-logging</groupId>
61            <artifactId>commons-logging</artifactId>
62            <version>1.1.1</version>
63        </dependency>
64
65        <dependency>
66            <groupId>commons-codec</groupId>
67            <artifactId>commons-codec</artifactId>
68            <version>1.6</version>
69        </dependency>
70
71        <dependency>
72            <groupId>org.apache.httpcomponents</groupId>
73            <artifactId>httpclient</artifactId>
74            <version>4.0.3</version>
75        </dependency>
76
77        <dependency>
78            <groupId>android</groupId>
79            <artifactId>android</artifactId>
80            <version>4.3_r2</version>
81            <scope>provided</scope>
82        </dependency>
83
84        <dependency>
85            <groupId>com.google.android.maps</groupId>
86            <artifactId>maps</artifactId>
87            <version>18_r3</version>
88            <scope>provided</scope>
89        </dependency>
90
91        <dependency>
92            <groupId>com.google.android</groupId>
93            <artifactId>support-v4</artifactId>
94            <version>r6</version>
95        </dependency>
96
97        <dependency>
98            <groupId>org.mockito</groupId>
99            <artifactId>mockito-core</artifactId>
100            <version>1.8.5</version>
101            <scope>test</scope>
102        </dependency>
103    </dependencies>
104
105    <build>
106        <plugins>
107            <plugin>
108                <groupId>org.apache.maven.plugins</groupId>
109                <artifactId>maven-source-plugin</artifactId>
110                <version>2.1.2</version>
111                <configuration />
112                <executions>
113                    <execution>
114                        <id>attach-sources</id>
115                        <goals>
116                            <goal>jar</goal>
117                        </goals>
118                    </execution>
119                </executions>
120            </plugin>
121            <plugin>
122                <artifactId>maven-compiler-plugin</artifactId>
123                <version>2.3.2</version>
124                <configuration>
125                    <source>1.6</source>
126                    <target>1.6</target>
127                </configuration>
128            </plugin>
129            <plugin>
130                <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>
139
140            <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>
158			<!-- required for testing robolectric-sqlite -->
159            <plugin>
160                <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>
171
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>
186
187        </plugins>
188    </build>
189
190    <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>
207                                        <delete dir="${project.basedir}/lib/main" />
208                                        <mkdir dir="${project.basedir}/lib/main" />
209                                    </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
238    <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>
246        <url>http://ci.robolectric.org/job/robolectric</url>
247    </ciManagement>
248
249    <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>
322</project>
323