pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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>zookeeper-contrib</artifactId>
  26. <version>3.10.0-SNAPSHOT</version>
  27. </parent>
  28. <artifactId>zookeeper-contrib-zooinspector</artifactId>
  29. <packaging>jar</packaging>
  30. <name>Apache ZooKeeper - Contrib - ZooInspector</name>
  31. <description>
  32. ZooInspector is a Java Swing based application for browsing and editing ZooKeeper instances.
  33. </description>
  34. <properties>
  35. <rat.version>0.6</rat.version>
  36. <guava.version>18.0</guava.version>
  37. </properties>
  38. <build>
  39. <!-- Ensure "icons" directory is available in built JAR -->
  40. <resources>
  41. <resource>
  42. <directory>src/main/resources</directory>
  43. <includes>
  44. <include>**/*</include>
  45. </includes>
  46. </resource>
  47. </resources>
  48. <!-- Allow building of standalone single "fat" jar with all dependencies that allows
  49. ZooInspector to build and run standalone. -->
  50. <plugins>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-assembly-plugin</artifactId>
  54. <version>3.1.1</version>
  55. <configuration>
  56. <descriptorRefs>
  57. <descriptorRef>jar-with-dependencies</descriptorRef>
  58. </descriptorRefs>
  59. <!-- Make the JAR executable via java -jar -->
  60. <archive>
  61. <manifest>
  62. <mainClass>org.apache.zookeeper.inspector.ZooInspector</mainClass>
  63. </manifest>
  64. </archive>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <id>make-assembly</id>
  69. <phase>package</phase>
  70. <goals>
  71. <goal>single</goal>
  72. </goals>
  73. </execution>
  74. </executions>
  75. </plugin>
  76. </plugins>
  77. </build>
  78. <dependencies>
  79. <dependency>
  80. <groupId>org.apache.zookeeper</groupId>
  81. <artifactId>zookeeper</artifactId>
  82. <version>${project.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.slf4j</groupId>
  86. <artifactId>slf4j-api</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>ch.qos.logback</groupId>
  90. <artifactId>logback-core</artifactId>
  91. <exclusions>
  92. <exclusion>
  93. <groupId>*</groupId>
  94. <artifactId>*</artifactId>
  95. </exclusion>
  96. </exclusions>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.junit.vintage</groupId>
  100. <artifactId>junit-vintage-engine</artifactId>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.google.guava</groupId>
  105. <artifactId>guava</artifactId>
  106. <version>${guava.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.apache.rat</groupId>
  110. <artifactId>apache-rat-tasks</artifactId>
  111. <version>${rat.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.mockito</groupId>
  115. <artifactId>mockito-core</artifactId>
  116. <scope>test</scope>
  117. </dependency>
  118. </dependencies>
  119. </project>