Home | History | Annotate | Download | only in 0.11
      1 <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">
      2   <modelVersion>4.0.0</modelVersion>
      3 
      4   <parent>
      5     <groupId>org.sonatype.oss</groupId>
      6     <artifactId>oss-parent</artifactId>
      7     <version>7</version>
      8   </parent>
      9 
     10   <groupId>com.google.testing.compile</groupId>
     11   <artifactId>compile-testing</artifactId>
     12   <version>0.11</version>
     13 
     14   <name>Compile Testing</name>
     15   <description>Utilities for testing compilation.</description>
     16 
     17   <properties>
     18     <auto-value.version>1.3</auto-value.version>
     19     <guava.version>21.0</guava.version>
     20     <truth.version>0.31</truth.version>
     21     <junit.version>4.12</junit.version>
     22     <jsr305.version>3.0.1</jsr305.version>
     23   </properties>
     24 
     25   <url>http://github.com/google/compile-testing</url>
     26   <issueManagement>
     27     <system>GitHub</system>
     28     <url>http://github.com/google/compile-testing/issues</url>
     29   </issueManagement>
     30   <inceptionYear>2013</inceptionYear>
     31   <licenses>
     32     <license>
     33       <name>The Apache Software License, Version 2.0</name>
     34       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
     35       <distribution>repo</distribution>
     36     </license>
     37   </licenses>
     38   <prerequisites>
     39     <maven>3.1.1</maven>
     40   </prerequisites>
     41   <scm>
     42     <connection>scm:git:http://github.com/google/compile-testing</connection>
     43     <developerConnection>scm:git:git (a] github.com:google/compile-testing.git</developerConnection>
     44     <url>http://github.com/google/compile-testing</url>
     45     <tag>HEAD</tag>
     46   </scm>
     47   <dependencies>
     48     <dependency>
     49       <groupId>junit</groupId>
     50       <artifactId>junit</artifactId>
     51       <version>${junit.version}</version>
     52     </dependency>
     53     <dependency>
     54       <groupId>com.google.truth</groupId>
     55       <artifactId>truth</artifactId>
     56       <version>${truth.version}</version>
     57     </dependency>
     58     <dependency>
     59       <groupId>com.google.truth.extensions</groupId>
     60       <artifactId>truth-java8-extension</artifactId>
     61       <version>${truth.version}</version>
     62     </dependency>
     63     <dependency>
     64       <groupId>com.google.guava</groupId>
     65       <artifactId>guava</artifactId>
     66       <version>${guava.version}</version>
     67     </dependency>
     68     <dependency>
     69       <groupId>com.sun</groupId>
     70       <artifactId>tools</artifactId>
     71       <version>${java.version}</version>
     72       <scope>system</scope>
     73       <systemPath>${toolsjar}</systemPath>
     74     </dependency>
     75     <dependency>
     76       <groupId>com.google.code.findbugs</groupId>
     77       <artifactId>jsr305</artifactId>
     78       <version>${jsr305.version}</version>
     79       <optional>true</optional>
     80     </dependency>
     81     <dependency>
     82       <groupId>com.google.errorprone</groupId>
     83       <artifactId>error_prone_annotations</artifactId>
     84       <version>2.0.8</version>
     85       <scope>provided</scope>
     86     </dependency>
     87     <dependency>
     88       <groupId>com.google.auto.value</groupId>
     89       <artifactId>auto-value</artifactId>
     90       <version>${auto-value.version}</version>
     91     </dependency>
     92   </dependencies>
     93   <build>
     94     <plugins>
     95       <plugin>
     96         <artifactId>maven-compiler-plugin</artifactId>
     97         <version>3.1</version>
     98         <configuration>
     99           <source>1.8</source>
    100           <target>1.8</target>
    101           <compilerArgument>-Xlint:all</compilerArgument>
    102           <showWarnings>true</showWarnings>
    103           <showDeprecation>true</showDeprecation>
    104         </configuration>
    105       </plugin>
    106       <plugin>
    107         <artifactId>maven-release-plugin</artifactId>
    108         <version>2.5.1</version>
    109         <configuration>
    110           <releaseProfiles>release</releaseProfiles>
    111           <goals>deploy</goals>
    112         </configuration>
    113       </plugin>
    114       <plugin>
    115         <artifactId>maven-jar-plugin</artifactId>
    116         <version>2.5</version>
    117       </plugin>
    118     </plugins>
    119   </build>
    120   <profiles>
    121     <profile>
    122       <id>default-profile</id>
    123       <activation>
    124         <activeByDefault>true</activeByDefault>
    125         <file>
    126           <exists>${java.home}/../lib/tools.jar</exists>
    127         </file>
    128       </activation>
    129       <properties>
    130         <toolsjar>${java.home}/../lib/tools.jar</toolsjar>
    131       </properties>
    132     </profile>
    133     <profile>
    134       <id>mac-profile</id>
    135       <activation>
    136         <activeByDefault>false</activeByDefault>
    137         <file>
    138           <exists>${java.home}/../Classes/classes.jar</exists>
    139         </file>
    140       </activation>
    141       <properties>
    142         <toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
    143       </properties>
    144     </profile>
    145     <profile>
    146       <id>release</id>
    147       <activation>
    148         <activeByDefault>false</activeByDefault>
    149       </activation>
    150       <build>
    151         <plugins>
    152           <plugin>
    153             <artifactId>maven-gpg-plugin</artifactId>
    154             <version>1.4</version>
    155             <executions>
    156               <execution>
    157                 <id>sign-artifacts</id>
    158                 <phase>verify</phase>
    159                 <goals><goal>sign</goal></goals>
    160               </execution>
    161             </executions>
    162           </plugin>
    163           <plugin>
    164             <artifactId>maven-source-plugin</artifactId>
    165             <version>2.1.2</version>
    166             <executions>
    167               <execution>
    168                 <id>attach-sources</id>
    169                 <goals><goal>jar</goal></goals>
    170               </execution>
    171             </executions>
    172           </plugin>
    173           <plugin>
    174             <artifactId>maven-javadoc-plugin</artifactId>
    175             <version>2.8</version>
    176             <executions>
    177               <execution>
    178                 <id>attach-docs</id>
    179                 <goals><goal>jar</goal></goals>
    180               </execution>
    181             </executions>
    182           </plugin>
    183         </plugins>
    184       </build>
    185     </profile>
    186   </profiles>
    187 </project>
    188