| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.ignite</groupId> |
| <artifactId>ignite-parent</artifactId> |
| <version>1</version> |
| <relativePath>parent</relativePath> |
| </parent> |
| |
| <artifactId>apache-ignite</artifactId> |
| <version>3.0.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| |
| <modules> |
| <module>modules/cli</module> |
| <module>modules/cli-common</module> |
| <module>modules/configuration</module> |
| <module>modules/configuration-annotation-processor</module> |
| <module>modules/ignite-runner</module> |
| </modules> |
| |
| <build> |
| <plugins> |
| <!-- |
| This plugin is used for checking that all files in project are compliant with target licenses headers. |
| Exlusions 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> <!-- ? --> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <!-- |
| This plugin is used to check the code for coding guidelines |
| --> |
| <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> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>${checkstyle.puppycrawl.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |