| <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/xsd/maven-4.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.testing.compile</groupId> |
| <artifactId>compile-testing</artifactId> |
| <version>0.19</version> |
| |
| <name>Compile Testing</name> |
| <description>Utilities for testing compilation.</description> |
| |
| <properties> |
| <truth.version>1.1</truth.version> |
| </properties> |
| |
| <url>http://github.com/google/compile-testing</url> |
| |
| <issueManagement> |
| <system>GitHub</system> |
| <url>http://github.com/google/compile-testing/issues</url> |
| </issueManagement> |
| |
| <inceptionYear>2013</inceptionYear> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <prerequisites> |
| <maven>3.5.0</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:git:http://github.com/google/compile-testing</connection> |
| <developerConnection>scm:git:git@github.com:google/compile-testing.git</developerConnection> |
| <url>http://github.com/google/compile-testing</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.1</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.truth</groupId> |
| <artifactId>truth</artifactId> |
| <version>${truth.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.truth.extensions</groupId> |
| <artifactId>truth-java8-extension</artifactId> |
| <version>${truth.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>30.0-jre</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>3.0.2</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.google.errorprone</groupId> |
| <artifactId>error_prone_annotations</artifactId> |
| <version>2.4.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.auto.value</groupId> |
| <artifactId>auto-value</artifactId> |
| <version>1.7.4</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.auto</groupId> |
| <artifactId>auto-common</artifactId> |
| <version>0.11</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.8.1</version> |
| <configuration> |
| <source>1.8</source> |
| <target>1.8</target> |
| <compilerArgument>-Xlint:all</compilerArgument> |
| <showWarnings>true</showWarnings> |
| <showDeprecation>true</showDeprecation> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-java</artifactId> |
| <version>1.0.5</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.5.3</version> |
| <configuration> |
| <releaseProfiles>release</releaseProfiles> |
| <goals>deploy</goals> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>3.2.0</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.2.0</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.9.1</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>tools-jar</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <file> |
| <exists>${java.home}/../lib/tools.jar</exists> |
| </file> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun</groupId> |
| <artifactId>tools</artifactId> |
| <version>${java.version}</version> |
| <scope>system</scope> |
| <systemPath>${java.home}/../lib/tools.jar</systemPath> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>classes-jar</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <file> |
| <exists>${java.home}/../Classes/classes.jar</exists> |
| </file> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>com.sun</groupId> |
| <artifactId>tools</artifactId> |
| <version>${java.version}</version> |
| <scope>system</scope> |
| <!-- TODO(dpb): Do we really need this? Isn't classes.jar always on the classpath? --> |
| <!-- TODO(dpb): Is classes.jar obsolete on the Mac? --> |
| <systemPath>${java.home}/../Classes/classes.jar</systemPath> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>release</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.6</version> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals><goal>sign</goal></goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>3.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals><goal>jar</goal></goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>3.2.0</version> |
| <executions> |
| <execution> |
| <id>attach-docs</id> |
| <goals><goal>jar</goal></goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |