| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2012 Square, Inc. |
| Copyright (C) 2012 Google, Inc. |
| |
| 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>com.squareup</groupId> |
| <artifactId>dagger-parent</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>dagger-compiler</artifactId> |
| <name>Dagger Compiler</name> |
| <description> |
| Tools to generate Dagger injection and module adapters from annotated code and validate them. |
| </description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>dagger</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easytesting</groupId> |
| <artifactId>fest-assert</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <compilerArgument>-proc:none</compilerArgument> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <configuration> |
| <addTestClassPath>true</addTestClassPath> |
| <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> |
| <pomIncludes> |
| <pomInclude>*/pom.xml</pomInclude> |
| </pomIncludes> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <postBuildHookScript>verify</postBuildHookScript> |
| <filterProperties> |
| <dagger.version>${project.version}</dagger.version> |
| </filterProperties> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |