aboutsummaryrefslogtreecommitdiff
path: root/guava-bootstrap/pom.xml
blob: dc85efe2569a7804b8e5a7649224f5269d3d68d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<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.google.guava</groupId>
    <artifactId>guava-parent-jdk5</artifactId>
    <version>17.0</version>
  </parent>
  <artifactId>guava-bootstrap-jdk5</artifactId>
  <name>Guava Compilation Bootstrap Classes (JDK5 Backport)</name>
  <description>
    ExecutorService's type parameters changed between JDK5 and JDK6 in a
    way that makes it impossible for our invokeAll/invokeAny methods to
    match both at compile time. This project builds a JDK6-like copy of
    ExecutorService (but with JDK5 compiler settings to ensure that it will
    work with JRE5 at runtime). It also builds a version of
    AbstractExecutorService that is equivalent to a JDK5 version but using
    the JDK6 type parameters for the invokeAll/invokeAny methods just as with
    ExecutorService. This project's is then used in the bootstrap class path
    of Guava proper.
  </description>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-sources</id>
            <phase>post-integration-test</phase>
            <goals><goal>jar</goal></goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-docs</id>
            <phase>post-integration-test</phase>
            <goals><goal>jar</goal></goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
    <sourceDirectory>src</sourceDirectory>
  </build>
</project>