| <?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. |
| --> |
| |
| <!-- |
| POM file. |
| --> |
| <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</groupId> |
| <artifactId>apache</artifactId> |
| <version>23</version> |
| <relativePath></relativePath> |
| </parent> |
| |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-parent</artifactId> |
| <version>1</version> |
| <packaging>pom</packaging> |
| |
| <description>Apache Ignite is a distributed database for high-performance computing with in-memory speed.</description> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| </license> |
| </licenses> |
| |
| <properties> |
| <maven.compiler.source>11</maven.compiler.source> |
| <maven.compiler.target>11</maven.compiler.target> |
| |
| <!-- Dependencies versions --> |
| <apache.ivy.version>2.5.0</apache.ivy.version> |
| <asm.framework.version>9.0</asm.framework.version> |
| <compile.testing.library.version>0.19</compile.testing.library.version> |
| <gson.version>2.8.6</gson.version> |
| <jackson.databind.version>2.11.1</jackson.databind.version> |
| <jansi.version>1.18</jansi.version> |
| <netty.version>4.1.60.Final</netty.version> |
| <javapoet.version>1.13.0</javapoet.version> |
| <javax.annotation.api.version>1.3.2</javax.annotation.api.version> |
| <javax.validation.version>2.0.1.Final</javax.validation.version> |
| <jetbrains.annotations.version>20.1.0</jetbrains.annotations.version> |
| <jmh.framework.version>1.13</jmh.framework.version> |
| <junit.jupiter.version>5.7.0</junit.jupiter.version> |
| <logback.version>1.2.3</logback.version> |
| <micronaut.version>2.1.2</micronaut.version> |
| <micronaut.test.junit5.version>2.3.1</micronaut.test.junit5.version> |
| <mockito.framework.version>3.4.6</mockito.framework.version> |
| <mockito.junit.jupiter.version>3.3.3</mockito.junit.jupiter.version> |
| <picocli.version>4.5.2</picocli.version> |
| <slf4j.version>1.7.30</slf4j.version> |
| <spoon.framework.version>8.4.0-beta-18</spoon.framework.version> |
| <typesafe.version>1.4.1</typesafe.version> |
| <hamcrest.version>2.2</hamcrest.version> |
| <scalecube.version>2.6.6</scalecube.version> |
| |
| <!-- Plugins versions --> |
| <apache.rat.plugin.version>0.13</apache.rat.plugin.version> |
| <checkstyle.puppycrawl.version>8.37</checkstyle.puppycrawl.version> |
| <launch.maven.plugin.version>1.7.25</launch.maven.plugin.version> |
| <maven.antrun.plugin.version>3.0.0</maven.antrun.plugin.version> |
| <maven.assembly.plugin.version>3.2.0</maven.assembly.plugin.version> |
| <maven.build-helper.plugin.version>3.2.0</maven.build-helper.plugin.version> |
| <maven.checkstyle.plugin.version>3.1.1</maven.checkstyle.plugin.version> |
| <maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version> |
| <maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version> |
| <maven.failsafe.plugin.version>3.0.0-M5</maven.failsafe.plugin.version> |
| <maven.flatten.plugin.version>1.2.2</maven.flatten.plugin.version> |
| <maven.javadoc.plugin.version>3.2.0</maven.javadoc.plugin.version> |
| <maven.pmd.plugin.version>3.14.0</maven.pmd.plugin.version> |
| <maven.source.plugin.version>3.2.1</maven.source.plugin.version> |
| <maven.surefire.plugin.version>3.0.0-M5</maven.surefire.plugin.version> |
| </properties> |
| |
| <distributionManagement> |
| <repository> |
| <id>apache.staging</id> |
| <name>Apache Staging Repository</name> |
| <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| </distributionManagement> |
| |
| <issueManagement> |
| <system>Jira</system> |
| <url>https://issues.apache.org/jira/projects/IGNITE/issues</url> |
| </issueManagement> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-affinity</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-baseline</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-bytecode</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-cli-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-configuration</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-configuration-annotation-processor</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-metastorage</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-metastorage-client</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-metastorage-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-metastorage-server</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-network</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-network-annotation-processor</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-network-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-raft</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-raft-client</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-rest</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-schema</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-table</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-vault</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-runner</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- 3rd party dependencies --> |
| <dependency> |
| <groupId>org.jetbrains</groupId> |
| <artifactId>annotations</artifactId> |
| <version>${jetbrains.annotations.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>${logback.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>${jackson.databind.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.ivy</groupId> |
| <artifactId>ivy</artifactId> |
| <version>${apache.ivy.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli-shell-jline3</artifactId> |
| <version>${picocli.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.micronaut</groupId> |
| <artifactId>micronaut-inject-java</artifactId> |
| <version>${micronaut.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.typesafe</groupId> |
| <artifactId>config</artifactId> |
| <version>${typesafe.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.fusesource.jansi</groupId> |
| <artifactId>jansi</artifactId> |
| <version>${jansi.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>info.picocli</groupId> |
| <artifactId>picocli</artifactId> |
| <version>${picocli.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.validation</groupId> |
| <artifactId>validation-api</artifactId> |
| <version>${javax.validation.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| <version>${javax.annotation.api.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.squareup</groupId> |
| <artifactId>javapoet</artifactId> |
| <version>${javapoet.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>${gson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-network</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <version>${junit.jupiter.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <version>${junit.jupiter.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-params</artifactId> |
| <version>${junit.jupiter.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.framework.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-junit-jupiter</artifactId> |
| <version>${mockito.junit.jupiter.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.micronaut.test</groupId> |
| <artifactId>micronaut-test-junit5</artifactId> |
| <version>${micronaut.test.junit5.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.testing.compile</groupId> |
| <artifactId>compile-testing</artifactId> |
| <version>${compile.testing.library.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>fr.inria.gforge.spoon</groupId> |
| <artifactId>spoon-core</artifactId> |
| <version>${spoon.framework.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>${hamcrest.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.scalecube</groupId> |
| <artifactId>scalecube-cluster</artifactId> |
| <version>${scalecube.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-core</artifactId> |
| <version>${jmh.framework.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm</artifactId> |
| <version>${asm.framework.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm-tree</artifactId> |
| <version>${asm.framework.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ow2.asm</groupId> |
| <artifactId>asm-util</artifactId> |
| <version>${asm.framework.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-common</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-buffer</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-codec</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-handler</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-codec-http</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <profiles> |
| |
| <!-- |
| Profile to exclude running surefire (unit) tests but do not prevent running integration ones |
| --> |
| <profile> |
| <activation> |
| <property> |
| <name>skip.surefire.tests</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skipTests>true</skipTests> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <!-- |
| Profile to exclude internal packages from Javadoc release build |
| --> |
| <profile> |
| <id>javadoc</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>timestamp-property</id> |
| <goals> |
| <goal>timestamp-property</goal> |
| </goals> |
| <phase>validate</phase> |
| <configuration> |
| <name>current.year</name> |
| <pattern>yyyy</pattern> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <excludePackageNames>org.apache.ignite.internal.*:org.apache.ignite.configuration.internal:org.apache.ignite.configuration.internal.*:org.apache.ignite.configuration.processor.internal:org.apache.ignite.network.internal:org.apache.ignite.network.internal.*</excludePackageNames> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven.compiler.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven.surefire.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>${maven.build-helper.plugin.version}</version> |
| </plugin> |
| |
| <!--plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven.source.plugin.version}</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin--> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>${maven.failsafe.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven.assembly.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${maven.antrun.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>${maven.deploy.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>com.akathist.maven.plugins.launch4j</groupId> |
| <artifactId>launch4j-maven-plugin</artifactId> |
| <version>${launch.maven.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>${apache.rat.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${maven.checkstyle.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>${maven.pmd.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven.javadoc.plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>flatten-maven-plugin</artifactId> |
| <version>${maven.flatten.plugin.version}</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <!-- |
| Plugin that adds integration test sources and resources from integrationTest directory. |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>add-test-source</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>add-test-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>src/integrationTest/java</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>add-test-resource</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>add-test-resource</goal> |
| </goals> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>src/integrationTest/resources</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- |
| Plugin for unit testing. |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/IT*.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <!-- |
| Plugin for integration testing. |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <useModulePath>false</useModulePath> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- |
| Plugin for flattening installed pom |
| --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>flatten-maven-plugin</artifactId> |
| |
| <executions> |
| <!-- enable flattening --> |
| <execution> |
| <id>flatten</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>flatten</goal> |
| </goals> |
| </execution> |
| |
| <!-- ensure proper cleanup before start --> |
| <execution> |
| <id>flatten.clean.before</id> |
| <phase>clean</phase> |
| <goals> |
| <goal>clean</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- |
| This plugin is used to check the code for coding guidelines |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <sourceDirectories> |
| <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> |
| </sourceDirectories> |
| <consoleOutput>true</consoleOutput> |
| <logViolationsToConsole>true</logViolationsToConsole> |
| <failsOnError>true</failsOnError> |
| <failOnViolation>true</failOnViolation> |
| <outputFile>${project.build.directory}/checkstyle.xml</outputFile> |
| <configLocation>${project.basedir}/check-rules/checkstyle-rules.xml</configLocation> |
| <suppressionsLocation>${project.basedir}/check-rules/checkstyle-suppressions.xml</suppressionsLocation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| <excludes>**/generated/**/*</excludes> |
| <excludes>**/com/facebook/presto/bytecode/**/*</excludes> <!-- Forked prestodb-bytecode code. --> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>${checkstyle.puppycrawl.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| <!-- |
| This plugin is used for checking that all files in project are compliant with target licenses headers. |
| Exclusions are possible, but every exclusion should have it's own motivated comment and/or issue key. |
| --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <addDefaultLicenseMatchers>true</addDefaultLicenseMatchers> |
| <licenses> |
| <license implementation="org.apache.rat.analysis.license.FullTextMatchingLicense"> |
| <licenseFamilyCategory>IAL20</licenseFamilyCategory> |
| <licenseFamilyName>Ignite Apache License 2.0</licenseFamilyName> |
| <fullText> |
| 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. |
| </fullText> |
| </license> |
| </licenses> |
| <licenseFamilies> |
| <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily"> |
| <familyName>Ignite Apache License 2.0</familyName> |
| </licenseFamily> |
| </licenseFamilies> |
| <excludeSubProjects>false</excludeSubProjects> |
| <excludes> |
| <exclude>**/target/**</exclude> <!-- All generated files --> |
| <exclude>**/*.md</exclude> <!-- Markdown files --> |
| <exclude>docs/assets/images/**</exclude> <!-- SVG images are XML files, but they cannot have license header --> |
| <exclude>docs/assets/js/anchor.min.js</exclude> <!-- Distributed under the MIT license. The original license header is badly formatted --> |
| <exclude>**/*.json</exclude> <!-- Files in JSON format --> |
| <exclude>modules/cli/src/**/resources//builtin_modules.conf</exclude> <!-- CLI configuration files --> |
| <exclude>modules/configuration-annotation-processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor</exclude> <!-- ? --> |
| <exclude>**/*.iml</exclude> <!-- IntelliJ IDEA project files --> |
| <exclude>modules/bytecode/src/main/java/com/facebook/presto/bytecode/ClassInfo.java</exclude> <!-- MIT license. --> |
| <exclude>modules/bytecode/src/main/java/com/facebook/presto/bytecode/ClassInfoLoader.java</exclude> <!-- MIT license. --> |
| <exclude>**/META-INF/services/**</exclude> <!-- Interface mappings: cannot be changed --> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <!-- |
| Plugin for static code analysis |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <configuration> |
| <aggregate>true</aggregate> |
| <rulesets> |
| <ruleset>${project.basedir}/check-rules/pmd-rules.xml</ruleset> |
| </rulesets> |
| </configuration> |
| </plugin> |
| |
| <!-- |
| Plugin to validate module javadoc |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <doctitle>Ignite ${project.version}</doctitle> |
| <windowtitle>Ignite ${project.version}</windowtitle> |
| <breakiterator>true</breakiterator> |
| <verbose>true</verbose> |
| <show>package</show> |
| <use>true</use> |
| <author>false</author> |
| <version>false</version> |
| <additionalJOptions>${javadoc.opts}</additionalJOptions> |
| <excludePackageNames>com.facebook.presto.*</excludePackageNames> |
| <sourcepath>src/main/java:target/generated-sources/annotations</sourcepath> |
| <links> |
| <link>https://ignite.apache.org/releases/latest/javadoc/</link> |
| </links> |
| <tags> |
| <tag> |
| <name>apiNote</name> |
| <placement>a</placement> |
| <head>API Note:</head> |
| </tag> |
| <tag> |
| <name>implSpec</name> |
| <placement>a</placement> |
| <head>Implementation Requirements:</head> |
| </tag> |
| <tag> |
| <name>implNote</name> |
| <placement>a</placement> |
| <head>Implementation Note:</head> |
| </tag> |
| </tags> |
| <bottom> |
| <![CDATA[ |
| <table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> |
| <tr> |
| <td> |
| <table style="padding-left: 0; margin: 0"> |
| <tbody style="padding: 0; margin: 0"> |
| <tr style="padding: 0; margin: 0"> |
| <td> |
| <a target=_blank href="https://ignite.apache.org"><nobr>${current.year} Copyright © Apache Software Foundation</nobr></a> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| <td width="100%" align="right" valign="center"> |
| <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> |
| </td> |
| </tr> |
| <tr> |
| <td colspan="2" valign="top" align="left"> |
| <table style="padding-left: 0; margin: 0"> |
| <tbody style="padding: 0; margin: 0"> |
| <tr style="padding: 0; margin: 0"> |
| <td> |
| <b>Ignite Database and Caching Platform</b> |
| </td> |
| <td>: |
| ver. <strong>${project.version}</strong> |
| </td> |
| </tr> |
| <tr style="padding: 0; margin: 0"> |
| <td> |
| <b>Release Date</b> |
| </td> |
| <td>: |
| ${maven.build.timestamp} |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </table> |
| ]]> |
| </bottom> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |