You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2021/03/15 10:07:12 UTC

[ignite-3] 01/01: Merge branch 'main' of https://gitbox.apache.org/repos/asf/ignite-3 into ignite-14315

This is an automated email from the ASF dual-hosted git repository.

agoncharuk pushed a commit to branch ignite-14315
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 51c946db74d9eada278ecd992b77b50410b877f8
Merge: c14637b 4afdbb3
Author: Alexey Goncharuk <al...@gmail.com>
AuthorDate: Mon Mar 15 13:06:53 2021 +0300

    Merge branch 'main' of https://gitbox.apache.org/repos/asf/ignite-3 into ignite-14315

 DEVNOTES.md    | 164 ++++++++++++++++++++++++++++++++-------------------------
 parent/pom.xml |   1 +
 2 files changed, 93 insertions(+), 72 deletions(-)

diff --cc parent/pom.xml
index 925ed4b,3af2fbf..dc55047
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@@ -433,127 -437,6 +433,128 @@@
                      </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>
 +                </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 -->
 +                    </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>
          </plugins>
      </build>
  </project>