| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright 2016 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"> | |
| <parent> | |
| <artifactId>error_prone_parent</artifactId> | |
| <groupId>com.google.errorprone</groupId> | |
| <version>1.0-HEAD-SNAPSHOT</version> | |
| </parent> | |
| <modelVersion>4.0.0</modelVersion> | |
| <artifactId>error_prone_refaster</artifactId> | |
| <name>Refaster rule compiler</name> | |
| <licenses> | |
| <license> | |
| <name>Apache 2.0</name> | |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
| </license> | |
| </licenses> | |
| <dependencies> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.errorprone</groupId> | |
| <artifactId>error_prone_core</artifactId> | |
| <version>${project.version}</version> | |
| <classifier>with-dependencies</classifier> | |
| <scope>compile</scope> | |
| </dependency> | |
| <dependency> | |
| <!-- Apache 2.0 --> | |
| <groupId>com.google.auto.service</groupId> | |
| <artifactId>auto-service-annotations</artifactId> | |
| <version>${autoservice.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <annotationProcessorPaths> | |
| <path> | |
| <groupId>com.google.auto.service</groupId> | |
| <artifactId>auto-service</artifactId> | |
| <version>${autoservice.version}</version> | |
| </path> | |
| </annotationProcessorPaths> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>shade</goal> | |
| </goals> | |
| <configuration> | |
| <createDependencyReducedPom>false</createDependencyReducedPom> | |
| <artifactSet> | |
| <!-- Include only dependencies with compatible licenses. | |
| Apache, BSD, and MIT are OK; others are not. --> | |
| <includes> | |
| <include>com.google.errorprone:error_prone_core:with-dependencies</include> | |
| </includes> | |
| </artifactSet> | |
| <transformers> | |
| <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
| <mainClass>com.google.errorprone.refaster.RefasterRuleCompiler</mainClass> | |
| </transformer> | |
| </transformers> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |