1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3  Copyright 2013 Google LLC
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<!-- TODO(gak): see if we can manage these dependencies any better -->
18<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20  <modelVersion>4.0.0</modelVersion>
21
22  <parent>
23    <groupId>com.google.auto.value</groupId>
24    <artifactId>auto-value-parent</artifactId>
25    <version>1.7.4</version>
26    <relativePath>../../../pom.xml</relativePath>
27  </parent>
28  <url>https://github.com/google/auto/tree/master/value</url>
29
30  <groupId>com.google.auto.value.it.functional</groupId>
31  <artifactId>functional</artifactId>
32  <version>1.7.4</version>
33  <name>Auto-Value Functional Integration Test</name>
34  <properties>
35    <exclude.tests>this-matches-nothing</exclude.tests>
36  </properties>
37  <dependencies>
38    <dependency>
39      <groupId>com.google.auto.value</groupId>
40      <artifactId>auto-value-annotations</artifactId>
41      <version>${project.version}</version>
42    </dependency>
43    <dependency>
44      <groupId>com.google.auto.value</groupId>
45      <artifactId>auto-value</artifactId>
46      <version>${project.version}</version>
47    </dependency>
48    <dependency>
49      <groupId>com.google.auto.service</groupId>
50      <artifactId>auto-service</artifactId>
51      <version>1.0-rc6</version>
52    </dependency>
53    <dependency>
54      <groupId>com.google.guava</groupId>
55      <artifactId>guava</artifactId>
56    </dependency>
57    <dependency>
58      <groupId>com.google.code.findbugs</groupId>
59      <artifactId>jsr305</artifactId>
60      <scope>provided</scope>
61    </dependency>
62    <dependency>
63      <groupId>com.google.gwt</groupId>
64      <artifactId>gwt-user</artifactId>
65      <version>2.8.2</version>
66    </dependency>
67    <dependency>
68      <groupId>junit</groupId>
69      <artifactId>junit</artifactId>
70      <scope>test</scope>
71    </dependency>
72    <dependency>
73      <groupId>com.google.guava</groupId>
74      <artifactId>guava-testlib</artifactId>
75      <scope>test</scope>
76    </dependency>
77    <dependency>
78      <groupId>com.google.truth</groupId>
79      <artifactId>truth</artifactId>
80      <scope>test</scope>
81    </dependency>
82    <dependency>
83      <groupId>com.google.truth.extensions</groupId>
84      <artifactId>truth-java8-extension</artifactId>
85      <scope>test</scope>
86    </dependency>
87    <dependency>
88      <groupId>com.google.testing.compile</groupId>
89      <artifactId>compile-testing</artifactId>
90      <scope>test</scope>
91    </dependency>
92    <dependency>
93      <groupId>org.mockito</groupId>
94      <artifactId>mockito-core</artifactId>
95      <version>3.1.0</version>
96      <scope>test</scope>
97    </dependency>
98    <dependency>
99      <groupId>org.eclipse.jdt</groupId>
100      <artifactId>ecj</artifactId>
101      <version>3.20.0</version>
102    </dependency>
103    <dependency>
104      <groupId>com.google.escapevelocity</groupId>
105      <artifactId>escapevelocity</artifactId>
106      <version>0.9.1</version>
107    </dependency>
108  </dependencies>
109
110  <build>
111    <plugins>
112      <plugin>
113        <groupId>org.apache.maven.plugins</groupId>
114        <artifactId>maven-jar-plugin</artifactId>
115       <version>3.0.2</version>
116      </plugin>
117      <plugin>
118        <groupId>org.apache.maven.plugins</groupId>
119        <artifactId>maven-compiler-plugin</artifactId>
120        <version>3.7.0</version>
121        <dependencies>
122          <dependency>
123            <groupId>org.codehaus.plexus</groupId>
124            <artifactId>plexus-java</artifactId>
125            <version>0.9.4</version>
126          </dependency>
127        </dependencies>
128        <configuration>
129          <source>${java.specification.version}</source>
130          <target>${java.specification.version}</target>
131          <compilerArgs>
132            <arg>-Xlint:all</arg>
133            <arg>-encoding</arg>
134            <arg>utf8</arg>
135          </compilerArgs>
136          <showWarnings>true</showWarnings>
137          <showDeprecation>true</showDeprecation>
138          <testExcludes>
139            <exclude>${exclude.tests}</exclude>
140          </testExcludes>
141        </configuration>
142      </plugin>
143      <plugin>
144        <groupId>org.apache.maven.plugins</groupId>
145        <artifactId>maven-deploy-plugin</artifactId>
146        <version>2.7</version>
147        <configuration>
148          <!-- Build/test, but don't deploy -->
149          <skip>true</skip>
150        </configuration>
151      </plugin>
152    </plugins>
153  </build>
154
155  <profiles>
156    <profile>
157      <id>eclipse</id>
158      <build>
159        <plugins>
160          <plugin>
161            <groupId>org.apache.maven.plugins</groupId>
162            <artifactId>maven-compiler-plugin</artifactId>
163            <version>3.7.0</version>
164            <dependencies>
165              <dependency>
166                <groupId>org.codehaus.plexus</groupId>
167                <artifactId>plexus-java</artifactId>
168                <version>0.9.4</version>
169              </dependency>
170            </dependencies>
171            <configuration>
172              <source>${java.specification.version}</source>
173              <target>${java.specification.version}</target>
174              <compilerArgs>
175                <arg>-Xlint:all</arg>
176                <arg>-encoding</arg>
177                <arg>utf8</arg>
178              </compilerArgs>
179              <showWarnings>true</showWarnings>
180              <showDeprecation>true</showDeprecation>
181              <testExcludes>
182                <exclude>${exclude.tests}</exclude>
183              </testExcludes>
184            </configuration>
185          </plugin>
186        </plugins>
187      </build>
188    </profile>
189    <profile>
190      <id>exclude-java8-tests</id>
191      <activation>
192        <jdk>(,1.7]</jdk>
193      </activation>
194      <properties>
195        <exclude.tests>**/AutoValueJava8Test.java</exclude.tests>
196      </properties>
197    </profile>
198  </profiles>
199</project>
200