pom.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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/maven-v4_0_0.xsd">
  3. <!--
  4. /**
  5. * Licensed to the Apache Software Foundation (ASF) under one
  6. * or more contributor license agreements. See the NOTICE file
  7. * distributed with this work for additional information
  8. * regarding copyright ownership. The ASF licenses this file
  9. * to you under the Apache License, Version 2.0 (the
  10. * "License"); you may not use this file except in compliance
  11. * with the License. You may obtain a copy of the License at
  12. *
  13. * http://www.apache.org/licenses/LICENSE-2.0
  14. *
  15. * Unless required by applicable law or agreed to in writing, software
  16. * distributed under the License is distributed on an "AS IS" BASIS,
  17. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18. * See the License for the specific language governing permissions and
  19. * limitations under the License.
  20. */
  21. -->
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>org.apache.zookeeper</groupId>
  25. <artifactId>parent</artifactId>
  26. <version>3.6.0-SNAPSHOT</version>
  27. <relativePath>..</relativePath>
  28. </parent>
  29. <groupId>org.apache.zookeeper</groupId>
  30. <artifactId>zookeeper-metrics-providers</artifactId>
  31. <packaging>pom</packaging>
  32. <name>Apache ZooKeeper - Metrics Providers</name>
  33. <description>ZooKeeper Metrics Providers</description>
  34. <modules>
  35. <module>zookeeper-prometheus-metrics</module>
  36. </modules>
  37. <build>
  38. <pluginManagement>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.apache.maven.plugins</groupId>
  42. <artifactId>maven-checkstyle-plugin</artifactId>
  43. <version>3.1.0</version>
  44. <dependencies>
  45. <dependency>
  46. <groupId>com.puppycrawl.tools</groupId>
  47. <artifactId>checkstyle</artifactId>
  48. <version>${checkstyle.version}</version>
  49. </dependency>
  50. </dependencies>
  51. <configuration>
  52. <configLocation>checkstyle-strict.xml</configLocation>
  53. <suppressionsLocation>checkstyleSuppressions.xml</suppressionsLocation>
  54. <encoding>UTF-8</encoding>
  55. <consoleOutput>true</consoleOutput>
  56. <failOnViolation>true</failOnViolation>
  57. <includeResources>false</includeResources>
  58. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  59. </configuration>
  60. <executions>
  61. <execution>
  62. <id>checkstyle</id>
  63. <phase>validate</phase>
  64. <goals>
  65. <goal>check</goal>
  66. </goals>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. </plugins>
  71. </pluginManagement>
  72. </build>
  73. </project>