<commit_before><!--
  Copyright 2014-2016 CyberVision, Inc.
 
  Licensed 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.kaaproject.kaa.client</groupId>
        <version>0.10.0-SNAPSHOT</version>
        <artifactId>client-multi</artifactId>
    </parent>
    <artifactId>client-c</artifactId>
    <packaging>pom</packaging>

    <name>Kaa Client (C)</name>
    <url>http://kaaproject.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <main.dir>${basedir}/../../..</main.dir>

        <sonar.language>c++</sonar.language>
        <sonar.sources>${basedir}/src</sonar.sources>
        <sonar.cxx.defines>__cplusplus 1</sonar.cxx.defines>
        <sonar.cxx.suffixes.sources>.c</sonar.cxx.suffixes.sources>
        <sonar.cxx.suffixes.headers>.h</sonar.cxx.suffixes.headers>
        <sonar.cxx.valgrind.reportPath>build-posix/valgrindReports/*.memreport.xml</sonar.cxx.valgrind.reportPath>
        <sonar.cxx.includeDirectories>${basedir}/src,/usr/include/,/usr/include/linux/,/usr/lib/gcc/x86_64-linux-gnu/4.9/include/</sonar.cxx.includeDirectories>
        <sonar.cxx.coverage.reportPath>build-posix/gcovr-report.xml</sonar.cxx.coverage.reportPath>
        <sonar.cxx.other.reportPath>build-posix/*-Results.xml</sonar.cxx.other.reportPath>
        <sonar.cxx.xunit.xsltURL>cunit-to-junit.xsl</sonar.cxx.xunit.xsltURL>
        <sonar.cxx.cppcheck.reportPath>build-posix/cppcheck.xml</sonar.cxx.cppcheck.reportPath>
        <sonar.cxx.rats.reportPath>build-posix/rats-report.xml</sonar.cxx.rats.reportPath>
    </properties>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptors>
                        <descriptor>assembly/client-c-sdk.xml</descriptor>
                        <descriptor>assembly/client-c-sdk-templates.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.rat</groupId>
                <artifactId>apache-rat-plugin</artifactId>
                <version>${rat.version}</version>
                <configuration>
                    <excludes>
                        <exclude>**/.*</exclude>
                        <exclude>**/*.log</exclude>

                        <exclude>build-posix/gcovr-report.xml</exclude>

                        <exclude>src/kaa/platform-impl/esp8266/snprintf.c</exclude>

                        <exclude>gcovr</exclude>

                        <exclude>docs/</exclude>
                        <exclude>thirdparty/</exclude>
                        <exclude>nix/astyle/max_indent.patch</exclude>

                        <!-- Temporary build files -->
                        <exclude>build-*/</exclude>
                        <exclude>Makefile</exclude>
                        <exclude>Doxyfile</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>license</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.mycila.maven-license-plugin</groupId>
                        <artifactId>maven-license-plugin</artifactId>
                        <version>1.8.0</version>
                        <configuration>
                            <excludes>
                                <exclude>**/avro_src/**</exclude><commit_msg>KAA-635: Add generated file to rat excludes<commit_after><!--
  Copyright 2014-2016 CyberVision, Inc.
 
  Licensed 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.kaaproject.kaa.client</groupId>
        <version>0.10.0-SNAPSHOT</version>
        <artifactId>client-multi</artifactId>
    </parent>
    <artifactId>client-c</artifactId>
    <packaging>pom</packaging>

    <name>Kaa Client (C)</name>
    <url>http://kaaproject.org</url>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <main.dir>${basedir}/../../..</main.dir>

        <sonar.language>c++</sonar.language>
        <sonar.sources>${basedir}/src</sonar.sources>
        <sonar.cxx.defines>__cplusplus 1</sonar.cxx.defines>
        <sonar.cxx.suffixes.sources>.c</sonar.cxx.suffixes.sources>
        <sonar.cxx.suffixes.headers>.h</sonar.cxx.suffixes.headers>
        <sonar.cxx.valgrind.reportPath>build-posix/valgrindReports/*.memreport.xml</sonar.cxx.valgrind.reportPath>
        <sonar.cxx.includeDirectories>${basedir}/src,/usr/include/,/usr/include/linux/,/usr/lib/gcc/x86_64-linux-gnu/4.9/include/</sonar.cxx.includeDirectories>
        <sonar.cxx.coverage.reportPath>build-posix/gcovr-report.xml</sonar.cxx.coverage.reportPath>
        <sonar.cxx.other.reportPath>build-posix/*-Results.xml</sonar.cxx.other.reportPath>
        <sonar.cxx.xunit.xsltURL>cunit-to-junit.xsl</sonar.cxx.xunit.xsltURL>
        <sonar.cxx.cppcheck.reportPath>build-posix/cppcheck.xml</sonar.cxx.cppcheck.reportPath>
        <sonar.cxx.rats.reportPath>build-posix/rats-report.xml</sonar.cxx.rats.reportPath>
    </properties>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptors>
                        <descriptor>assembly/client-c-sdk.xml</descriptor>
                        <descriptor>assembly/client-c-sdk-templates.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.rat</groupId>
                <artifactId>apache-rat-plugin</artifactId>
                <version>${rat.version}</version>
                <configuration>
                    <excludes>
                        <exclude>**/.*</exclude>
                        <exclude>**/*.log</exclude>

                        <exclude>build-posix/gcovr-report.xml</exclude>

                        <exclude>src/kaa/platform-impl/esp8266/snprintf.c</exclude>

                        <exclude>gcovr</exclude>

                        <exclude>docs/</exclude>
                        <exclude>thirdparty/</exclude>
                        <exclude>nix/astyle/max_indent.patch</exclude>

                        <exclude>src/kaa/gen/kaa_keys_gen.h</exclude>
                        <!-- Temporary build files -->
                        <exclude>build-*/</exclude>
                        <exclude>Makefile</exclude>
                        <exclude>Doxyfile</exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>license</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.mycila.maven-license-plugin</groupId>
                        <artifactId>maven-license-plugin</artifactId>
                        <version>1.8.0</version>
                        <configuration>
                            <excludes>
                                <exclude>**/avro_src/**</exclude>
{'fraction_non_alphanumeric': 0.13305767599660728, 'fraction_numerical': 0.01049618320610687, 'mean_word_length': 1.6966838193253289, 'pattern_counts': {'":': 0, '<': 265, '<?xml version=': 0, '>': 265, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 20}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6522742', 'n_tokens_mistral': 2989, 'n_tokens_neox': 2694, 'n_words': 354}