pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. </parent>
  28. <groupId>org.apache.zookeeper</groupId>
  29. <artifactId>zookeeper-contrib</artifactId>
  30. <packaging>pom</packaging>
  31. <name>Apache ZooKeeper - Contrib</name>
  32. <description>
  33. Contrib projects to Apache ZooKeeper
  34. </description>
  35. <modules>
  36. <module>zookeeper-contrib-loggraph</module>
  37. <module>zookeeper-contrib-rest</module>
  38. <module>zookeeper-contrib-zooinspector</module>
  39. </modules>
  40. <build>
  41. <pluginManagement>
  42. <plugins>
  43. <plugin>
  44. <groupId>com.github.spotbugs</groupId>
  45. <artifactId>spotbugs-maven-plugin</artifactId>
  46. <version>3.1.9</version>
  47. <configuration>
  48. <!-- No spotbugs for contrib modules -->
  49. <skip>true</skip>
  50. </configuration>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-compiler-plugin</artifactId>
  55. <configuration>
  56. <!-- no additional args for contrib -->
  57. <compilerArgs>
  58. <compilerArg>-Xlint:none</compilerArg>
  59. </compilerArgs>
  60. </configuration>
  61. </plugin>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-checkstyle-plugin</artifactId>
  65. <version>3.1.0</version>
  66. <dependencies>
  67. <dependency>
  68. <groupId>com.puppycrawl.tools</groupId>
  69. <artifactId>checkstyle</artifactId>
  70. <version>${checkstyle.version}</version>
  71. </dependency>
  72. </dependencies>
  73. <configuration>
  74. <configLocation>checkstyle-simple.xml</configLocation>
  75. <suppressionsLocation>checkstyleSuppressions.xml</suppressionsLocation>
  76. <encoding>UTF-8</encoding>
  77. <consoleOutput>true</consoleOutput>
  78. <failOnViolation>true</failOnViolation>
  79. <includeResources>false</includeResources>
  80. <includeTestSourceDirectory>true</includeTestSourceDirectory>
  81. <includeTestResources>false</includeTestResources>
  82. </configuration>
  83. <executions>
  84. <execution>
  85. <id>checkstyle</id>
  86. <phase>validate</phase>
  87. <goals>
  88. <goal>check</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </pluginManagement>
  95. </build>
  96. </project>