| <?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"> | |
| <parent> | |
| <artifactId>storm</artifactId> | |
| <groupId>org.apache.storm</groupId> | |
| <version>3.1.1-SNAPSHOT</version> | |
| <relativePath>../pom.xml</relativePath> | |
| </parent> | |
| <modelVersion>4.0.0</modelVersion> | |
| <artifactId>storm-server</artifactId> | |
| <name>Storm Server</name> | |
| <properties> | |
| <storm-server.test.introspection.argLine>--add-opens java.base/java.lang=ALL-UNNAMED</storm-server.test.introspection.argLine> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.storm</groupId> | |
| <artifactId>storm-client</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| <!-- | |
| Dependencies in addition to 'storm-client': | |
| Those dependencies should be added to topology uber jar without having 'storm-client', | |
| when user needs to include 'storm-server' to topology jar due to LocalCluster. | |
| --> | |
| <dependency> | |
| <groupId>io.dropwizard.metrics</groupId> | |
| <artifactId>metrics-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.dropwizard.metrics</groupId> | |
| <artifactId>metrics-jmx</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-exec</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-compress</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.auto.service</groupId> | |
| <artifactId>auto-service</artifactId> | |
| <optional>true</optional> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.rocksdb</groupId> | |
| <artifactId>rocksdbjni</artifactId> | |
| <version>${rocksdb-jni-version}</version> | |
| </dependency> | |
| <!-- jline is included to make the zk shell work through the cli for debugging --> | |
| <dependency> | |
| <groupId>jline</groupId> | |
| <artifactId>jline</artifactId> | |
| </dependency> | |
| <!-- servlet --> | |
| <dependency> | |
| <groupId>jakarta.servlet</groupId> | |
| <artifactId>jakarta.servlet-api</artifactId> | |
| </dependency> | |
| <!-- test --> | |
| <dependency> | |
| <groupId>org.apache.curator</groupId> | |
| <artifactId>curator-test</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.storm</groupId> | |
| <artifactId>storm-client</artifactId> | |
| <version>${project.version}</version> | |
| <type>test-jar</type> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.mockito</groupId> | |
| <artifactId>mockito-core</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.hamcrest</groupId> | |
| <artifactId>hamcrest</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.awaitility</groupId> | |
| <artifactId>awaitility</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>commons-io</groupId> | |
| <artifactId>commons-io</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-lang3</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.commons</groupId> | |
| <artifactId>commons-collections4</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>net.minidev</groupId> | |
| <artifactId>json-smart</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.yaml</groupId> | |
| <artifactId>snakeyaml</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.httpcomponents</groupId> | |
| <artifactId>httpclient</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.fasterxml.jackson.core</groupId> | |
| <artifactId>jackson-databind</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.junit.jupiter</groupId> | |
| <artifactId>junit-jupiter-params</artifactId> | |
| <scope>test</scope> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <sourceDirectory>src/main/java</sourceDirectory> | |
| <testSourceDirectory>src/test/java</testSourceDirectory> | |
| <resources> | |
| <resource> | |
| <directory>../</directory> | |
| <targetPath>META-INF</targetPath> | |
| <includes> | |
| <!-- | |
| storm-core doesn't package jquery, etc. so the stock | |
| apache LICENSE file is okay. We do want our version | |
| of the NOTICE file, however | |
| --> | |
| <include>NOTICE</include> | |
| </includes> | |
| </resource> | |
| <resource> | |
| <directory>${basedir}/src/main/resources</directory> | |
| </resource> | |
| </resources> | |
| <testResources> | |
| <testResource> | |
| <directory>src/test/resources</directory> | |
| </testResource> | |
| </testResources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <reuseForks>false</reuseForks> | |
| <forkCount>1</forkCount> | |
| <argLine>${storm-server.test.introspection.argLine} -Xmx3g -XX:+HeapDumpOnOutOfMemoryError</argLine> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-surefire-report-plugin</artifactId> | |
| <configuration> | |
| <reportsDirectories> | |
| <file>${project.build.directory}/test-reports</file> | |
| </reportsDirectories> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-failsafe-plugin</artifactId> | |
| <configuration> | |
| <reportsDirectory>${project.build.directory}/test-reports</reportsDirectory> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.openrewrite.maven</groupId> | |
| <artifactId>rewrite-maven-plugin</artifactId> | |
| <!--Note - the version/config would be inherited--> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.gmavenplus</groupId> | |
| <artifactId>gmavenplus-plugin</artifactId> | |
| <!--Note - the version/config would be inherited--> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-checkstyle-plugin</artifactId> | |
| <!--Note - the version would be inherited--> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-pmd-plugin</artifactId> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>attach-sources</id> | |
| <goals> | |
| <!-- avoid warning about recursion --> | |
| <goal>jar-no-fork</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>test-jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |