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>com.google.android</groupId> 79 <artifactId>android</artifactId> 80 <version>4.1.1.4</version> 81 <!-- <version>4.0.1.2</version> --> 82 <scope>provided</scope> 83 </dependency> 84 85 <dependency> 86 <groupId>com.google.android.maps</groupId> 87 <artifactId>maps</artifactId> 88 <version>10_r2</version> 89 <scope>provided</scope> 90 </dependency> 91 92 <dependency> 93 <groupId>com.google.android</groupId> 94 <artifactId>support-v4</artifactId> 95 <version>r6</version> 96 </dependency> 97 98 <dependency> 99 <groupId>org.mockito</groupId> 100 <artifactId>mockito-core</artifactId> 101 <version>1.8.5</version> 102 <scope>test</scope> 103 </dependency> 104 </dependencies> 105 106 <build> 107 <plugins> 108 <plugin> 109 <groupId>org.apache.maven.plugins</groupId> 110 <artifactId>maven-source-plugin</artifactId> 111 <version>2.1.2</version> 112 <configuration /> 113 <executions> 114 <execution> 115 <id>attach-sources</id> 116 <goals> 117 <goal>jar</goal> 118 </goals> 119 </execution> 120 </executions> 121 </plugin> 122 <plugin> 123 <artifactId>maven-compiler-plugin</artifactId> 124 <version>2.3.2</version> 125 <configuration> 126 <source>1.6</source> 127 <target>1.6</target> 128 </configuration> 129 </plugin> 130 <plugin> 131 <groupId>org.apache.maven.plugins</groupId> 132 <artifactId>maven-surefire-plugin</artifactId> 133 <version>2.6</version> 134 <configuration> 135 <excludes> 136 <exclude>**/Test*.java</exclude> 137 </excludes> 138 </configuration> 139 </plugin> 140 141 <plugin> 142 <artifactId>maven-assembly-plugin</artifactId> 143 <version>2.2</version> 144 <configuration> 145 <descriptorRefs> 146 <descriptorRef>jar-with-dependencies</descriptorRef> 147 </descriptorRefs> 148 </configuration> 149 <executions> 150 <execution> 151 <id>make-assembly</id> 152 <phase>package</phase> 153 <goals> 154 <goal>single</goal> 155 </goals> 156 </execution> 157 </executions> 158 </plugin> 159 <!-- required for testing robolectric-sqlite --> 160 <plugin> 161 <groupId>org.apache.maven.plugins</groupId> 162 <artifactId>maven-jar-plugin</artifactId> 163 <version>2.3.1</version> 164 <executions> 165 <execution> 166 <goals> 167 <goal>test-jar</goal> 168 </goals> 169 </execution> 170 </executions> 171 </plugin> 172 173 <plugin> 174 <artifactId>maven-clean-plugin</artifactId> 175 <version>2.4.1</version> 176 <configuration> 177 <filesets> 178 <fileset> 179 <directory>tmp</directory> 180 <includes> 181 <include>*</include> 182 </includes> 183 </fileset> 184 </filesets> 185 </configuration> 186 </plugin> 187 188 </plugins> 189 </build> 190 191 <profiles> 192 <profile> 193 <id>ant-deps</id> 194 <build> 195 <plugins> 196 <plugin> 197 <artifactId>maven-antrun-plugin</artifactId> 198 <version>1.6</version> 199 <executions> 200 <execution> 201 <id>clean-dependencies</id> 202 <phase>package</phase> 203 <goals> 204 <goal>run</goal> 205 </goals> 206 <configuration> 207 <target> 208 <delete dir="${project.basedir}/lib/main" /> 209 <mkdir dir="${project.basedir}/lib/main" /> 210 </target> 211 </configuration> 212 </execution> 213 </executions> 214 </plugin> 215 <plugin> 216 <artifactId>maven-dependency-plugin</artifactId> 217 <executions> 218 <execution> 219 <id>copy-dependencies</id> 220 <phase>package</phase> 221 <goals> 222 <goal>copy-dependencies</goal> 223 </goals> 224 <configuration> 225 <outputDirectory>${project.basedir}/lib/main</outputDirectory> 226 <overWriteReleases>false</overWriteReleases> 227 <overWriteSnapshots>false</overWriteSnapshots> 228 <overWriteIfNewer>true</overWriteIfNewer> 229 <excludeArtifactIds>android,maps,mockito-core</excludeArtifactIds> 230 </configuration> 231 </execution> 232 </executions> 233 </plugin> 234 </plugins> 235 </build> 236 </profile> 237 </profiles> 238 239 <scm> 240 <url>git (a] github.com:pivotal/robolectric.git</url> 241 <connection>scm:git:git://github.com/pivotal/robolectric.git</connection> 242 <developerConnection>scm:git:git (a] github.com:pivotal/robolectric.git</developerConnection> 243 </scm> 244 245 <ciManagement> 246 <system>Hudson</system> 247 <url>http://ci.robolectric.org/job/robolectric</url> 248 </ciManagement> 249 250 <developers> 251 <developer> 252 <id>xian</id> 253 <name>Christian Williams</name> 254 <email>xian (a] pivotallabs.com</email> 255 <organization>Pivotal Labs</organization> 256 <organizationUrl>http://pivotallabs.com/</organizationUrl> 257 <roles> 258 <role>Developer</role> 259 </roles> 260 <timezone>PST/PDT</timezone> 261 </developer> 262 <developer> 263 <id>tyler</id> 264 <name>Tyler Schultz</name> 265 <email>tyler (a] pivotallabs.com</email> 266 <organization>Pivotal Labs</organization> 267 <organizationUrl>http://pivotallabs.com/</organizationUrl> 268 <roles> 269 <role>Project Owner</role> 270 <role>Developer</role> 271 </roles> 272 <timezone>PST/PDT</timezone> 273 </developer> 274 <developer> 275 <id>phil</id> 276 <name>Phil Goodwin</name> 277 <email>phil (a] pivotallabs.com</email> 278 <organization>Pivotal Labs</organization> 279 <organizationUrl>http://pivotallabs.com/</organizationUrl> 280 <roles> 281 <role>Developer</role> 282 </roles> 283 <timezone>PST/PDT</timezone> 284 </developer> 285 </developers> 286 287 <mailingLists> 288 <mailingList> 289 <name>User List</name> 290 <post>robolectric (a] googlegroups.com</post> 291 <archive>http://groups.google.com/group/robolectric</archive> 292 </mailingList> 293 </mailingLists> 294 295 <licenses> 296 <license> 297 <name>MIT license</name> 298 <comments> 299 The MIT License 300 301 Copyright (c) 2010 Xtreme Labs and Pivotal Labs 302 303 Permission is hereby granted, free of charge, to any person obtaining a copy 304 of this software and associated documentation files (the "Software"), to deal 305 in the Software without restriction, including without limitation the rights 306 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 307 copies of the Software, and to permit persons to whom the Software is 308 furnished to do so, subject to the following conditions: 309 310 The above copyright notice and this permission notice shall be included in 311 all copies or substantial portions of the Software. 312 313 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 314 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 315 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 316 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 317 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 318 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 319 THE SOFTWARE. 320 </comments> 321 </license> 322 </licenses> 323 </project> 324