| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2012 The Dagger Authors. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.sonatype.oss</groupId> |
| <artifactId>oss-parent</artifactId> |
| <version>7</version> |
| </parent> |
| |
| <groupId>com.google.dagger</groupId> |
| <artifactId>dagger-parent</artifactId> |
| <packaging>pom</packaging> |
| <version>HEAD-SNAPSHOT</version> |
| <name>Dagger (Parent)</name> |
| <description>A fast dependency injector for Android and Java.</description> |
| <url>https://github.com/google/dagger</url> |
| |
| <modules> |
| <module>android</module> |
| <module>compiler</module> |
| <module>core</module> |
| <module>gwt</module> |
| <!-- examples are handled in a default profile (see below) --> |
| <module>producers</module> |
| </modules> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <android.support.version>24.2.0</android.support.version> |
| <android.latest.version>25</android.latest.version> |
| </properties> |
| |
| <scm> |
| <url>http://github.com/google/dagger/</url> |
| <connection>scm:git:git://github.com/google/dagger.git</connection> |
| <developerConnection>scm:git:ssh://git@github.com/google/dagger.git</developerConnection> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <issueManagement> |
| <system>GitHub Issues</system> |
| <url>http://github.com/google/dagger/issues</url> |
| </issueManagement> |
| |
| <licenses> |
| <license> |
| <name>Apache 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Google, Inc.</name> |
| <url>http://www.google.com</url> |
| </organization> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <classifier>sources</classifier> |
| <version>1</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject-tck</artifactId> |
| <version>1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>3.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>20.0-rc1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava-testlib</artifactId> |
| <version>20.0-rc1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.googlejavaformat</groupId> |
| <artifactId>google-java-format</artifactId> |
| <version>1.2</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.auto</groupId> |
| <artifactId>auto-common</artifactId> |
| <version>0.8</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.auto.factory</groupId> |
| <artifactId>auto-factory</artifactId> |
| <version>1.0-beta3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.auto.service</groupId> |
| <artifactId>auto-service</artifactId> |
| <version>1.0-rc2</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.auto.value</groupId> |
| <artifactId>auto-value</artifactId> |
| <version>1.4-rc1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_annotations</artifactId> |
| <version>2.0.12</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.testing.compile</groupId> |
| <artifactId>compile-testing</artifactId> |
| <version>0.10</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>1.9.5</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.truth</groupId> |
| <artifactId>truth</artifactId> |
| <version>0.30</version> |
| </dependency> |
| <dependency> |
| <groupId>com.squareup</groupId> |
| <artifactId>javapoet</artifactId> |
| <version>1.7.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.android</groupId> |
| <artifactId>android</artifactId> |
| <version>4.1.1.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.android.support</groupId> |
| <artifactId>support-v4</artifactId> |
| <version>${android.support.version}</version> |
| <type>aar</type> |
| </dependency> |
| <dependency> |
| <groupId>com.android.support</groupId> |
| <artifactId>support-annotations</artifactId> |
| <version>${android.support.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.7</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.7</source> |
| <target>1.7</target> |
| <compilerArgument>-Xlint:all</compilerArgument> |
| <showWarnings>true</showWarnings> |
| <showDeprecation>true</showDeprecation> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.3.2</version><!--$NO-MVN-MAN-VER$--> |
| <configuration> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.4</version> |
| <configuration> |
| <windowtitle>Dagger Dependency Injection ${project.version} API</windowtitle> |
| <doctitle>Dagger Dependency Injection ${project.version} API</doctitle> |
| <docfilessubdirs>true</docfilessubdirs> |
| <additionalparam>-Xdoclint:html,reference,syntax</additionalparam> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.simpligility.maven.plugins</groupId> |
| <artifactId>android-maven-plugin</artifactId> |
| <version>4.4.3</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- |
| A profile which when switched off excludes example modules. By default the profile |
| is on and invokes examples. However, when processing javadocs, it is switched off |
| omitting the example code from the javadoc. |
| --> |
| <profiles> |
| <profile> |
| <id>examples</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <modules> |
| <module>android</module> |
| <module>core</module> |
| <module>compiler</module> |
| <module>gwt</module> |
| <module>examples</module> |
| <module>producers</module> |
| </modules> |
| </profile> |
| </profiles> |
| </project> |