| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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>org.apache.bookkeeper.tests</groupId> |
| <artifactId>tests-parent</artifactId> |
| <version>4.6.3-SNAPSHOT</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <artifactId>bookkeeper-server-shaded-test</artifactId> |
| <name>Apache BookKeeper :: Tests :: bookkeeper-server-shaded test</name> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.bookkeeper</groupId> |
| <artifactId>bookkeeper-server-shaded</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <!-- when running `mvn install` in the whole project, |
| it will still reference none dependency-reduced |
| pom file. so exclude these dependencies explicitly |
| to verify protobuf and guava classes have been relocated --> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.github.spotbugs</groupId> |
| <artifactId>spotbugs-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven-checkstyle-plugin.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>${puppycrawl.checkstyle.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.bookkeeper</groupId> |
| <artifactId>buildtools</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <configLocation>bookkeeper/checkstyle.xml</configLocation> |
| <suppressionsLocation>bookkeeper/suppressions.xml</suppressionsLocation> |
| <consoleOutput>true</consoleOutput> |
| <failOnViolation>true</failOnViolation> |
| <includeResources>false</includeResources> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |