1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright (C) 2012 Square, Inc. 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 <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"> 18 <modelVersion>4.0.0</modelVersion> 19 20 <parent> 21 <groupId>com.google.dagger</groupId> 22 <artifactId>dagger-parent</artifactId> 23 <version>2.1-SNAPSHOT</version> 24 </parent> 25 26 <artifactId>dagger</artifactId> 27 <name>Dagger</name> 28 29 <properties> 30 <!-- Runtime must remain Java6 to support android. --> 31 <java.version>1.6</java.version> 32 </properties> 33 34 <dependencies> 35 <dependency> 36 <groupId>javax.inject</groupId> 37 <artifactId>javax.inject</artifactId> 38 </dependency> 39 40 <dependency> 41 <groupId>com.google.guava</groupId> 42 <artifactId>guava</artifactId> 43 <scope>test</scope> 44 </dependency> 45 <dependency> 46 <groupId>junit</groupId> 47 <artifactId>junit</artifactId> 48 <scope>test</scope> 49 </dependency> 50 <dependency> 51 <groupId>com.google.truth</groupId> 52 <artifactId>truth</artifactId> 53 <scope>test</scope> 54 </dependency> 55 </dependencies> 56 57 <build> 58 <plugins> 59 <plugin> 60 <groupId>org.codehaus.mojo</groupId> 61 <artifactId>animal-sniffer-maven-plugin</artifactId> 62 <version>1.8</version><!-- 1.9+ requires JDK7 on the build machine --> 63 <executions> 64 <execution> 65 <id>sniff-api</id> 66 <goals><goal>check</goal></goals> 67 </execution> 68 </executions> 69 <configuration> 70 <signature> 71 <groupId>org.codehaus.mojo.signature</groupId> 72 <artifactId>java16</artifactId> 73 <version>1.0</version> 74 </signature> 75 </configuration> 76 </plugin> 77 <plugin> 78 <artifactId>maven-javadoc-plugin</artifactId> 79 <configuration> 80 <excludePackageNames>dagger.internal:dagger.internal.*</excludePackageNames> 81 </configuration> 82 </plugin> 83 <plugin> 84 <artifactId>maven-jar-plugin</artifactId> 85 <executions> 86 <execution> 87 <goals> 88 <goal>test-jar</goal> 89 </goals> 90 </execution> 91 </executions> 92 </plugin> 93 </plugins> 94 </build> 95 </project> 96