| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright 2011 The Error Prone Authors. | |
| 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/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>com.google.errorprone</groupId> | |
| <artifactId>error_prone_parent</artifactId> | |
| <version>1.0-HEAD-SNAPSHOT</version> | |
| </parent> | |
| <name>error-prone check api</name> | |
| <artifactId>error_prone_check_api</artifactId> | |
| <licenses> | |
| <license> | |
| <name>Apache 2.0</name> | |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| </license> | |
| </licenses> | |
| <dependencies> | |
| <!-- If you add a dependency, please also add a comment with the license | |
| as the existing examples do. --> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.errorprone</groupId> | |
| <artifactId>error_prone_annotation</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>org.jspecify</groupId> | |
| <artifactId>jspecify</artifactId> | |
| <version>${jspecify.version}</version> | |
| </dependency> | |
| <dependency> | |
| <!-- GPLv2 with Classpath Exception --> | |
| <groupId>io.github.eisop</groupId> | |
| <artifactId>dataflow-errorprone</artifactId> | |
| <version>${dataflow.version}</version> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>io.github.java-diff-utils</groupId> | |
| <artifactId>java-diff-utils</artifactId> | |
| <version>4.12</version> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.auto.value</groupId> | |
| <artifactId>auto-value-annotations</artifactId> | |
| <version>${autovalue.version}</version> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.errorprone</groupId> | |
| <artifactId>error_prone_annotations</artifactId> | |
| <version>${project.version}</version> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Eclipse Public License 1.0 --> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>${junit.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- BSD New (3 clause) --> | |
| <groupId>org.hamcrest</groupId> | |
| <artifactId>hamcrest-core</artifactId> | |
| <version>2.2</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.truth</groupId> | |
| <artifactId>truth</artifactId> | |
| <version>${truth.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.truth.extensions</groupId> | |
| <artifactId>truth-java8-extension</artifactId> | |
| <version>${truth.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- MIT --> | |
| <groupId>org.mockito</groupId> | |
| <artifactId>mockito-core</artifactId> | |
| <version>${mockito.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava-testlib</artifactId> | |
| <version>${guava.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- MIT --> | |
| <groupId>com.github.kevinstern</groupId> | |
| <artifactId>software-and-algorithms</artifactId> | |
| <version>1.0</version> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.github.ben-manes.caffeine</groupId> | |
| <artifactId>caffeine</artifactId> | |
| <version>${caffeine.version}</version> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.jimfs</groupId> | |
| <artifactId>jimfs</artifactId> | |
| <version>1.3.0</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>javax.inject</groupId> | |
| <artifactId>javax.inject</artifactId> | |
| <version>1</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <annotationProcessorPaths> | |
| <path> | |
| <groupId>com.google.auto.value</groupId> | |
| <artifactId>auto-value</artifactId> | |
| <version>${autovalue.version}</version> | |
| </path> | |
| <path> | |
| <groupId>com.google.auto.service</groupId> | |
| <artifactId>auto-service</artifactId> | |
| <version>${autoservice.version}</version> | |
| </path> | |
| </annotationProcessorPaths> | |
| <testExcludes> | |
| <!-- TODO(b/172597965): maven sees a cycle here since test_helpers depends on check_api --> | |
| <testExclude>**/ASTHelpersFindSuperMethodsTest.java</testExclude> | |
| <testExclude>**/ASTHelpersTest.java</testExclude> | |
| <testExclude>**/CommentsTest.java</testExclude> | |
| <testExclude>**/FindIdentifiersTest.java</testExclude> | |
| <testExclude>**/MoreAnnotationsTest.java</testExclude> | |
| <testExclude>**/ReachabilityTest.java</testExclude> | |
| <testExclude>**/TargetTypeTest.java</testExclude> | |
| </testExcludes> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>default-compile</id> | |
| <configuration> | |
| <jdkToolchain> | |
| <version>17</version> | |
| </jdkToolchain> | |
| </configuration> | |
| </execution> | |
| <execution> | |
| <id>java24</id> | |
| <configuration> | |
| <jdkToolchain> | |
| <version>24</version> | |
| </jdkToolchain> | |
| <compileSourceRoots> | |
| <compileSourceRoot>${basedir}/src/main/java24</compileSourceRoot> | |
| </compileSourceRoots> | |
| <!-- multiReleaseOutput requires setting release --> | |
| <outputDirectory>${project.build.outputDirectory}/META-INF/versions/24</outputDirectory> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |